Results 1 to 3 of 3

Thread: Rendering depth map

  1. #1
    Join Date
    Aug 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Rendering depth map

    Hi everybody,
    I have a huge problem to resolve asap. It's two weeks that I'm trying to load a 3D model and display the relative depth map using Qt3D/QtQuick3D in C++ . I need the depth map to use it later on my code. Until now, from the few tutorials that I've found I can load and display the 3D model from a 3ds or obj file. But I'm not able to render their relative depth map. Is there anybody with a code example? or a code example from any other library?
    Thank you a lot for your help.

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Rendering depth map

    Did you try to render in using OGL? Qt doesn't provide some special rendering methods, it just provides convenient wrappers on top of standard OGL/ES.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  3. #3
    Join Date
    Aug 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Rendering depth map

    Quote Originally Posted by spirit View Post
    Did you try to render in using OGL? Qt doesn't provide some special rendering methods, it just provides convenient wrappers on top of standard OGL/ES.
    Thank you for your reply.
    I had looking for some code in OpenGL but it seems so complicated to me(I'm a newbie) and unfortunately I have no time to learn OpenGL. I hoped that Qt provided some rendering methods through Qt3D. Could you please show me how to render depth map using OPENGL? do you have some example code? thank you again.

Similar Threads

  1. Replies: 8
    Last Post: 7th November 2012, 20:20
  2. Qwidget Depth
    By augusbas in forum Qt Programming
    Replies: 7
    Last Post: 1st July 2011, 08:01
  3. Qpixmap of 32 bit Depth
    By augusbas in forum Qt Programming
    Replies: 4
    Last Post: 19th May 2011, 13:03
  4. Image 32 bit depth to 8 bit depth
    By ^NyAw^ in forum Qt Programming
    Replies: 2
    Last Post: 2nd September 2008, 10:35
  5. depth of QTreeWidgetItem
    By stefan in forum Newbie
    Replies: 3
    Last Post: 29th June 2008, 12:58

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.