Horst, This one comes up often.
You do need to structure your scene such that you can add and remove branchgroups to handle what you want to do. Branchgroups are the only thing you can add to a live scene. If you know all your data upfront some people will use "switch nodes" to just switch on and off what is displayed, but I don't think this fits your situation. - John Wright Starfire Research "Horst Walther (SiG)" wrote: > > SiG Software Integration GmbHHi all, > > simple question: how can I add objects, e.g. simple spheres, to a life > graph? > > Background is: I like to dynamically add 3d-datapoints read from a external > data feeding device each minute to even the same transformation group. > Depending on the users choice on the limit the oldest data points should > disappear then, while he still is able to rotate, translate an zoom it > manually. > > I have already learned from a posting of Nathalie (Nov 8, 2000), that I have > to set for "each Group node in which I want to add or modify children I must > set the capabilities ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE and/or > ALLOW_CHILDREN_EXTEND. > > Adding a new node results in the error message "only a BranchGroup node may > be added". > > Does it mean, that I have to reconstruct my BranchGroup and compile it every > time (every minute in my case) for all that hundreds or (depending on the > users choice) thousands of data points? > > If so - is there now workaround? Are there no "not so obvious features" > hidden somewhere in the deep j3d-structure, which could enable a more > flexible near life behaviour? > > I would be thankful for any hints, comments and of course a MiRCE (minimal > running code example). > > thanks > > Horst > > ------------------------------------------------ > > Dr. Horst Walther > SiG Software Integration GmbH > Chilehaus A * Fischertwiete 2 > D-20095 Hamburg > phone: +49 40 32005 439 > Fax & Voice-Mail: +49 40 8708306 8 > Mobil & Voice box: +49 171 2145502 > e-Mail: [EMAIL PROTECTED] > WWW: http://www.si-G.com > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff JAVA3D-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
