Do you ever set scene.uniform to False (0)?
Do you ever set scene.range to have different values for x, y, and z?
I very much need to hear how you use these little-used capabilities of
VPython, as there are some cleanups that should be made to these
facilities, and how corrections are made may be influenced by the ways
in which people have found nonuniformity useful (or not).
The only place I know of where this machinery is used in a major way is
in the graph module. But it is purely two-dimensional, where
nonuniformity isn't particularly problematic. In 3D, drawing something
as simple as an arrow is highly problematic, because you might want to
position the tail of the arrow based on nonuniform x,y,z scale factors,
but you want an arrowhead that looks nice, not horribly distorted.
Bruce Sherwood
|