Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Unable to load a 3DS or .obj model

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

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 941 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sunil.nair
    wrote on 10 Feb 2015, 11:29 last edited by
    #1

    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?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sunil.nair
      wrote on 10 Feb 2015, 12:44 last edited by
      #2

      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.

      1 Reply Last reply
      0

      2/2

      10 Feb 2015, 12:44

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved