I suspect someone could tell you a really good and nice way. But just to
test if this is your problem, you could always try getting the view
transform and resetting it with the same transform. That should trigger it.

Might be worth overriding postRender() on Canvas3D just to keep a track on
when a re-render is actually happening.

Sorry I can't be more help, don't have access to my stuff from here.

Kev

> is there a way to convey this to Java3D that "something is changed" on
> changing the clipping?
>
> -----Original Message-----
> From: Kevin Glass [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 09, 2003 5:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] problem with View clipping
>
>
> Java 3D only forces a re-render when something in the scene changes. It
> might just be that setting the front clip distance doesn't count
> as "something changing".
>
> Most applications seem to end up with a behaviour that schedules itself
> to be hit every frame. This means that the renderer has to run as fast
> as it can.
>
> However, this is just a guess,
>
> Kev
>
>> 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
>>
>> Thanks
>> Nitin
>>
>>
>
===========================================================================
>> 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".
>
>
===========================================================================
> 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".
>
>
===========================================================================
> 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".

===========================================================================
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".

Reply via email to