#1
|
|||
|
|||
<viewpoint>.setclip
I like the new interface to VRUT. Good Job! I just have a few quick questions:
It seems that when I try to clip a seperate viewpoint, the whole screen goes black. Similar code works for vrut, but doesn't seem to work with viz. Do you know what may be going wrong? ------------------------------------ import viz viz.go() viz.add('Layout.wrl') window = viz.addwindow() window.setposition(0, 380) window.setsize(100, 100) view = viz.addviewpoint() window.setviewpoint(view) view.setclip(0,40) ------------------------------------ Also, I noticed that Tkinter isn't included in viz's built-in python library. Do you know of a good way to import Tkinter? Thanks, Matthew |
|
|