hi,
 
i'm trying to save a J3D scene graph into a number of CompressedGeometryFile's.  i noticed that the CompressedGeometry clamps coordinates between (-1,1) probably as part of the compression algorithm.  but when i try to reconstruct my new scene graph using CompressGeometryFile object, Java3D doesn't seem to unclamp the compressed coordinates - the coordinate data are all still between (-1,1). 
 
i'm recreating my scene graph by the following calls:
 
CompressedGeometry cg = cgFile.read(0);
cgFile.close();
...
Shape3D sh = new Shape3D( cg, appearance);
 
am i making the right calls to create my compressed geometry Shape3D such that it would unclamp the compressed coordinates?  or do i have to know the range which my original coordinates span and store the range and rescale myself when i create my Shape3D with the compressed geometry?
 
thanks.
 
jack

Reply via email to