We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

“Scene” reference with merging non puzzles scene into a puzzles scene?

Home Forums Programming “Scene” reference with merging non puzzles scene into a puzzles scene?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #33365
    GlifTekGlifTek
    Licensee

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

    #33387
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi,

    Maybe app.scene is what you’re looking for?

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #33389
    GlifTekGlifTek
    Licensee

    Hi,
    Maybe app.scene is what you’re looking for?

    yeah got that working earlier thanks.

    #33396
    Yuri KovelenovYuri Kovelenov
    Developer

    :good:

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #33415
    GlifTekGlifTek
    Licensee

    :good:

    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.. :yes:

    • This reply was modified 3 weeks, 3 days ago by GlifTekGlifTek.
    #33437
    Yuri KovelenovYuri Kovelenov
    Developer

    no problem! :)

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.