[JAVA3D] 3D wireframed cylinder

2004-03-30 Thread demir sencer
hello..i'm a newbie in java3D world..i started to use it 2.5 weeks ago for a project.. i want to draw a 3D hollow semi-cylinder without caps and wireframed.. if anybody can help me for this i'll be glad to him/her.. thanks from now on to spend your time to read my message.. ps:just to give u a

Re: [JAVA3D] 3D wireframed cylinder

2004-03-30 Thread Matti Kannala
This may help: Cylinder cyl = new Cylinder(); Shape3D wireframedCylinder = cyl.getShape(Cylinder.BODY); Appearance app = new Appearance(); PolygonAttributes polAttr = new PolygonAttributes(); polAttr.setPolygonMode(PolygonAttributes.POLYGON_LINE); app.setPolygonAttributes(polAttr); wireframedCylin

Re: [JAVA3D] 3D wireframed cylinder

2004-03-30 Thread demir sencer
thnx alot matti..it helped me to create a wireframed open cylinder... --- Matti Kannala <[EMAIL PROTECTED]> wrote: > This may help: > > Cylinder cyl = new Cylinder(); > Shape3D wireframedCylinder = > cyl.getShape(Cylinder.BODY); > Appearance app = new Appearance(); > PolygonAttributes polAttr = ne

[JAVA3D] JPanel paintComponent and Canvas3D issues.

2004-03-30 Thread Andy Dunmore
So after spending quite a bit of time messing around, I've finally got my canvas3D in my JPanel. At the moment I've got the commands that construct the simpleUniverse inside the paintComponent method, but I'm fairly certain that this is wrong because every time it repaints it the intensity of the o

Re: [JAVA3D] JPanel paintComponent and Canvas3D issues.

2004-03-30 Thread Gilson Laurent
Hello > At the moment I've got the commands that construct the simpleUniverse > inside the paintComponent method, but I'm fairly certain that this is wrong yes, it is. > I think it's re-creating the universe and pasting it over the current one, yes, that may be the case. > So where should the

[JAVA3D] PickCanvas

2004-03-30 Thread Leandro L Dihl
Hi! I trying to get a Shape3D, with mouseClicked(MouseEvent e), but when I click on any object in my universe this error happens. I try setting this capabilitys, but didn't solve this problem. BranchGroup.ALLOW_BOUNDS_READ BranchGroup.ALLOW_CHILDREN_READ BranchGroup.ALLOW_CHILDREN_WRITE Transfor