- 2020-09-25 at 1:06 pm #33365
So i want to bring a project i have customized from an example JS file (clipping planes)
into a blender-based puzzles project.
thing is, I need to know what the blender gltf “scene” is and how to reference it.
i’d give it a name, but i don’t know where to look.
sceneURL in myApp.js??
it’s like what comes first the chicken or the egg?
i’ve got the scene = new scene from the example, but i don’t want 2 scenes i want the example code fully in a new blender puzzles project.
tried bringing it all into the exec text window, just need that scene reference i believe.2020-09-26 at 4:50 am #333872020-09-26 at 5:26 am #33389
app.sceneis what you’re looking for?
yeah got that working earlier thanks.2020-09-26 at 8:29 am #333962020-09-26 at 3:59 pm #33415
Is the app convention for the renderer that the standard puzzles app set up referred to as app.renderer? Or app.scene.renderer?
EDIT:… ah i’m reading up on the App() class now.
should have learned more about this earlier lol..
2020-09-27 at 9:10 am #33437
- This reply was modified 3 weeks, 3 days ago by GlifTek.
- You must be logged in to reply to this topic.