Archived

This topic is now archived and is closed to further replies.

Muksitul

Lesson 10 and a big world

Recommended Posts

HI I have been trying to change the world.txt file so that I would have a very big room ,like a room with 4 walls and a single door, can anyone help me to do that,just change the vertex and co-ordinates data so I can use the txt file to make this big room,I also cannot understand how the textures are working in that proggy for creating walls. Thanks you Muksitul

Share this post


Link to post
Share on other sites
NUMPOLLIES 36 = NUMBER OF TRIANGLES

// Floor 1
-3.0 0.0 -3.0 0.0 6.0 - 3D COORDINATE + 2D TEXTURE COORDINATE
-3.0 0.0 3.0 0.0 0.0
3.0 0.0 3.0 6.0 0.0

-3.0 0.0 -3.0 0.0 6.0
3.0 0.0 -3.0 6.0 6.0
3.0 0.0 3.0 6.0 0.0
(TEXTURE CORDINATE(LIKE 6) IS SET TO REPEAT(SHOW THE TEXTURE 6 TIMES)

LATER!

Share this post


Link to post
Share on other sites