blazingkin
blazingkin

Reputation: 572

3d perspective viewing

I am trying to mess around with rendering things in 3d. I want to make it so that if you are looking straight at a building, you see the front. If you walk to the side and turn you will see both the front and side walls, but they will be distorted. And finally when you move more and turn more you will see the side wall, but not distorted.

How is this possible? If possible I would like a solution in OpenGl or something I can run in Java, however I can be flexible.

Upvotes: 1

Views: 600

Answers (2)

eboix
eboix

Reputation: 5133

You can also use Java 3D, I used it a couple of years ago and Iliked it a lot :)

Here's a site with information about Java 3D.

A nice tutorial....

A longer, more complete, tutorial....

Actually, if my memory serves me correctly, Java 3D was worked on by a few of the people who worked on OpenGL.

Upvotes: 1

Related Questions