AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

navigating through virtual room and bounds

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> 3D Graphics API's for Java
View previous topic :: View next topic  
Author Message
Art
Guest





PostPosted: Mon Aug 18, 2003 8:37 pm    Post subject: navigating through virtual room and bounds Reply with quote



I wrote a Java 3D (1.3.1) applet and i am quite excited about it.
It is a virtual (3d) "room" that i use as an art gallery (look at
[url]http://www.cyberkunst.org/)[/url].
You can wander around the room by mouse-rotate and mouse-zoom- it's
cool!
I still have one problem i cannot solve.

When you use the zoom option, you can travel "through" the walls into
the virtual universe.
I want to lock the viewer inside the room.

I already tried:

bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), 10);
MouseZoom mouseZoom = new MouseZoom(MouseBehavior.INVERT_INPUT);
mouseZoom.setTransformGroup(vpTrans);
mouseZoom.setSchedulingBounds(bounds);

But this doesn't block the zooming when you reach the wall. Can
anybody make my day?.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> 3D Graphics API's for Java All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.