while looking through the release notes of java3d for storing geometry in a memory efficient way, i've found a usefull method:
The site http://jcp.org/aboutJava/communityprocess/maintenance/jsr926/ChangeLog-1_5.html#By_Ref_Indices points to the methods
public void setCoordIndicesRef(int coordIndices[])
public int[] getCoordIndicesRef()
in the IndexedGeometryArray class.
Those methods are introduced in Java3D 1.5.0 and improve the setCoordIndices method by avoiding the creation of a memory consuming copy of the indices array.
This may save some memory in the ViewableFE class of the viewer3d package (and maybe on other classes too).
Regards,
Jens
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi folks,
while looking through the release notes of java3d for storing geometry in a memory efficient way, i've found a usefull method:
The site http://jcp.org/aboutJava/communityprocess/maintenance/jsr926/ChangeLog-1_5.html#By_Ref_Indices points to the methods
public void setCoordIndicesRef(int coordIndices[])
public int[] getCoordIndicesRef()
in the IndexedGeometryArray class.
Those methods are introduced in Java3D 1.5.0 and improve the setCoordIndices method by avoiding the creation of a memory consuming copy of the indices array.
This may save some memory in the ViewableFE class of the viewer3d package (and maybe on other classes too).
Regards,
Jens
Bug filled:
https://sourceforge.net/tracker/index.php?func=detail&aid=1813628&group_id=74334&atid=540660
Thanks !