PDA

View Full Version : Help



guest
02-23-2003, 06:42 PM
please help me with the following.

i have created a vertex file which consists something similar to this below....

........
V -499620.0, -501470.0, 0
V 500380.0, -501470.0, 0
V -499620.0, 498530.0, 0
V 500380.0, 498530.0, 0
.... etc etc

which i wrote with the function "loadvtx" to draw out the 2D map i have in mind.

e.g
>> in drawscene()...
...
loadvtx("data/sin1.vtx", DPYLIST_MAP);
....

>>function declaration...
void loadvtx (char* fname, unsigned int listIdx)

but it can't seem to work ???

02-23-2003, 06:59 PM
http://www.opengl.org/discussion_boards/ubb/rolleyes.gif

blood.angel
02-23-2003, 09:51 PM
Scale down your vertices. 500000 is too damn big!
And without the rest of your code we cant help as it can be anything.