From: Bruce S. <Bru...@nc...> - 2009-05-23 05:21:36
|
Fixed, and new version at vpython.org (contributed section). Thanks very much! Bruce Sherwood Scott David Daniels wrote: > The current version of povexport has a problem. In function > "export_arrow" (lines 339-264), there are two parts that need > correction: > > > 349: apyramid = pyramid(pos=a.pos+a.axis.norm()*sl, axis=a.axis, > up=a.up, frame=a.frame, > 350: size=(hl,hw,hw), color=a.color, opacity=transparency(a), > visible=0) > > and > > 356: abox = box(pos=(a.pos+a.axis*(sl/al)/2.0), axis=(a.axis*(sl/al)), > 357: up = a.up, width=a.shaftwidth, height=a.shaftwidth, > 358: color=a.color, frame=a.frame, opacity=transparency(a), > visible=0) > > in each, the "opacity=transparency(a)," should be "opacity=a.opacity," > As it stands, solid arrows are turned invisible (by virtue of being > made transparent). This can be seen by running povexample.py, and > examining the output display. > > --Scott David Daniels > Sco...@Ac... > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |