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"

Author Topic: Texture Problems ???  (Read 7281 times)

argo34116

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
Texture Problems ???
« on: October 26, 2015, 02:01:10 am »

I have a 3d model of a star wars jedi interceptor. When I import it to Anim8or and add the textures it looks good (See image) When I export it then add it to Celestia there is only one texture (the r2d2 texture) covering the surface when I view it in Celestia. No sign of the other textures I added in anim8or (See Celestia image) I have included the textures and the anim8or model here as well. Is there a way to fix this and have it display properly in Celestia? Thank you.
Logged

selden

  • Full Member
  • ***
  • Posts: 222
    • View Profile
    • Modelling for Celestia
Re: Texture Problems ???
« Reply #1 on: October 26, 2015, 08:13:19 am »

I suspect the model and its textures weren't imported into Anim8or correctly. Make sure you have all of the texture images in the same directory with the model when you first load it into Anim8or. That way Anim8or is guaranteed to find all of the necessary texture images.

When I loaded your model into Anim8or with no texture images available, it complained about only one texture image.  In other words, Anim8or is only looking for the one texture image, so that's the only texture that Celestia will try to load, too.

I made a  white jpg with arrows to show the texture image's orientation, and they point in the same directions on both the Anim8or model and the 3DS model exported from it as seen in Celestia. See below.
Logged
Selden

argo34116

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
Re: Texture Problems ???
« Reply #2 on: October 26, 2015, 04:09:29 pm »

If I place the model in the same directory as the textures then Celestia will not read it. I have to place it into a Celestia/extras/SW-Jedi Interceptor/models for it to display. Then it still displays as before with only the one texture. I have the normal setup for Celestia of Extras then a folder identified as SW-Jedi Interceptor with subfolders for textures (subfolder medres) then a folder -models with the 3d model and a ssc file in the general SW-Jedi Interceptor folder. When I placed the model into the textures/medres folder with the textures it displayed with all textures when I imported to anim8or. I then exported that to the textures/medres folder and Celestia did not display it at all. When I took the model and moved it to the models folder it displayed the model, but only with the one texture.
Logged

selden

  • Full Member
  • ***
  • Posts: 222
    • View Profile
    • Modelling for Celestia
Re: Texture Problems ???
« Reply #3 on: October 26, 2015, 06:21:15 pm »

It works best for me to have two copies of the textures: one in the directory where I work on the Anim8or model, the other in Celestia's directory textures\medres for when I want to display the model in Celestia. I often do the model work in a completely separate directory tree, not in Celestia's. It's a little awkward, but produces the necessary results.
Logged
Selden

argo34116

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
Re: Texture Problems ???
« Reply #4 on: October 26, 2015, 06:42:15 pm »

I must be doing something wrong here. I have attempted this and..... nothing. Can you provide the necessary set up for it here?
Logged

selden

  • Full Member
  • ***
  • Posts: 222
    • View Profile
    • Modelling for Celestia
Re: Texture Problems ???
« Reply #5 on: October 27, 2015, 11:43:55 am »

Here's a very simple example.

I created a directory within Celestia's extras directory named "example" containing subdirectories
an8
models
textures\medres

I created an empty file in an8 named example.an8
then opened it in anim8or and created a cube
I then created a jpg surface texture image in that same directory named "surface_512.jpg" (and copied it to textures\medres)
loaded the copy of "surface_512.jpg" that's in the same directory with the .an8 model into a material and applied it to the cube.
(See the upper left Anim8or window in the screengrab below)

I did a "save" in Anim8or, then exported the cube as "example.3ds" and moved that file into the "models" subdirectory.

I created a simple example.ssc which orbits the example cube around the Sun. See the editor window at the upper right of the screengrab.

I then ran Celestia and did a "goto example" See the Celestia window at the lower left. It's using the "surface_512.jpg"  that's in the medres directory.

I've appended a zip containing the resulting directory structure, an8 and 3ds models, and their textures. You can extract that Zip into your Celestia extras directory and should get the same results that I got.
« Last Edit: October 27, 2015, 11:46:04 am by selden »
Logged
Selden