Hi, all:
I'm trying to load a 3D data "input_sample_sphere_radiation.dat" as attached.
However, when loading, by using Java3D, I always obtain those sawtooths, please refer to file "input_sample_sphere_radiation.jpg"
If using "tecplot" (refer to
http://www.tecplot.com/ ), I'm able to obtain much better result as " 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:
1 2 3 4 5 6 7
| 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