正在加载视频...

视频加载失败

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 次观看 • 3 年前 •via X (Twitter)

17 条评论

mike douges 的头像
mike douges3 年前

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 的头像
Studs Mcfrenzy3 年前

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

mike douges 的头像
mike douges3 年前

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

Studs Mcfrenzy 的头像
Studs Mcfrenzy3 年前

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

mike douges 的头像
mike douges3 年前

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

Studs Mcfrenzy 的头像
Studs Mcfrenzy3 年前

@itsdouges

mike douges 的头像
mike douges3 年前

Thanks! Appreciate it

Studs Mcfrenzy 的头像
Studs Mcfrenzy3 年前

@itsdouges I'm happy to help!

Jonathan Chemla 的头像
Jonathan Chemla3 年前

@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 的头像
mike douges3 年前

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

Jonathan Chemla 的头像
Jonathan Chemla3 年前

@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 的头像
Jonathan Chemla3 年前

@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 的头像
mike douges3 年前

@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 的头像
Jonathan Chemla3 年前

@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 的头像
mike douges3 年前

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

Jonathan Chemla 的头像
Jonathan Chemla3 年前

@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 黃樂) 的头像
LokLok (Wong Lok 黃樂)3 年前

@itsdouges LOVE IT!!!!!

相关视频