Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Java 3D / April 2004

Tip: Looking for answers? Try searching our database.

setBackClipDistance and 3d shapes

Thread view: 
SD - 24 Apr 2004 23:44 GMT
I have a sphere in my Universe that I transform to (0,0,-57).

First question, that means my sphere is 57 meters away in the z-plane
right?

If I change the transform to use -56 instead I can see the sphere, but
at -57 I can't.

If I increase the BackClipDistance then I can see the sphere at -57.

Second question is why do the two measurements (BackClipDistance and
sphere location) seem out of sync with each other.  The default
BackClipDistance is 10 meters, but my sphere is 56 or 57 meters away.  
Doesn't that mean I should be able to see either sphere?  But I can see
one, not the other.

Can someone please explain this.

Thank you. SD.
Petra Neumann - 25 Apr 2004 14:39 GMT
> I have a sphere in my Universe that I transform to (0,0,-57).
>
> First question, that means my sphere is 57 meters away in the z-plane
> right?
the sphere is at 57 units away from the origin on the negative z-axis.
That means the sphere lies with its center in the x-z -plane.

> If I change the transform to use -56 instead I can see the sphere, but
> at -57 I can't.
>
> If I increase the BackClipDistance then I can see the sphere at -57.
What do you increase it to?

> Second question is why do the two measurements (BackClipDistance and
> sphere location) seem out of sync with each other.  The default
> BackClipDistance is 10 meters, but my sphere is 56 or 57 meters away.  
> Doesn't that mean I should be able to see either sphere?  But I can see
> one, not the other.

That really depends on where your virtual camera is located (or here
rather the viewplatform). If your viewplatform is at the nominal
viewing distance and you didn't change the backclip distance you
shouldn't see either sphere.
If your viewplatform resides at (0,0,-46.5) and your clip distance is
still 10 you can see the sphere at -56 but not the one at -57.

Petra


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.