Post

 Resources 

Console


&^%$%$^ing x files.... PyroBoy (3 replies, 0 views) (2000-May-9)
-
Ok, I give up... I'm trying to read in that damned teapot.x file into my IM 3D engine. I use retained mode objects to get the vertices/indices.... I've used the Xfile loader in the IM tutorials as a reference, and used the method described there to get the data from the x file. I then inserted code into both the example program and my program to put the vertices/indices of each into text files right before they're rendered. Then I wrote a little program that goes through both files and checks each entry against each other for discrepancies... The result? The vertices/indices of my program and the xfile loader program are exactly identical, and they are then passed into exactly identical DrawIndexedPrimitive calls to be rendered. The xfile loader shows a nice teapot. My program shows dick all. What the hell is going on??!?!?!?!? By the way, it's not that my program won't render anything at all, it renders other objects that weren't loaded from xfiles, but my teapot is nowhere in sight!!! Daaahhh!!! When I change it to render a pointlist, I get the teapot vertices showing up ok, so I assume this is an index problem, even though my indices are exactly the same entry for entry as the example that works fine... I've run out of things that could be going wrong. Everything is the same. It just seems not to like me! :-) Any thoughts? I'm losing it here!!!!! AH!!!


-
Back to Forum

Nevermind. It fixed itself... PyroBoy (2 replies) (2000-May-9)
LOL Adam Hoult (1 reply) (2000-May-9)
RE: LOL PyroBoy (0 replies) (2000-May-9)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 48 visitors within the last 20 minutes
RSS News Feed