- To: visad-list@xxxxxxxxxxxxx
- Subject: 3D visualization problem
- From: "Xianjie Yi" <xianjie_yi@xxxxxxxxxxx>
- Date: Thu, 03 Jan 2002 04:23:13 +0000
I used the nonequally distributed 3d coornidates of each node to constuct a
[3][Rows*Cols*Levls] samples and then use it to establish a domain_set using
either Irregular3DSet or Gridded3DSet, see below. I then put it in P$_10,
why does it come up with just some points distributed in 3D space according
to given coordinates? How can I improve it. Thanks so much.
Yi float[][] sd=new float[][]{ { 1f,2f,3f,4f,5f,6.0f, 0.92f,1.84f,2.76f,3.68f,4.6f,5.52f, 0.71f,1.42f,2.13f,2.84f,3.55f,4.26f, 0.38f,0.76f,1.14f,1.52f,1.9f,2.3f, 0f,0f,0f,0f,0f,0f, 1f,2f,3f,4f,5f,6.0f, 0.92f,1.84f,2.76f,3.68f,4.6f,5.52f, 0.71f,1.42f,2.13f,2.84f,3.55f,4.26f, 0.38f,0.76f,1.14f,1.52f,1.9f,2.3f, 0f,0f,0f,0f,0f,0f, 1f,2f,3f,4f,5f,6.0f, 0.92f,1.84f,2.76f,3.68f,4.6f,5.52f, 0.71f,1.42f,2.13f,2.84f,3.55f,4.26f, 0.38f,0.76f,1.14f,1.52f,1.9f,2.3f, 0f,0f,0f,0f,0f,0f, 1f,2f,3f,4f,5f,6.0f, 0.92f,1.84f,2.76f,3.68f,4.6f,5.52f, 0.71f,1.42f,2.13f,2.84f,3.55f,4.26f, 0.38f,0.76f,1.14f,1.52f,1.9f,2.3f, 0f,0f,0f,0f,0f,0f, }, { 0f,0f,0f,0f,0f,0f, 0.38f,0.76f,1.14f,1.52f,1.9f,2.3f, 0.71f,1.42f,2.13f,2.84f,3.55f,4.26f, 0.92f,1.84f,2.76f,3.68f,4.6f,5.52f, 1f,2f,3f,4f,5f,6.0f, 0f,0f,0f,0f,0f,0f, 0.38f,0.76f,1.14f,1.52f,1.9f,2.3f, 0.71f,1.42f,2.13f,2.84f,3.55f,4.26f, 0.92f,1.84f,2.76f,3.68f,4.6f,5.52f, 1f,2f,3f,4f,5f,6.0f, 0f,0f,0f,0f,0f,0f, 0.38f,0.76f,1.14f,1.52f,1.9f,2.3f, 0.71f,1.42f,2.13f,2.84f,3.55f,4.26f, 0.92f,1.84f,2.76f,3.68f,4.6f,5.52f, 1f,2f,3f,4f,5f,6.0f, 0f,0f,0f,0f,0f,0f, 0.38f,0.76f,1.14f,1.52f,1.9f,2.3f, 0.71f,1.42f,2.13f,2.84f,3.55f,4.26f, 0.92f,1.84f,2.76f,3.68f,4.6f,5.52f, 1f,2f,3f,4f,5f,6.0f, }, { 0f,0f,0f,0f,0f,0f, 0f,0f,0f,0f,0f,0f, 0f,0f,0f,0f,0f,0f, 0f,0f,0f,0f,0f,0f, 0f,0f,0f,0f,0f,0f, 1f,1f,1f,1f,1f,1f, 1f,1f,1f,1f,1f,1f, 1f,1f,1f,1f,1f,1f, 1f,1f,1f,1f,1f,1f, 1f,1f,1f,1f,1f,1f, 2f,2f,2f,2f,2f,2f, 2f,2f,2f,2f,2f,2f, 2f,2f,2f,2f,2f,2f, 2f,2f,2f,2f,2f,2f, 2f,2f,2f,2f,2f,2f, 3f,3f,3f,3f,3f,3f, 3f,3f,3f,3f,3f,3f, 3f,3f,3f,3f,3f,3f, 3f,3f,3f,3f,3f,3f, 3f,3f,3f,3f,3f,3f, } }; domain_set=new Gridded3DSet(domain_tuple,sd,6,5,4); or domain_set=new Irregular3DSet(domain_tuple,sd); _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
- Follow-Ups:
- Re: 3D visualization problem
- From: From: Bill Hibbard <hibbard@xxxxxxxxxxxxxxxxx>
- Re: 3D visualization problem