Anim8or Community

General Category => General Anim8or Forum => Topic started by: argo34116 on October 26, 2015, 06:01:10 am

Title: Texture Problems ???
Post by: argo34116 on October 26, 2015, 06: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.
Title: Re: Texture Problems ???
Post by: selden on October 26, 2015, 12:13:19 pm
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.
Title: Re: Texture Problems ???
Post by: argo34116 on October 26, 2015, 08: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.
Title: Re: Texture Problems ???
Post by: selden on October 26, 2015, 10: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.
Title: Re: Texture Problems ???
Post by: argo34116 on October 26, 2015, 10: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?
Title: Re: Texture Problems ???
Post by: selden on October 27, 2015, 03:43:55 pm
Here's a very simple example.

I created a directory within Celestia's extras directory named "example" containing subdirectories

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.