From: alessandro <bom...@gm...> - 2009-04-19 09:06:33
|
OK. So the only way is to use Visual 5? I need some help installing Visual 5 on Ubuntu Hardy. I've tried to install the package made by Guy K. Kloss here https://gutefee.massey.ac.nz/moin/Python/3D but when I use in my prog. it doesn't work. I'm using pygtk and glade building my app. I have this func main: def main(): global scena1 # my scene global griglia global nomefile app.signal_autoconnect(dic) gui_main.show() gui_main.move(0,0) scena1 = disegno.nuovo() # call to my drawing -module disegno.xyz(100) # here I draw 3 arrow (my xyz axis) griglia = 2000 step=100 disegno.base(-griglia,-griglia,griglia,griglia,step,True) # here I draw a grid (my ground plane) gtk.main() Running the app must appear 3 wins: my main win, a second win (the option) and the Visual win (with the grid and the 3 arrow). But everything seems to be "freezed". with Visual 3 it work fine. I think there is something wrong with the gtk.main Alessandro Barracco Bruce Sherwood ha scritto: > If you're willing to use the newer Visual 5, this problem has been > fixed. There is no way in Visual 3 around this other than never to > point the camera exactly in the direction of up or -up. > > (The fix in Visual 5 is quite technical: It consists of adjusting > scene.forward whenever it is exactly in the direction of scene.up or > -scene.up to point in a slightly different direction as far as the > view is concerned, and the human viewer doesn't notice.) > > Bruce Sherwood |