If you modeling 3D scenes in 3ds Max and want to import it in game engine such as Three.js, Unity and Unreal Engine,
we can export it using the Alin glTF Exporter for 3ds Max. Here is the steps of how to export glTF files from 3ds Max.

Export glTF from 3ds Max

1) In the main menu click File -> Export or Export Selected …
age step1
2) Choose Alin exporter then select gltf or glb format and then select your export folder
age step1
3) After you click the “Save” button the configuration dialog will appear.
age

The exporter will generate an .gltf file and optionally an .bin file.
.gltf file is a json file used to store scene nodes, elements types, buffer views, etc.
.bin file is used to store all binary data for meshes and animations, etc.

glTF file format

A simple gltf file can be defined with the scene structure contains a single node:

{
    "nodes": [
        {
            "name": "singleNode",
            "matrix": [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]
        }
    ],
    "scenes": [
        {
            "name": "singleScene",
            "nodes": [0]
        }
    ],
    "scene": 0
}

Lights

glTF use extensions to define lights, the KHR_lights_punctual extension can define three light types: directional, point and spot.
These lights are referenced by nodes and inherit the transform of that node.

"nodes" : [
    {
        "extensions" : {
            "KHR_lights_punctual" : {
                "light" : 0
            }
        }
    }            
],
"extensions": {
    "KHR_lights_punctual" : {
        "lights": [
            {
                "color": [0.5, 0.5, 0.5],
                "type": "directional"
            }
        ]
    }
}
2023-05-03 3 comments

Comments

  1. avenue says:

    In it something is. I thank for the information.

  2. XeN says:

    What about import

  3. online pharmacies canada says:

    Thanks for your personal marvelous posting! I certainly enjoyed reading it, you may be a great author. I will be sure to bookmark your blog and will come back later in life. I want to encourage yourself to continue your great work, have a nice day!

    Leave a Reply

    Your email address will not be published. Required fields are marked *