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.

nikolstrek

Forum Replies Created

Viewing 12 posts - 16 through 27 (of 27 total)
  • Author
    Posts
  • in reply to: Loading glTF Scene #1895
    nikolstrek
    Customer

    It works fine. But i need to control “scene” and “camera” modules, and i dont’t know how can i get them in Player. Help me please! :)

    in reply to: Loading glTF Scene #1888
    nikolstrek
    Customer

    It doesn’t print errors.

    I choose this way, because i use the “pointerlock.js” for first person controlls.
    How can i get the scene.camera if i exported scene from blender, like in the “external_call” example, i try this method in “Run your code here” but was occur an error.

    in reply to: Loading gLTF material #1582
    nikolstrek
    Customer

    Thank you, Yuri. I will try it.

    in reply to: Loading gLTF material #1580
    nikolstrek
    Customer

    No :)

    in reply to: Loading gLTF material #1546
    nikolstrek
    Customer

    I was edited the “Ring” scene and delete UVs from Geometry node and set up the Normal output to the Texture, so i think this material don’t depend from UV.

    in reply to: Loading gLTF material #1544
    nikolstrek
    Customer

    Here the console.log code, “Un” it’s undefined i guess.

    Un {uuid: “A0EFAA9B-97C4-4E01-AC28-92EE7EAD1B2C”, name: “silver_material”, type: “MeshNodeMaterial”, fog: false, lights: true, …}
    additionalNodeGraphs
    :
    {}

    in reply to: Loading gLTF material #1521
    nikolstrek
    Customer

    Hi. Yes, this method returns object. I’ll placed a code here tomorrow morning. :)

    in reply to: Loading gLTF material #1502
    nikolstrek
    Customer

    Thank you Will, but if i going to upload or create a 3d object in the scene (with .stl loader for example)
    How can I apply this blender3d material for him ? :scratch:

    in reply to: Loading gLTF material #1468
    nikolstrek
    Customer

    And hello again ! :)
    I try to apply a material from the ring to a torus

    var geometry = new v3d.TorusGeometry( 10, 3, 16, 100 );
    var mat = v3d.SceneUtils.getMaterialByName(v3dApp, “gold_material”);
    var torus = new v3d.Mesh( geometry, mat );
    v3dApp.scene.add( torus );

    but something goes wrong and we see a black material…

    in reply to: Loading gLTF material #1466
    nikolstrek
    Customer

    Thank you Yuri.

    in reply to: Loading gLTF material #1459
    nikolstrek
    Customer

    It seems understood. I need to apply the material to the hidden object in Blender and then change it to a loaded obj in the scene. Like in b4w )), but how can I find the requared material in a scene ? Is there a method like scene.getMaterialByName ?

    in reply to: Loading gLTF material #1457
    nikolstrek
    Customer

    Thanks Friends. I will look at the materials library.
    But the thing that I’m trying to achieve is to apply the material created in Blender to the imported in v3d 3D model (.obj or .stl), without writing shaders.
    Is it possible with the materials library or anything else? :)

Viewing 12 posts - 16 through 27 (of 27 total)