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: [Update REQ 5287]: Mathematica and OOGL


  • To: software@geom
  • Subject: Re: [Update REQ 5287]: Mathematica and OOGL
  • From: "Stuart Levy" <slevy>
  • Date: Tue, 7 Mar 1995 16:37:56 -0600

Is the Mathematica object really itself colored, or are you just seeing
the colors that come from Mathematica's lights?

You might try prefixing the OOGL object with the following appearance, which
resembles the setup Mathematica uses:

   appearance {
     lighting {
	replacelights
	light { color 1 0 0   position 1 0 1 0 }
	light { color 0 1 0   position 1 1 1 0 }
	light { color 0 0 1   position 0 1 1 0 }
     }
   }


(There may be some way to make Cyberview use a specific default appearance,
in which case the above should be included there, but I don't know how to
do that.  Attaching it to the object itself should do, too.)

For example, WriteOOGL[] likely wrote a file that begins:

{ LIST
 ...


You'd edit it to read

appearance {
    lighting {
	...
    }
} { LIST
   ...


Does that help?
   - Stuart


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