birds eye view

Hi,

saw some Applets/games with birds eye view. It was more or less a simple view from above at skyscrapers. Can this be done with Java2D (or better: without Java 3D).

I would like to get some hints, keywords. At the moment I have no idea how to realize this.

thx.

painter algorithm is used to generate 3d views i believe. Thats what T4XI used in the 4K competition…kev, im sure u know more about this than me…

DP

Pretty much painters algorithm, i.e. draw from the back first (for anyone who doesn’t know). T4XI had a slightly more complicated problem in that you have to draw from the back and outside first (since the outer buildings need to be “underneath” the more central buildings).

However, all this overdraw is best avoiding if you’ve got space to write an intelligent algorithm. Tell us more about what you want to do :slight_smile:

Kev

I’m just toying with the idea as I liked the concept. I only wanted to know how it works and if there is a standard class for this.

Ralf