PDA

View Full Version : why wont this render?!



nicbit
04-02-2012, 05:49 AM
hi, im new here, but anyway... I usually program my games in c++, but my freelancing client wants me to write them in basic4gl and demo the map by the end of monday so pleeeeeeeeeeeeeeeeeeease help me find the reason why it will not render (been trying 2 days to solve the problem)
code is loacted at
http://pastebin.com/zxFRw4VX

can you also check over the beginning section of loading in the object over, because i had to edit it because my model of the level does not have normal vector, also if you need my level (in .obj format) you can find it at

http://www.mediafire.com/?ff5fguf1xq8wf56

thank you SOOO much !!!
p.s. i have a feeling that you need normals in order to render vectors on the screen, am i right?
p.p.s. please forgive me if i posted this in the wrong area.

BionicBytes
04-02-2012, 09:45 AM
i have a feeling that you need normals in order to render vectors on the screen, am i right
Nope. Normals only affect lighting, not the rendering of geometry.
I suggest checking your state, then submit simpler geometry which is known to work.