Whoa! Cool!
At first I thought that this was actually rendering polygons. I have already done some tests with that, and Java is too slow to do the math properly :(
You have a nice way of getting around that. Yeah, z-sorting is difficult. That is in the end what keeps my version of 3d from being realtime. I will release it sometime tomorrow, with any luck.
A new version of this scenario was uploaded on Thu Nov 20 09:03:21 UTC 2008
I actually found an example on how to do it (http://www.zanir.szm.sk/java.html), so its somehow possible, but the source is kind of low on comments (aka theres none)
I actually found an example on how to do it (http://www.zanir.szm.sk/java.html), so its somehow possible, but the source is kind of low on comments (aka theres none)
Huh? Its my code (you can tell because of its full of bugs), i was talking about i have no idea on how that guy pulled it off
Doubt it, its slow enough as it is anyway
I actually had to write a z-buffer for the enemy display in my 3D game, but i'm sure it would be too slow to work for such a large number of polygons.
But this is awesome, ite real 3D, as opposed to raycasted imitation of 3d
;)
Not bad... but I can see a few bugs that you can work on:
1) The shadow doesnt change... you need something better than the background image for a shadow xD
2) There are some issues with transparency when looking on from the side... I have seen this issue elsewhere (in poorly made games)
Not that any of this is bad, but it can be made better. ; )
Actually, this is not true 3D either...
True 3D allows more than one topological shape. For instance, a tube is topologically different from a plane. This is closer to a 3D graphing system.
Is there any way to change the image size? No matter what values I change it doesn't seem to work. I tried adding two to all 64s and 63s as well as changing the 32s to 33s in case they were supposed to be half, but it still won't work. It says this:
java.lang.IndexOutOfBoundsException: Y is out of bounds. It was: 64 and it should have been smaller than: 64
I can make it smaller and it will cut the image, but bigger won't work.
A new version of this scenario was uploaded on Thu Dec 11 21:29:09 UTC 2008
Thanks for such a quick and helpful response:)
Great job making it to begin with:)
One more question though, can you tell me which part of the code actually adds the altitude so it has hills and valleys instead of being a flat image?
Thanks for such a quick and helpful response:)
Great job making it to begin with:)
One more question though, can you tell me which part of the code actually adds the altitude so it has hills and valleys instead of being a flat image?
I know there is an easy, simple, and fast way to do your z-Buffering, because i have program on my calculator that allows you to graph in 3D, and it has zBuffering in it. if my calculator can do it, there has got to be a way... I wish i knew what it was...
The shadow on the base (z=0) plane can/should change in response to rotation. This gives good user feedback and avoids the bizarre terrain moves, but shadow doesn't feeling. What do you think?
2008/11/19
2008/11/19
2008/11/20
2008/11/20
2008/11/20
2008/11/20
2008/11/20
2008/11/20
2008/11/20
2008/11/20
2008/11/21
2008/12/11
2008/12/11
2008/12/11
2008/12/11
2008/12/11
2009/1/4
2009/5/3
2009/6/1
2009/6/2
2011/2/9
2016/12/1