brett wrote: > I am currently doing something like > > Viewpoint[] views = null; > views = VrmlSceneObj.getViewpoints(); > int len = VrmlSceneObj.getViewpoints().length;
It seems as though you are trying to do things that are not compatible. The view information returned by a Java3D Loader only gives you the parent TransformGroup. There is no other information about it. You will have no idea which TG belongs to which Viewpoint VRML node in the source file. There's no real way to make a correspondence either as that raw node contains no DEF information or any of the other fields of a VRML Viewpoint such as the description string. So, for the purposes of a a UI selection tool, you aren't going to get much useful information from this step. > We will be arriving Sunday and will try to catch up with you at one of the events. I'll probably be easier to spot in the crowd than Alan. Look for the tall guy with long, blue, shoulder-length hair with a loud voice and aussie accent. There's not too many of us that fit that description :) -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler http://www.yumetech.com/ Author, Java 3D FAQ Maintainer http://www.j3d.org/ ------------------------------------------------------------------- "Humanism is dead. Animals think, feel; so do machines now. Neither man nor woman is the measure of all things. Every organism processes data according to its domain, its environment; you, with all your brains, would be useless in a mouse's universe..." - Greg Bear, Slant ------------------------------------------------------------------- =========================================================================== 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".
