![]() Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Mathematica Color
> When using geomview through mathematica, the 3D graphics are colorless. Is
> this supposed to be? If not what is the possible cause(s) of the problem?
The difference arises since geomview uses colorless lights by default,
and the mathematica->geomview package doesn't pass along Mathematica's
colored lights.
You can install Mathematica's default lighting setup -- from the LightSources
field of Options[Plot3D] -- into geomview by loading the following file
(or by placing this command in your ~/.geomview file):
(merge-baseap {
lighting {
replacelights
light { position 1 0 1 0 color 1 0 0 }
light { position 1 1 1 0 color 0 1 0 }
light { position 0 1 1 0 color 0 0 1 }
}
})
Note the trailing "0" on the position of each light, indicating an
infinitely distant light source.
Stuart
|
||
|
Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors |
|||
|
site hosted by |
|||