Jump to content
  • Advertisement
Sign in to follow this  
blue-ice2002

orthographic or transformed vertices

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

hello, im writing a tile-based game in direct3d,and want to do smooth scrolling.according to this i have a problem,should i use orthogtaphic projection and make quads in 3d coordinates then rotate them to make them isometric or use transformed vertices,dont use ortographic projection and just give the real screen corrdinates? the reason i ask this is,if i use screen coordinates and create the vertices in real-time smooth scrolling is slow.But if i use orthographic projection and make translation of points it will be faster?cause they are processed in the pipeline rather then my translation code,in a for loop in screen coordinates? thanks

Share this post


Link to post
Share on other sites
Advertisement
I'd say try both if it's not too difficult. Write a simple test for each. My personal opinion would be that doing it in the pipeline is faster, seeing as it's hardware accelerated, but I'm no expert on Direct3D. Well, for that matter, nor am I a novice.

There's my advice, as little as it may mean.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!