Displaying .obj's

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Displaying .obj's

kdub259
Im fairly new to JOGL and i have a small problem with a program i am working on. The program should read in a .obj file and display it. Atm i can read and display a basic cube or pyramid. However, when i try to load a teapot .obj file the outcome is as follows:

http://img72.imageshack.us/img72/5268/teapotk.jpg

ANY help would be great. I know it might be difficult without code, but maybe someone could see a mistake in my logic. I can post code if required, although im not exactly sure how. If you need me to explain how i read the .obj file and how i store the faces and vertices please let me know.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Displaying .obj's

Sven Gothel
Administrator
On Tuesday, December 14, 2010 15:09:21 kdub259 [via jogamp] wrote:
>
> Im fairly new to JOGL and i have a small problem with a program i am working on. The program should read in a .obj file and display it. Atm i can read and display a basic cube or pyramid. However, when i try to load a teapot .obj file the outcome is as follows:
>
> http://img72.imageshack.us/img72/5268/teapotk.jpg
>
> ANY help would be great. I know it might be difficult without code, but maybe someone could see a mistake in my logic. I can post code if required, although im not exactly sure how. If you need me to explain how i read the .obj file and how i store the faces and vertices please let me know.
>

I am sure sombody answered this a while ago, Dominik I guess ..

Check this forums emails..

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Displaying .obj's

kdub259
Thanks for the quick reply!

I did scan through the topics (as i dont want to waste peoples time!) but i didnt come across anything that looked related to my problem :(

Can you remember the title of the thread by any chance?
Reply | Threaded
Open this post in threaded view
|

Re: Displaying .obj's

Sven Gothel
Administrator
On Tuesday, December 14, 2010 15:55:37 kdub259 [via jogamp] wrote:
>
> Thanks for the quick reply!
>
> I did scan through the topics (as i dont want to waste peoples time!) but i didnt come across anything that looked related to my problem :(
>
> Can you remember the title of the thread by any chance?

Since I use emails, I just searched for '.obj', here you are:

http://jogamp.762907.n3.nabble.com/3DS-max-Exporter-tp1980790p1980998.html

~Sven