Kelvin,

I'm attaching a test file which creates 300 spheres in the scene. There is
also a slider which can be used to move the front clipping plane.
After the initial display, move the slider leftward this will reduce the
front clip distance. Then if you rotate the view a little bit you will see
lot of othere sphere appearing on the screen which were cut in the initial
display.

Thanks,
nitin



-----Original Message-----
From: Kelvin Chung [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 2:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] problem with View clipping


Nitin.Jain wrote:

>Hi all,
>
>I do front clipping of my scene using View.setFrontClipDistance method. I
>use a slider to change the clipping distnace so that the user can see the
>view getting clipped or getting reappeared when the slider is moved back.
>
>After the view is clipped, I add lots of shapes, spheres and cylinders in
my
>scene. Now if I move my front clip back I do not see all the shapes
>appearing on the screen untill I perform some other action like rotate or
>zoom.
>
>It looks like as if in the clipped view Java3D does not pass all the shapes
>to the renderer or the rendering thread, that is why when I move the
>clipping plane back it does not show all the shapes and as soon as I rotate
>they appear on the screen. Can somebody point me out what could be the
>problem. I use Parallel projection for my view
>
>
Looks like a bug, you can try add a wakeupOnElapsedFrame() behavior
that invoke View.repaint() for the next frame to workaround.

Please send us a test case to investigate.

Thanks.

- Kelvin
-----------
Java 3D Team
Sun Microsystems Inc.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Attachment: Test.java
Description: Binary data

Reply via email to