Archived

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

Z-coord in terrain

This topic is 5378 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, What is the Z-coordinate for in terrain. For example, if I am rendering a terrain made up of quads, I set the Y-vertices from the value I get from my height map, but what about the Z? Also, after drawing the first quad, I''m presuming the next quad has to start from the last quads x,y position as shown below: |\ |\ | | \| \| 1 2 Thus quad 2''s x,y vertices same as quad 1''s ? If not surely the quads wouldn''t be joined together ? Kind regards, Steve

Share this post


Link to post
Share on other sites
If y is height, and you know what you do with x, isn't it quite obvious what you have z for?

mapmapmapmapmapmapmapma -
pmapmapmapmapmapmapmapm |
apmapmapmapmapmapmapmap |
mapmapmapmapmapmapmapma
pmapmapmapmapmapmapmapm z
apmapmapmapmapmapmapmap
mapmapmapmapmapmapmapma |
pmapmapmapmapmapmapmapm |
apmapmapmapmapmapmapmap |
-
|---------- x ---------|


EDIT: this is the map viewed from above...

[edited by - Enselic on March 25, 2003 10:40:19 AM]

Share this post


Link to post
Share on other sites
What I meant to say is how do you generate the Z vertices when making the vertices for the quads of the terrain.

Thanks,
Steve

Share this post


Link to post
Share on other sites