Importing models - Texture disappears - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Importing models - Texture disappears (/thread-21765.html) Pages:
1
2
|
RE: Importing models - Texture disappears - Theforgot3n1 - 06-08-2013 (06-08-2013, 09:56 PM)sonataarctica Wrote: Put the texture into the folder that you are going to use it from, then open the MaterialEditor. I'm assuming it's just a diffuse texture so, set the type to soliddiffuse, tick the diffuse box, then select the texture you're using. I always apply the texture to the meshes last as moving/renaming it will mean the texture will not show up. I then export the model into the same folder as the material and texture files. Personally I keep one folder for each model, unless there are several similar models, then I'll just keep them all in the same folder e.g bottles. I've followed these instructions, successfully created my now 512x512 image and placed the produced .mat file with my cube. All seems good and dandy until I try to import the mesh into modeleditor in which it goes back to the exact problem I had BEFORE I fixed the texture to 512x512. Perhaps there is something in the materialeditor I should untick? These are the files that I've made and that are present when I attempt to import my .dae into my modeleditor: http://www.4shared.com/file/6Z3p-wc5/TriangulateCube1x1x1_2_.html http://www.4shared.com/file/9Xpw-4dz/TriangulateCube1x1x1_2_.html The image file that I've created the .mat with is: http://www.4shared.com/photo/gA7SRNze/Cardboard.html (http://www.4shared.com/download/gA7SRNze/Cardboard.jpg?tsid=20130608-215011-fa195c4a, if the other one malfunctions) Thanks a lot for sticking with this far... RE: Importing models - Texture disappears - ExpectedIdentifier - 06-08-2013 (06-08-2013, 10:51 PM)Theforgot3n1 Wrote:(06-08-2013, 09:56 PM)sonataarctica Wrote: Put the texture into the folder that you are going to use it from, then open the MaterialEditor. I'm assuming it's just a diffuse texture so, set the type to soliddiffuse, tick the diffuse box, then select the texture you're using. I always apply the texture to the meshes last as moving/renaming it will mean the texture will not show up. I then export the model into the same folder as the material and texture files. Personally I keep one folder for each model, unless there are several similar models, then I'll just keep them all in the same folder e.g bottles. Don't have a 4shared account so I can't download those files. I am just going to advise you the way I do it, which works for me. Put the texture into a folder inside your custom story/mods folder. Let's say the texture is called image.jpg. Open the materialeditor, follow the steps I mentioned before, selecting image.jpg as the diffuse texture. Save the material as image.mat in the same folder as image.jpg. Apply the texture to the dae model again, export the model to the folder where image.jpg, image.mat and image.msh are. Now try using the dae model in the level editor. RE: Importing models - Texture disappears - Theforgot3n1 - 06-08-2013 YES! I got it to work, following those fail-proof instructions you just gave me. Awesome. Lots of thanks! Now I've just got to master the art of texturing in Maya. Gonna take a long while fixing more complex constructions. RE: Importing models - Texture disappears - PutraenusAlivius - 06-09-2013 Did you re-applied the texture? |