jWork.ORG forums

Full Version: Managing color in OFF objects
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

In this example,
Code:
from jhpro.engine3d import *
view=HEngine3D("teapot.off")
view.setBounds(10, 10, 600, 400)
view.setVisible(1)
try to get "FacetedObject" using the method getObject3D() which has several methods to set the transparency and color.
There is no "GUI" operation to do this. The "jhpro" package comes with the professorial edition

I also tried to use the program from the JPort desktop (http://jwork.org/jport/) called RoffView.
It is much slower, but you can use GUI

best,
Reference URL's