Yes no details re colours. Unfortunately I can apply any range of colours in
Amapi and have them rendered (by Amapi ) but it appears they dont export
this information.
Just for kicks here is the sphere. Are you able to tell me if Im applying a
colour or texture ? the Amapi material editor is not clear on exactly what
Im applying to the object?
Kind Regards
A
----- Original Message -----
From: "Adrian Meekings" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 11, 2001 1:31 PM
Subject: Re: [JAVA3D] loading a 3ds file constructed in Amapi
> Thanks Ill look into this...
> Your right I didnt realise that about modelers. Trap for young players.
>
> Cheers
> A
> ----- Original Message -----
> From: "John Wright" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 22, 2001 11:11 AM
> Subject: Re: [JAVA3D] loading a 3ds file constructed in Amapi
>
>
> > Adrian,
> >
> > Most likely your sphere doesn't have a material applied (i.e. it's
> > "invisible").
> >
> > The best first step to debugging these issues is to look at the log
> > output. If you aren't getting any materials then you won't see
> > anything. Our loader doesn't render geometry unless it has a color.
> > Many people don't understand it because viewed in a modeling program
> > like 3D Studio Max you'll see an object color applied so you can see
> > your model as you build it.
> >
> > Look for lines in the log file like:
> > Material Name: Material #26
> > Mat Ambient Chunk ChunkID = a010 Length: 15
> > Color 24 Chunk ChunkID = 11 Length: 9Color Value (r,g,b) =
> > 25,25,25
> > Mat Diffuse Chunk ChunkID = a020 Length: 15
> > Color 24 Chunk ChunkID = 11 Length: 9Color Value (r,g,b) =
> > 127,127,127
> > and then down further:
> > Face Array Chunk ChunkID = 4120 Length: 1715
> > Number of Faces: 120
> > Mesh Mat Group Chunk ChunkID = 4130 Length: 261
> > Applying Mat Name: Material #32 <- if no material applied
> > it's invisible!
> > Number of triangles = 120
> >
> > - John Wright
> > Starfire Research
> >
> > Adrian Meekings wrote:
> > >
> > > Hello all
> > >
> > > Im having dificulty seeing a simple sphere that Im loading using
> Starfire Research 3ds loader (as a test) I placed ambient lighting within
> the scene
> > > but still no luck. Can anyone please tell me what Im doing wrong?
> > >
> > > The information to screen appears to inform me that the loader is
> working (there are no error messages)
> > >
> > > my code is:
> > >
> > > Inspector3DS loader = new
> Inspector3DS("S:/JDK_Forte/forte4j/sphere/sphere.3ds");
> > >
> > > loader.setLogging(true); // turns on writing a log file
> > > loader.setDetail(7); // sets level of detail of report log
> > > loader.setTextureLightingOn(); // turns on texture modulate mode
> > >
> > > loader.parseIt();
> > > TransformGroup max = loader.getModel();
> > > Transform3D sphereTransform = new Transform3D();
> > > max.getTransform(sphereTransform);
> > > //sphereTransform.setScale(new Vector3d(0.005,0.005,0.005));
> > > //sphereTransform.setScale(new Vector3d(0.001,0.001,0.001));
> > > //sphereTransform.setScale(new Vector3d(1.0,1.0,1.0));
> > > max.setTransform(sphereTransform);
> > > zoomTransformGroup.addChild(max);
> > >
> > > The loader will import successfully a .3ds file that I pulled of the
web
> > > (a coffie table ) but not my sphere.
> > >
> > > The sphere was built and exported by Amapi.
> > >
> > > Kind Regards
> > > A
> > >
> > >
>
===========================================================================
> > > 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".
> >
> >
>
>
===========================================================================
> 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".
>
>
sphere.3ds