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.

GLTF doesn’t show mesh but Sneak Peek does

Home Forums Graphics / Blender GLTF doesn’t show mesh but Sneak Peek does

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #70012
    ma77hew
    Participant

    Hello, I am viewing my scene with Sneak Peek and everything displays:

    But when I export it to the GLTF, it doesn’t:

    What am I doing wrong?

    #70013
    xeon
    Customer

    in your puzzle editor you are going to want to set the camera you are wanting to use and its target position (where to look). This should be some of your initial startup puzzles.

    set active camera – puzzle
    camera look at – puzzle

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #70014
    ma77hew
    Participant

    I understand, however where is my room? And all of the geometry… It’s gone

    #70015
    xeon
    Customer

    I would start by checking your normals making sure they all point outwards.
    If they are all pointing in the right direction, I would make sure your materials are loading.
    Lots of guessing with what I have to work with but these seem like a potential.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #70016
    ma77hew
    Participant

    Thats what I thought as well, so I recalculated normals inside (we are inside a room so thats what made sense to me).

    Will try again

    #70017
    xeon
    Customer

    if your walls are not solids and just faces…I would recommend going into Viewport Shading mode and turning on Face Orientation found in the Viewport Overlays. Anything blue will be rendered…anything red from your camera view will not. Your room is basically a box and recaluclating the normals for the box will place the normals facing outward and you need your facing inwards…..try flipping some normals on your walls instead of recalculting.

    • This reply was modified 10 months, 3 weeks ago by xeon.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #70025
    kdv
    Participant

    Press F12 and see the console log.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #70037
    ma77hew
    Participant

    Hmmm I tried checking the face orientation and they were in fact all red… flipped them, made them blue but no luck.

    Also, here is some of what I see in the console.

    #70038
    kdv
    Participant

    Update v3d.js in the app’s folder to the latest version. Or don’t use Blender 4.0.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #70039
    ma77hew
    Participant

    Downloaded v4.5.1. replaced the v3d.js file inside the app directory… The problem persists. Still see error in the console.

    #70040
    kdv
    Participant

    You’re definitely doing something wrong…

    Given you can see your scene in Sneak Peek means that you have the latest Verge3D installed. But in the app’s folder you didn’t updated v3d.js. That’s why you have shader errors. Only the latest v3d.js supports Blender 4.0. See the version of Verge3D in the console log (at the very begining, before errors).

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #70055
    ma77hew
    Participant

    Well, this is what I see in my Blender add-ons under preferences.

    However, you are right that when I open the console, I see Verge 4.4.0. I am not sure what I am doing wrong, as I replaced the javascript file as you instructed.

    #70056
    kdv
    Participant

    Read the manual
    https://www.soft8soft.com/docs/manual/en/introduction/Updating.html#update_applications

    P.S. do not update .html/.css and user .js files. Update v3d.js only.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #70057
    ma77hew
    Participant

    That’s exactly what I did. The info dialog shows me I’m running on Verge3D Version: 4.5.1. But yeah the console shows 4.4.0.

    #70058
    kdv
    Participant

    Roll back to Blender 3.6.5 if you can’t figure out how to update your app…

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

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