[SOLVED] Unable to load a 3DS or .obj model



  • Hi,

    I used the following link to load a 3d model in QT: http://qt-project.org/wiki/Loading-a-3D-Model

    QVector3D *cursor_pos= new QVector3D(0.9,0.4,1);//translated cube* incorporate the effects
    cursor_scene=QGLAbstractScene::loadScene(":/hand_02.obj");
    cursor_rootNode=cursor_scene->mainNode();
    cursor_rootNode->setPosition(*cursor_pos);
    

    This code compiles but I cannot see the 3D model. ALso, when I try to load a hand.3DS file, I get a syntax
    Asset importer error: Chunk is too large

    What should I do?



  • I got the issue. My near plane and far plane were very close so my hand model was not visible in my scene. I set the planes far apart and looked around to get the view.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.