Re: IndexOutOfBoundsException with RendererJ3D

> > Another solution may be to extend DefaultRendererJ3D and
> > override its doTransform() method to be exactly the same
> > code as DefaultRendererJ3D, except to copy the contents
> > of 'branch' before returning it (to RendererJ3D.doAction()
> > which then adds it to the live scene graph).
> 
> Actually, the override implementation of doTransform() can
> simply be:
> 
>   public BranchGroup doTransform()
>          throws VisADException, RemoteException {
>     BranchGroup branch = super.doTransform();
>     // now extract the GeometryArrays from branch
>     // . . .
>     return branch;
>   }
> 
> Cheers, Bill

Thanks, that worked. I could include the line in my own 
scenegraph and I am ready for new problems ;-).

Desiree



  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: