Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - gmppz28

Pages: [1]
1
General Anim8or Forum / Re: Newbie- Light Normals question
« on: April 19, 2009, 10:22:29 am »
Thanks for the reply.

Here is the output of conv3ds for a simple triangle with shiny blue sides.

I exported it from Anim8or, then used "conv3ds -x BluTri.3ds"

It doesn't appear there are normals here, but I am not very familiar with x files. Is there something you have to do in anim8or to tell it to generate the normals?

-David



xof 0302txt 0064
Header {
 1;
 0;
 1;
}

Material x3ds_mat_ShinyBlue {
 0.054902, 0.035294, 0.913725, 1.000000;
 34.000000;
 1.000000, 1.000000, 1.000000;
 0.00, 0.00, 0.00;
}

Frame x3ds_mesh01 {
 Mesh mesh01 {

   4;
   -0.169208; 22.096481; -0.000008;,
   -0.169208; -7.591108; -20.992308;,
   18.010668; -7.591108; 10.496154;,
   -18.349085; -7.591108; 10.496154;

   4;
   3;0,2,1;,
   3;0,3,2;,
   3;3,0,1;,
   3;3,1,2;
  MeshMaterialList {
   1;
   1;
   0;
   {x3ds_mat_ShinyBlue}
  }
  MeshTextureCoords {
   4;
   0.500000;0.000000;,
   0.500000;1.000000;,
   1.000000;1.000000;,
   0.000000;1.000000;
  }
 }
}

2
General Anim8or Forum / Newbie- Light Normals question
« on: April 16, 2009, 10:00:26 pm »
I search and couldn't find any information on this even though it's probably been asked a million times...but I've been struggling with this for some time.

I am trying to get the an8 models I generate to load into a DirectX application I am writing. I create just a simple sphere, add a material color to it, and save it as an an8 just to keep it.

Then I export it as a *.3ds file. I use conv3ds to convert it to an *.x file.

When I try to view it at this point (tried with deveral different viewers) it has no lighting normals whatsoever.

I am trying to determine if it is conv3ds or Anim8or which is dropping the normals. Is there something you need to do to tell Anim8or to create the lighting normals, or does it automatically create them when you export the file as 3ds?

Thanks!
-David


Pages: [1]