GithubHelp home page GithubHelp logo

Comments (3)

 avatar commented on June 26, 2024

This is the G3DJ file content:

{                                                                               
    "version": [  0,   1],                                                      
    "id": "",                                                                   
    "meshes": [                                                                 
        {                                                                       
            "attributes": ["POSITION", "NORMAL"],                               
            "vertices": [                                                       
                -1.000000, -1.000000, -1.000000,  0.000000,  0.000000, -1.000000,
                 1.000000,  1.000000, -1.000000,  0.000000,  0.000000, -1.000000,
                 1.000000, -1.000000, -1.000000,  0.000000,  0.000000, -1.000000,
                -1.000000,  1.000000, -1.000000,  0.000000,  0.000000, -1.000000,
                -1.000000,  1.000000,  1.000000,  0.000000,  0.000000,  1.000000,
                -1.000000, -1.000000,  1.000000,  0.000000,  0.000000,  1.000000,
                 1.000000,  0.999999,  1.000000,  0.000000,  0.000000,  1.000000,
                 0.999999, -1.000001,  1.000000,  0.000000,  0.000000,  1.000000,
                 1.000000,  0.999999,  1.000000,  1.000000, -0.000000,  0.000000,
                 1.000000, -1.000000, -1.000000,  1.000000, -0.000000,  0.000000,
                 1.000000,  1.000000, -1.000000,  1.000000, -0.000000,  0.000000,
                 0.999999, -1.000001,  1.000000,  1.000000, -0.000000,  0.000000,
                 0.999999, -1.000001,  1.000000, -0.000000, -1.000000, -0.000000,
                -1.000000, -1.000000, -1.000000, -0.000000, -1.000000, -0.000000,
                 1.000000, -1.000000, -1.000000, -0.000000, -1.000000, -0.000000,
                -1.000000, -1.000000,  1.000000, -0.000000, -1.000000, -0.000000,
                -1.000000,  1.000000,  1.000000, -1.000000,  0.000000, -0.000000,
                -1.000000, -1.000000, -1.000000, -1.000000,  0.000000, -0.000000,
                -1.000000, -1.000000,  1.000000, -1.000000,  0.000000, -0.000000,
                -1.000000,  1.000000, -1.000000, -1.000000,  0.000000, -0.000000,
                -1.000000,  1.000000,  1.000000,  0.000000,  1.000000,  0.000000,
                 1.000000,  0.999999,  1.000000,  0.000000,  1.000000,  0.000000,
                -1.000000,  1.000000, -1.000000,  0.000000,  1.000000,  0.000000,
                 1.000000,  1.000000, -1.000000,  0.000000,  1.000000,  0.000000
            ],                                                                  
            "parts": [                                                          
                {                                                               
                    "id": "shape1_part1",                                       
                    "type": "TRIANGLES",                                        
                    "indices": [                                                
                          0,   1,   2,   1,   0,   3,   4,   5,   6,   6,   5,   7,
                          8,   9,  10,   9,   8,  11,  12,  13,  14,  13,  12,  15,
                         16,  17,  18,  17,  16,  19,  20,  21,  22,  21,  23,  22
                    ]                                                           
                }                                                               
            ]                                                                   
        }                                                                       
    ],                                                                          
    "materials": [                                                              
        {                                                                       
            "id": "Material",                                                   
            "ambient": [ 1.000000,  1.000000,  1.000000],                       
            "diffuse": [ 0.800000,  0.800000,  0.800000],                       
            "emissive": [ 0.800000,  0.800000,  0.800000],                      
            "opacity":  1.000000                                                
        }                                                                       
    ],                                                                          
    "nodes": [                                                                  
        {                                                                       
            "id": "Cube",                                                       
            "rotation": [-0.707107,  0.000000,  0.000000,  0.707107],           
            "parts": [                                                          
                {                                                               
                    "meshpartid": "shape1_part1",                               
                    "materialid": "Material"                                    
                }                                                               
            ]                                                                   
        }                                                                       
    ],                                                                          
    "animations": [                                                             
        {                                                                       
            "id": "Default Take",                                               
            "bones": []                                                         
        }                                                                       
    ]                                                                           
}

from fbx-conv.

xoppa avatar xoppa commented on June 26, 2024

This is an issue tracker, please use the forums or irc to get help using the api. See https://github.com/libgdx/libgdx/wiki/Getting-help.
Btw: you can't load G3DB/G3DJ files using ObjLoader.

from fbx-conv.

 avatar commented on June 26, 2024

Thank you.

from fbx-conv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.