3D visualization problem

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.


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: