Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Java3D: Setting Depth of Field w/ SimpleUniverse?

Reply
Thread Tools

Java3D: Setting Depth of Field w/ SimpleUniverse?

 
 
Hoagie
Guest
Posts: n/a
 
      10-14-2003
Hello all.

Is it possible to set a new depth of field (View.setBackClipDistance)
when using a SimpleUniverse? I've been unable to learn a way to
extract the View being used, in order to set these values.

Once I am able to set the clip distance -- is there a way to define an
infinite depth? I'd like to zoom in and out of an environment without
limits, and with no clipping.

Thank you for any help!
 
Reply With Quote
 
 
 
 
Rick
Guest
Posts: n/a
 
      10-15-2003
Don't know about the clipping in Java but as for the infinite depth, is it
possible? Yes and No. As far as I know you can't totally switch it off but
you can give it a very high value. It depends on the size of you're world.
But be aware! If you're using a big landscape or something with a huge depth
of view you'll most probably slow down because of that polygons that need to
be drawn.

Besides, what you're doing is not really 'zooming' I think. If you increase
/ decrease the distance between the camera and the object you're depending
on the depth of view. But you could also use the focallength of the
camera(don't know where they put that in Java but it's probably somewhere).
When changing the focallength, the camera stays at the same position but
you're view 'zooms in/out'. Never tried it but if I'm right the clipping
effect would be gone and you're not depending on the depth(unless the real
distance between the object and the cam is already too large).

Greetings,
Rick


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
javascript validation for a not required field, field is onlyrequired if another field has a value jr Javascript 3 07-08-2010 10:33 AM
1.Enter space bar for field names and save the field.The field shoud not get saved and an alert should be there as"Space bars are not allowed" Sound Javascript 2 09-28-2006 02:43 PM
Depth-first-Traversal of Object field values dhina.jayavelu@gmail.com Java 0 03-04-2006 04:08 AM
How to get close in and narrow depth of field with a Nikon 5700 Louis Digital Photography 2 08-18-2003 05:12 PM
Canon D60 Depth of Field Jennie Digital Photography 2 07-17-2003 07:07 PM



Advertisments