Hi Levente,

Please look at ObjLoad example that is part of the Java3D SDK. Although the
code is for OBJ files, aside from the  actual load call, the rest of the
code can be used verbatim. I had a similar experience when I first started
loading VRML files a while back. The trick is to set the view position
parameters. When I first got this problem, I created a vanilla loader using
the example as well as the settings in the example. I then included the
features in my application one by one. Trust me, the loaders will work.

Regards

Mark Vasudevan
VSi

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Levente Molnar
Sent: Thursday, February 06, 2003 5:15 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] loading 3ds


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".

===========================================================================
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".

Reply via email to