Загрузка видео...

Не удалось загрузить видео

На главную

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!!!!!

Похожие видео