Is it possible to dynamically define a sub-region of a Canvas3D so that
the rendering is only updated within this sub-region whereas the rest of
the canvas keeps untouched? I'm trying to speed up Java3D by only updating
that part of the graphics that changes, making use of the fact that I only
move a few objects at a time whereas Java3D redraws all objects within the
view frustum.
I have already tried the following with partial success only:
Dynamically calling setLocation (subregionOrigin) and setSize(subregionSize)
and appropriately altering the projection matrix does almost what I want.
Unfortunately, however, this immediately clears the sub-region with the
background color and sometimes does not update it so that I always see a
flickering and finally I end up with a mosaic of background rectangles.
I have already overwritten paint, update and clear with empty methods but
still some part of Java3d clears the sub-region.
I have alternatively tried to overwrite getLocationOnScreen and getSize.
This works fine for the size but shows no effect for the location.

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