Skip to main content
gamedev.net
🔒 Locked

object-scaling

Started by kudi Aug 7, 2001 at 4:37 PM 0 replies 350+ views
Original Post
kudi
kudi
I am working on a terrain-engine and suddenly realised something curious: When I draw (with Direct3d, voodoo2) my terrain (array of points [512][512]) one time with the coordinates D3DVECTOR(512.0f,0.0f,512.0f) for the edge upper right, and one time with D3DVECTOR(1024.0f,0.0f,1024.0f), it becomes slower. What I mean, I just scale the whole terrain with the factor 2. But there aren''t more polygons or vertices. It isn''t much more slower, but sometimes it dosn''t work as fluently as with 512.0f. So is it slower to work with big objects ? (If it is so, why?)
The problem of Object Oriented Programming:Everybody tells you how to use his classes, but nobody how not to do it !

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.