go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

geomview



Another way to use Geomview to look at arrays of points in space is to
use an INST with one transform per point.  You still have to specify
some actual geometry for a point's shape, but you can use whatever
geometry you want.

The example below uses the "dodec.off" object in Geomview's example
directory, scaled by a factor of .1, as the point geometry; it
specifies three instances of this point located at coordinates
(1,2,3), (1,2,-3), and (-1,2,3).  Note that you have to specify the
entire tranformation matrix for each point, but the initial "1 0 0 0 0
1 0 0 0 0 1 0" and the final "1" are the same for every point.

If you have many points you should probably use much simpler than
dodec.off as the point geometry, for example a tetrahedron or a
triangle.

    INST
    geom { INST transform .1 0 0 0  0 .1 0 0  0 0 .1 0  0 0 0 1
		geom { < dodec.off} }
    transforms
    1 0 0 0 0 1 0 0 0 0 1 0	  1 2 3 1
    1 0 0 0 0 1 0 0 0 0 1 0	  1 2 -3 1
    1 0 0 0 0 1 0 0 0 0 1 0	  -1 2 3 1

--Mark


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo