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 10 of 10

Thread: displaying a Wavefront .obj File + material & textures

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2013
    Posts
    6

    displaying a Wavefront .obj File + material & textures

    I really don't know how i can do it because i'm new in programming with OpenGL. But i want to display the Objects i downloaded from a website.
    The Objects i downloaded contains 6 different types:
    1 wavefront .obj which i already can load
    1 .mtl which i can load too
    many .png texture files which i have too convert to .tga but can load too
    and then the 3 endings i have problems with:
    .dae .smd & .psk

    does anybody of you know a loader who supports this?

    if not maybe you can give me an example how to load any object from this page: models-resource.com/wii_gamecube/pokepark2/index.html

    and i JUST want to LOAD them i don't want to animate it or make actions with it i just want to display them and maybe rotate them

    thanks for your help

    PS: please excuse my bad english but... i think this is an english forum... but i'm german and my english is like you can see not the best^^ so please feel free to answer me in german *_*

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,104

  3. #3
    Junior Member Newbie
    Join Date
    Jan 2013
    Posts
    6
    i used google already but i only fount trash^^ this links you show me do they support the missing formats?

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,104
    Have a look at the third link it does the most but you probably won't find one open source system that does everything. You will need to mix and match.

  5. #5
    Junior Member Newbie
    Join Date
    Jan 2013
    Posts
    6
    and i really don't want to annoy you i think this assimp is nearly the thing i was looking for except it don't supports the .psk format but i think this is the skelletton format so i don't need it... but maybe you can write me a code where you display a random one from the website i gave before: models-resource.com/wii_gamecube/pokepark2/index.html
    I don't care what object you load but without an example i can't do anything with that assimp^^
    I'm really sorry

  6. #6
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,104
    Read our FAQ - we don't write code for people - we help answer questions when your code doesn't work - sorry

  7. #7
    Junior Member Newbie
    Join Date
    Jan 2013
    Posts
    6
    nams... ... i have to guess but i think whatever you have wrote is NOT english or german...

    tonyo:
    okay then... maybe... is there some help given to this assimp? because i installed it and... it's just a ready program. The graphics are shown for sure but ... how can i implement these graphics in MY code? is there a help given? or do i have to include some header files? ^^ please give me some help you can give without acting against the FAQ

Posting Permissions

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