Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Alaspin

[java] Different hfov and vfov in Java3D

This topic is 6920 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

Hi everyone I hope I''ll find someone who can help me out, here.. We are about writing a game in Java(3D). For gaining some speed we decided to use pre - rendered background images and to only implement some items and the characters as real 3d objects. So we took our 800 * 600 pixel Image, loaded it into background, put some objects in and - it looked wrong. It seems, Java3D always renders with the field of view equal in horizontal and vertical... So I had a look at the API doc and found something called ''compatibility mode''. Well - after having defined a new frustum with the perspective() - method in Transform3d, it seemed to turn out right. But - now our picking doesn''t work anymore. Anyone an idea how we have to solve it so that both (different fov and picking) are running.. ?

Share this post


Link to post
Share on other sites
Advertisement
I had very little luck writting a game in Java 3D. Even with simple scenes I was encountering massive memory requirements and an occasional world freeze that I attributed to either lack of memeory (I have 128 MB in my system) or garbage collection kicking off at inopportune times.

Of course, I am NO WHERE NEAR an expert in Java 3D, so it could have simply been my ineptitude as a developer. I would really appreciate it if you could share some of your experiences with using Java 3D in game development.

Thanks,

Share this post


Link to post
Share on other sites
Now, i wouldn''t describe me as an expert in Java3d, too..
In fact I am a student in computer science at the biel, school of ingeneering, switzerland ([url]http://www.hta-bi.bfh.ch[/url]) who took the course computer graphics and has to write a semester work in java3d now...

The game idea resulted from the fact, that we love playing games and decided we were able to do one, too - but - ''it''s my first time''.

Naturally I''ll gladly share my experience, as soon as i have some more



Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!