From: Bruce S. <bas...@nc...> - 2010-11-03 20:38:42
|
It can't be done. VPython insists on the coordinate system being a right-handed coordinate system. What you can do is have y to the right, z up, and x coming toward you, as in the following example: from visual import * x = curve(pos=[(0,0,0), (1,0,0)], color=color.red) y = curve(pos=[(0,0,0), (0,1,0)], color=color.green) z = curve(pos=[(0,0,0), (0,0,1)], color=color.blue) label(pos=x.pos[1], text='x') label(pos=y.pos[1], text='y') label(pos=z.pos[1], text='z') scene.up = (0,0,1) scene.forward = (-1,0,0) Bruce Sherwood 2010/11/3 Virgílio Bento <vir...@gm...>: > Dear all, > > I'm trying to define a scene with the following axis (see attachment). > > > How should i define the scene.up and the scene.forward to achieve this > perspective? > Tried several combinations but still haven't found the one. > > Thanks for your answer. > > Regards, Virgilio Bento > > > > ------------------------------------------------------------------------------ > Achieve Improved Network Security with IP and DNS Reputation. > Defend against bad network traffic, including botnets, malware, > phishing sites, and compromised hosts - saving your company time, > money, and embarrassment. Learn More! > http://p.sf.net/sfu/hpdev2dev-nov > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |