Hi all,
Learning the Java3D/Xith3D framework. Can anyone tell me how to create a WireFrame Quad. Thanks for your Help.
roger
Hi all,
Learning the Java3D/Xith3D framework. Can anyone tell me how to create a WireFrame Quad. Thanks for your Help.
roger
Not sure if this helps, but you can switch the rendering mode to wireframe with the following command:
RenderOptions ro = new RenderOptions ();
ro.setOption(Option.ENABLE_WIREFRAME_MODE, true);
Better to set Polygon Mode to POLYGON_LINE in PolygonAttributes of Appearance.
To see how to define style of line, check Xith3DLineAttributesTest.
Yuri
Thanks, that worked. Now, does that effect my entire Virtual Universe. Is it possible to only effect a BranchGroup or Shape3D? Thanks for your help.
roger
My method is for everything. I suspect that Yuri’s way of doing it would only affect whatever objects Appearance you modify. Let us know!
[quote]My method is for everything. I suspect that Yuri’s way of doing it would only affect whatever objects Appearance you modify. Let us know!
[/quote]
correct.