> Is it possible to change the background color in viewer.py from the scene
> script? How?
Yes, you can set the "background" global option like this:
background = (0.5, 0.5, 1.0)
I still have to put this into the docs. So far, it's only mentioned in
viewer.py itself. Here's a list of options that can be used with the
viewer tool (most of them also have a special command line switch):
background: Background color
fullscreen: Boolean indicating if a full screen view should be used
stereo: Stereo setting (None, "vsplit", "glstereo")
eyedistance: Eye distance for stereo display
polygonmode: Drawing mode ("fill", "line", "point")
navigationmode: Selects the navigation mode ("maya", "max", "softimage")
resolution: (width, height)
camera: Specify camera to be used
- Matthias -
Keir Rice wrote:
> Has anybody managed to get cgkit running in a Mayax64 install?
> Are there any plans to release a win64 compile of cgkit?
Well, compiling shouldn't be a problem. I haven't done it on win64 yet
but on a 64bit Linux which worked fine. The thing is that I don't have a
64bit Windows available and I'm not planning on buying a new computer in
the very near future, so unless someone sponsors me with a new computer
I won't be able to help you out on that one.
But if you have compiled stuff before, it shouldn't be too difficult to
compile cgkit yourself. See the build manual for more details on
compiling it and let me know if you run into problems with that.
- Matthias -