[quote="Glamthaus":3qbn9of0][size=85:3qbn9of0]Very nice. Looks promising.
[quote="David":3qbn9of0]Sadly if you add textures to those shapes the texture becomes slightly distorted (as opposed to 3d box) because the distortion doesn't allow for texture z distortion. Its on my todo list to look into texture z manipulation because it would be nice if you could distort each corner of a sprite and it mapped the texture in such a way that it looked 3d. [/quote:3qbn9of0]I've found that you can correct the texture distortion by having a map size of at least 2x2 (the larger your map size the more correct the texture becomes) and interpolating your X, Y, Z values between points (or just X,Y; I've been emulating my Z value).
I'm probably not explaining myself very well (I have a habit of doing that). Here is an .exe to show my results however.http://www.fileshack.us/get_file.php?id ... ection.zip
1 = Decrease map size
2 = Increase map size
- Up, Down, Left, Right
- Ctrl, SpaceNote: The transparency is because it is still very much a work in progress, and as a result lacks a Z Buffer.
Link is down.