Sign in to follow this  

Drawing Questions

This topic is 4660 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

ok, two questions really. these might sound dumb, but... When creating rpg games or scrolling games, how do you create the map without having the computer draw it, or does it just draw it as it comes onto the screen. Basically, how do you make it so it doesn't draw everything at once. Also, if part of an object is beyond the horizon(too far back to see), would it still draw it. For example, if there is an ms3d model of a city, and part you are on the street looking around, would it still take as much resources to draw the whole map, or would it only draw what you could see. Levi

Share this post


Link to post
Share on other sites
Quote:
Original post by levjs
ok, two questions really. these might sound dumb, but...

When creating rpg games or scrolling games, how do you create the map without having the computer draw it, or does it just draw it as it comes onto the screen. Basically, how do you make it so it doesn't draw everything at once.


Basically you keep track of where the player is and what he can see and then only send the visible geometry to the graphics card.

Quote:

Also, if part of an object is beyond the horizon(too far back to see), would it still draw it. For example, if there is an ms3d model of a city, and part you are on the street looking around, would it still take as much resources to draw the whole map, or would it only draw what you could see.
Levi


Any geometry you send down will be processed by the graphics card, if it is beyond the far plane then it wont be drawn onto the screen thus any pixel shaders you have applied wont be run (as there aren't any pixels for it displayed).

What you want to do is do culling yourself and not send invisible geometry to the graphics card.

HTH

Share this post


Link to post
Share on other sites
Quote:
Original post by levjs
Thanks I'd been wondering where to get that. What do you mean "for now" : )


Until you get into more advanced stuff. But that and the blue book (especially the blue book) will still be useful for references.

Hmm... the link in the forum faq for the blue book isn't working, you can probably find it with google.

Share this post


Link to post
Share on other sites

This topic is 4660 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this