Loading video...

Video Failed to Load

Go Home

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 views • 3 years ago •via X (Twitter)

17 Comments

mike douges's profile picture
mike douges3 years ago

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

Studs Mcfrenzy's profile picture
Studs Mcfrenzy3 years ago

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

mike douges's profile picture
mike douges3 years ago

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

Studs Mcfrenzy's profile picture
Studs Mcfrenzy3 years ago

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

mike douges's profile picture
mike douges3 years ago

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

Studs Mcfrenzy's profile picture
Studs Mcfrenzy3 years ago

@itsdouges

mike douges's profile picture
mike douges3 years ago

Thanks! Appreciate it

Studs Mcfrenzy's profile picture
Studs Mcfrenzy3 years ago

@itsdouges I'm happy to help!

Jonathan Chemla's profile picture
Jonathan Chemla3 years ago

@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

mike douges's profile picture
mike douges3 years ago

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

Jonathan Chemla's profile picture
Jonathan Chemla3 years ago

@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

Jonathan Chemla's profile picture
Jonathan Chemla3 years ago

@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

mike douges's profile picture
mike douges3 years ago

@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.

Jonathan Chemla's profile picture
Jonathan Chemla3 years ago

@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?

mike douges's profile picture
mike douges3 years ago

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

Jonathan Chemla's profile picture
Jonathan Chemla3 years ago

@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.

LokLok (Wong Lok 黃樂)'s profile picture
LokLok (Wong Lok 黃樂)3 years ago

@itsdouges LOVE IT!!!!!

Related Videos