Managing color in OFF objects - jworkorg - 09-11-2013 12:33 PM
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,
|