Jump to content
  • Advertisement


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


Rendering XZ Plane

This topic is 5559 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, Im trying to render the xz plane as it is the basis of my level. The plane contains loads of diffrent 32x32 tiles which make up the tile. At the moment im rendering each quad with the textured tile invidually which is obivously really slow as it is calling drawprimitive about 100 + times. What I need is a way to render the tiles all at once (not that hard ) , but only rendering the tiles that are in the viewing frustum. Maybe I should store the vectors representing the viewinfrustum and multiply them with the view matrix. Then I could ignore the y axis and get the positions and loop through them. Then call one draw primitive Can you think of a better way ? thanx in advance Iain

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!