• Advertisement
Sign in to follow this  

[java] A screenshot of my java 3d engine

This topic is 4941 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I just created a screenshot of my java 3d engine (in pure java): The ground and the houses (and the trees) are rendered once. A z-buffer is filled. Using this z-buffer, NPCs can be rendered in realtime. (this is currently not the case). The trees are rendered using some fractal algorithm (I don't seem to uderstand lindenmayer systems very well, if anyone knows a tutorial, please tell me). The ground uses multitexturing.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
thats awsome!! I am tring to get into 3D programming right now..do you know of any good books or tutorials thatd be helpfull in learning 3D programming?

Share this post


Link to post
Share on other sites
Do you mean that you render this scene once and then let the player/npcs interact with the rendered scene afterwards using the zbuffer, i.e. the view won't change until you are leaving this screen?

Share this post


Link to post
Share on other sites
Anon: Most books that would deal with getting you started with 3D programming are written with C/C++ users in mind. However, if you want to learn about Java 3D programming, you can start with Sun's tutorials.

Share this post


Link to post
Share on other sites
Looks quite good. How long does the initial render take (especially the trees, which I assume are made up of quite a few polygons)?

Share this post


Link to post
Share on other sites
Yeah i was the anon poster, i keep assuming im loged in when im not..oh well

Thanks for the link, the tutorial looks pretty helpful!

Share this post


Link to post
Share on other sites
EgonOlsen: Yes you're right.
Matei: I've "counted" the points of one of the trees. It contains 138856 points. Each tree doesn't take more than 1/2 second to render. (I plan to make an option to change the iteration depth, so that the trees can be rendered with less polygons but much faster).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement