Thanks John! Setting the scale to a smaller value I found finally the model. :-)
Levente -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of John Wright Sent: Thursday, February 06, 2003 2:56 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] loading 3ds Levente, How big is your model? I see you also have a "setScale" line. It's quite possible you are "inside" your model. There are lots of other possibilities (clipping planes and location of the actual model). Try setting some good clipping values and zoom in and out. Most likely your model is there. - John Wright Starfire Research Levente Molnar wrote: > > Hi all! > > I'm using Starfire's 3ds loader to load 3DMax models. > During the load process it looks like to be everything OK. > But after I followed the (Starfire's) instructions nothing shows up in my > universe. > What I'm doing wrong? > > Thanks. > Levente > > P.S. > I have AmbientLight and DirectionalLight added. > > ... > Inspector3DS loader = new Inspector3DS("D:\\j3d...\\src\\SomeModel.3DS"); > loader.setTextureLightingOn(); > //loader.setLogging(true); > loader.parseIt(); > TransformGroup theModel = loader.getModel(); > Transform3D t3dmodel=new Transform3D(); > t3dmodel.setScale(10); > ... > BranchGroup bg=new BrachGroup(); > bg.addChild(theModel); > ... -- This message has been scanned for viruses and dangerous content by MailScanner with Panda AV for Linux, and is believed to be clean. =========================================================================== 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".
