Skip to main content

Adding a goemetry object in an already started applet, behvior ?

3 replies [Last post]
spytox4
Offline
Joined: 2006-02-14

Hello there,

I would like to add a geometric form (cube, box, cone etc..) in an already
started applet. I think creating a specific behavior would be the most
appropriate.

Has anybody done this kind of thing before ?

Many thanks.

Gwena

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
messengers
Offline
Joined: 2004-04-18

>I would like to add a geometric form (cube, box, cone etc..) in an already started applet

you could use Switch. That is a special kind of branch group where you specify which shape in the group to render.

regards

darrinps
Offline
Joined: 2003-06-12

> >I would like to add a geometric form (cube, box,
> cone etc..) in an already started applet
>
> you could use Switch. That is a special kind of
> branch group where you specify which shape in the
> group to render.

I do this using a switch and it works very well. I give the user the option to toggle on/off sets of models (an upper and a lower set) that rest on top of other models.

Anonymous

..see this topic "add objects to live or compiled scenegraph":
http://www.javadesktop.org/forums/thread.jspa?forumID=55&threadID=12766