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

  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,107

  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,107
    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,107
    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

  8. #8
    Intern Newbie
    Join Date
    Nov 2002
    Posts
    37
    On the Assimp site,there's a viewer available,but I don't know if the source is avallable.
    If not this site would be useful:
    http://ogldev.atspace.co.uk/index.html

    Bye
    Claude

  9. #9
    Junior Member Newbie
    Join Date
    Jan 2013
    Posts
    6
    I'll look at it soon very very thank you *_*
    i hope it works^^ it can't be this difficult to display Object files which where exported from a Wii console^^
    i think this is what an emulator does !!

  10. #10
    Junior Member Newbie
    Join Date
    Jan 2013
    Posts
    6
    Okay sorry for the late answer ^^ i was a little busy

    please i really need help with assimp it's impossible to use any example source code it says always:
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cp pCommon.targets(134,5): error MSB3073: Der Befehl "copy "Release\SimpleOpenGL.exe" ..\bin
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cp pCommon.targets(134,5): error MSB3073: copy ..\..\bin\assimp_release-dll_Win32\Assimp32.dll ..\bin
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cp pCommon.targets(134,5): error MSB3073:
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cp pCommon.targets(134,5): error MSB3073: :VCEnd" wurde mit dem Code 1 beendet.

    what can i do?
    it can't be that difficult to import this damn 3D Object files
    please help

Posting Permissions

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