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]

out of memory?



Yes, the mythical sphere object, although completely undocumented,
does indeed exist. File format is easy: keyword "SPHERE", radius,
center. Below is a unit sphere centered at the origin (the file
/u/gcg/ngrap/data/geom/unit.sphere):

SPHERE
1 0 0 0

Note that spheres are a subclass of Bezier patches. Beziers are
subdivided into meshes when drawn. You definitely want to set a very
coarse dicing level. The SGI default dicing level is 10, I'm not sure
about the Suns. If you put the following line into your .geomview
file, spheres will be drawn as octahedrons (2 is the smallest possible
dicing setting):

(dice allgeoms 2)

On the file size front, SPHEREs instead of raw OFF objects will cut
down ASCII datafile size. In general, you could consider making more
sophisticated geomview/OOGL files which use filename or handle
references for elements like cylinders/sticks, spheres/balls, or
whatever else you need. Then you can easily reinstantiate geometry of
appropriate complexity on the fly. If the documentation of this is too
cryptic I can send you some examples.

I don't know anything about the Sun version, so can't tell you what's
up with the memory problems. 2MB certainly doesn't sound
unreasonable...

 Tamara


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