Viewpoint rotation?
I know this may kind of defy the purpose of an isometric game, but I''ve decided to put four different viewpoints into my game (one for each corner of my diamond map) so as to prevent a mountain or other such obstacle from obstructing the player''s view of the battle, while allowing no z-axis movement. It seems this would be a simple matter of re-arranging values in the heightmap and/or vertices, but my forays into this area have been unsuccessful. Anyway, has anyone else attempted such a thing, and if so, how did you get it to work? Thanks in advance.
Regards,
Jade
---
Justice is useful when money is useless.
Justice is useful when money is useless.
be a little more specific... whats not working about it?
The Great Milenko"Don't stick a pretzel up your ass, it might get stuck in there.""Computer Programming is findding the right wrench to hammer in the correct screw."
Well, instead of seeing each peak and crevice from a different vantage point, you see an entirely different heightmap. That''s about as specific as I can be, since it changes each time I run the program. Thanks for the reply.
Justice is useful when money is useless.
August 12, 2001 03:07 PM
Try some basic trouble shooting to narrow down where the error is.
Make a test map that is split into 4 corners. In one corner give all of the tiles a height of 75% max height. In another 25% max height, and the other two 0% max height.
Now by switching viewpoints you can see if the data gets scrambled.
If so the the error is in the data transfer, if not then it''s elsewhere.
Make a test map that is split into 4 corners. In one corner give all of the tiles a height of 75% max height. In another 25% max height, and the other two 0% max height.
Now by switching viewpoints you can see if the data gets scrambled.
If so the the error is in the data transfer, if not then it''s elsewhere.
Tombstone: Vendetta allows 8 views. Can''t tell you how I do it but it''s pretty easy.
Have you ever worked with matricies? Do you know how to rotate them?
Work it out on paper before trying to implement it into your game. Just draw a simple tiled square map on graphing paper and then draw the three rotated versions. Then look at how the rotation works and write an algo that does it.
There''s a faster way but you should start with that.
Ben
[Icarus Independent | Jump Down The Rabbithole | Tombstone: Vendetta ]
Have you ever worked with matricies? Do you know how to rotate them?
Work it out on paper before trying to implement it into your game. Just draw a simple tiled square map on graphing paper and then draw the three rotated versions. Then look at how the rotation works and write an algo that does it.
There''s a faster way but you should start with that.
Ben
[Icarus Independent | Jump Down The Rabbithole | Tombstone: Vendetta ]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement