Savas Cetin wrote: > But, and that's my problem, when I'm loading .vrml files, the objects are sometimes >very small or sometimes somewhere in the viewer, so that I have to search the object. > > Is there a method from Java 3D that centralized the objects or what have I to do???
The VRML loaders typically leave the objects how they were declared in the file (IIRC, Sun's VRML97Player that came with their loader attempted to correct this and recenter objects). Unfortunately, most modelling tools like 3DSMax put objects are places far away from the center. The result is VRML files that have the objects placed a long way away (at least relative to your standard viewpoints). To move objects closer to the center of the screen, here's the FAQ entry: http://www.j3d.org/faq/appearance.html#view -- 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".