Playing around with some 3D stuff and it’d be neat to be able to access a scene created by the 3D Module, instead of setting up all the boilerplate stuff from scratch.
Wouldn’t mind too much doing it by hand but before I go all in, maybe there is a way to access and manipulate them in a similar way that we can access bricks splide instances?
Can’t wait, and maybe, if I don’t (once again) get sidetracked tinkering with other stuff, I’ll try to set up a cool example with it so we can finally put something in the empty examples section of the docs
One more question though… when I log bricksforgeData in the console, all is fine. Once I do it on the page or by enqueuing a script, it’s not defined. I tried loading it after “bricksforge-three-js-js” but no success.
as soon as I add any of the bricksforge scripts as a dependancy, my file doesn’t load at all. Feeling stupid rn haha I’m sure I’m overlooking something. Just kinda stumped cause it loads if I use some native bricks script as a dependancy.
So i’ve been playing around with this a bit but threejs in general gives me headaches haha so for now it’ll be eassier for me to build this stuff in react where I don’t have to fight WordPress all the time.
Nevertheless, I figured I could share some ideas to be considered over the next 10 versions or so since I know it’s a pita to implement haha.
I guess only few people would need this so I’d completely understand if this kinda stuff never even makes it onto the roadmap haha, just kinda thinking out loud
Have an option to use the camera from the gltf file (exported from blender or whatever)