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]

Re: [Closed REQ 5316]:


  • To: software@geom
  • Subject: Re: [Closed REQ 5316]:
  • From: "Tamara Munzner" <munzner>
  • Date: Sun, 19 Mar 1995 23:14:33 -0600


Dear Tae-wan,
 
>I like to use a `sphere' object.
>Could you please tell me how to change the color of a sphere?

Use appearances. Specifically, the "diffuse" color field of the
"material" structure. 

>In addition, could you tell me how to change the setting
>of the dicing level (in other word, resolution of a sphere)
>in the .sph file?

The same way as for Bezier objects. Interactively, you can type the
number into the "Patch Dicing" input on the Appearance panel, or use
the "ad" keyboard shortcut. With the command language, use the "dice"
command. 

Here's an example of a green sphere at dicing level 5:

(geometry greensphere { 
  appearance { material {diffuse 0 1 0}}
  {SPHERE 1 0 0 0}
 }
)
(dice greensphere 5)

If you always want objects to start diced at a certain level, put a
line like this in a file called ".geomview" in your home directory:

(dice allgeoms 4)

Hope this helps,

Tamara Munzner		The Geometry Center	     ((555) 555-5555
munzner at geom.umn.edu    http://www.geom.umn.edu/people/munzner.html


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