Original Post
Hi, all: I'm trying to load a 3D data at http://www.visionopen.com/input_sample_sphere_radiation.dat. However, when loading, by using Java3D, I always obtain those sawtooths, please refer to file http://www.visionopen.com/input_sample_sphere_radiation.jpg If using "tecplot" (refer to http://www.tecplot.com/ ), I'm able to obtain much better result as http://www.visionopen.com/input_sample_sphere_radiation_trecplot.jpg Can anybody help to load the 3D data file "input_sample_sphere_radiation.dat" without too much sawtooths? In addition, be kind enough to leave your code as well? BTW, my code to load it is attached:
gi = new GeometryInfo(GeometryInfo.POLYGON_ARRAY);
gi.setCoordinates(getNodesVertices1());
int[] element = getElements();
gi.setCoordinateIndices(element);
gi.setStripCounts(getStripCount1());
gi.setColors(getColor1());
gi.setColorIndices(element); Looking forward to your reply. Best Regards JIA Pei