jWork.ORG forums
Managing color in OFF objects - Printable Version

+- jWork.ORG forums (http://jwork.org/forum)
+-- Forum: SCaVis (/forumdisplay.php?fid=1)
+--- Forum: SCaVis documentation (/forumdisplay.php?fid=5)
+--- Thread: Managing color in OFF objects (/showthread.php?tid=54)



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,