Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: 3D models and textures loading

  1. #1
    Newbie Newbie
    Join Date
    Apr 2014
    Posts
    1

    Question 3D models and textures loading

    Hello everyone. I just have started learning OpenGL, and i have a problem. I am reading OpenGL SuperBible, i have all sample code, models, textures and other stuff from that book. I just have reached topic about textures, models and everything is okay, but models in samples are in "SBM" format, and textures are in "KTX". All i want to load models in other format(obj,3ds), and load textures in png or other popular format. How i can do it? Please, give me some code or something. Thanks for help!
    I have downloaded all samples from here: openglsuperbible.com
    P.S. I am programming with C++
    Last edited by Doubstract; 04-15-2014 at 10:41 AM.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,117
    try this for loading textures and this for obj's - remember Google is your friend

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •