Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

0.54.0 has been released! Highlights include: 🧊 Light and camera helpers 🎥 Switch between perspective and orthographic camera modes 📹 View cameras defined in your components Check out the video below, sound on! #threejs #webgamedev #r3f #react

53,311 Aufrufe • vor 3 Jahren •via X (Twitter)

17 Kommentare

Profilbild von mike douges
mike dougesvor 3 Jahren

Triplex is a visual editor for React Three Fiber and your code is the source of truth — edit the scene and your code is updated. ❤️ Sponsor development ⭐️ Star the repository 🎧 Join the Discord community

Profilbild von Studs Mcfrenzy
Studs Mcfrenzyvor 3 Jahren

@itsdouges I'm excited about this app. Are there plans to add drag/drop and expand/collapse to the scene panel?

Profilbild von mike douges
mike dougesvor 3 Jahren

To elaborate yes for drag and drop reorder. For expand collapse what are you thinking?

Profilbild von Studs Mcfrenzy
Studs Mcfrenzyvor 3 Jahren

@itsdouges For bigger scenes, it might be handy to collapse a group, for instance, to save space.

Profilbild von mike douges
mike dougesvor 3 Jahren

Agreeed! Would you like to make an issue on Github so we can track it? 🙏

Profilbild von Studs Mcfrenzy
Studs Mcfrenzyvor 3 Jahren

@itsdouges

Profilbild von mike douges
mike dougesvor 3 Jahren

Thanks! Appreciate it

Profilbild von Studs Mcfrenzy
Studs Mcfrenzyvor 3 Jahren

@itsdouges I'm happy to help!

Profilbild von Jonathan Chemla
Jonathan Chemlavor 3 Jahren

@itsdouges Would be great to be able to filter by string, either object/material properties (in right sidepanel) or scene objects names (left panel) - like in @Blender Start typing opacity and only props with that string within their name would be filtered and appear - same for object etc

Profilbild von mike douges
mike dougesvor 3 Jahren

@Blender Agreed! There's an issue for that Jump in with any extra context if you have some

Profilbild von Jonathan Chemla
Jonathan Chemlavor 3 Jahren

@itsdouges @Blender Great, did not check the repo, impressive momentum you create around your project, great features list and implementation speed! Note:I tried to set the side property of my MeshStandardMaterial to true, but the select dropdown offers no options at all, same for a few other props

Profilbild von Jonathan Chemla
Jonathan Chemlavor 3 Jahren

@itsdouges @Blender Setting <meshStandardMaterial side={THREE.DoubleSide} /> in scene.tsx source then shows a warning 'prop is controlled by code' in the sidepanel but won't be used in the viewer

Profilbild von mike douges
mike dougesvor 3 Jahren

@Blender That's probably something we can handle explicitly, can you raise an issue? There will be a ton of those kinds of edge cases that we can chew on.

Profilbild von Jonathan Chemla
Jonathan Chemlavor 3 Jahren

@itsdouges @Blender Alright will do! Quick question, I imagine you autopopulate material props right? Could we imagine doing the same for property values? With ts types etc it should be feasible without requiring manually pairing dropdowns values to threejs constants, is that right?

Profilbild von mike douges
mike dougesvor 3 Jahren

@Blender To some degree yes. That’s what happens with literal types unions already!

Profilbild von Jonathan Chemla
Jonathan Chemlavor 3 Jahren

@itsdouges @Blender Yes just had a look at triplex source and probably that a new type union has to be added, eg ThreeTypes, and useLazySubscription from @triplex/ws-client has to be edited to account for any threejs property type - repo is not open for that module.

Profilbild von LokLok (Wong Lok 黃樂)
LokLok (Wong Lok 黃樂)vor 3 Jahren

@itsdouges LOVE IT!!!!!

Ähnliche Videos