Re: [JAVA3D] how to remove transformgroup?

2000-03-16 Thread Jeffrey Sim
I think you can only remove a branchGroup, and not a transformGroup. You could do that using either... 1) branchGroup.detach(); 2) simpleUniverse.getLocale().removeBranchGraph(branchGroup) Take note that 2) is only applicable when the branchGroup to be removed is the added to the simpleUniverse

[JAVA3D] Creating a cylinder without using primitives?

2000-03-16 Thread Jeffrey Sim
I thought of using geometryInfo to create the polygons, and the usual methods of .triangulate(), .stripify() and .generateNormals() to render it. It seems feasible, daunting though and I hope that there is a better way to do it. At the end of the day, I need to deform the cyclinder and that's w