Hi Csaba, Try to have a look at j3dfly-utils.jar.
Under j3dfly-utils.jar/com/sun/j3d/demos/utils/scenegraph/traverser there is a class called NodeChangeProcessor. It searches a scenegraph for the specified classes(e.g. Shape3D) and so you can easily set the capabilities. You can get the above mentioned jar from http://java3d.netbeans.org (you need to check out the source and build it) I can also send you mine; just drop me a line. hth andreas Csaba Pales wrote:
Hi, I'm working on a simple application that requires picking. I have some models in VRML format, and want to pick them. I've already worked a bit with picking, but I only can pick simple shape objects (with picktool, pickcanvas...). What I need here is to pick a whole branchgroup that contains (possibly) more shapes. If I use the xj3d loader to load the models, I get a branchgroup, now I could search all shapes in this group and implement picking on them, but it's not so easy to set all capabilities in the whole tree... Is there another way to do this? thanks in advance csaba p.s.: The application should be quite modular to be able to load different models (without knowing anything about them) and make them pickable... =========================================================================== 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".
-- Andreas Moessner, Software Developer, IFAD A/S Forskerparken 10, DK-5230 Odense M, Denmark Phone: +45 6315 7131, Fax: +45 6593 2999 Email: [EMAIL PROTECTED] WWW: http://www.ifad.dk =========================================================================== 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".
