Frictional Games Forum (read-only)
Exporting Textures from Maya? - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Exporting Textures from Maya? (/thread-8119.html)

Pages: 1 2


Exporting Textures from Maya? - Linus Ågren - 05-19-2011

How do you export a texture from Maya? I got this sledgehammer that I made textures for, but I got alot of separate textures for separate parts. How do you make it into one single texture file?


RE: Exporting Models from Maya? - palistov - 05-19-2011

File -> Export All

File type: DAE_FBX export

This will export your model as a .dae which can then be imported to the ModelEditor and saved as an entity, or placed in the LevelEditor as a static object. Enjoy Big Grin

By the way, if your model is of quality, share it on the Showcase forums! People are always excited and look forward to seeing new models!


RE: Exporting Models from Maya? - Linus Ågren - 05-19-2011

I tried that, but I didn't find DAE_FBX. I need to search for a plugin I guess.


RE: Exporting Models from Maya? - palistov - 05-19-2011

Hm, that's odd. That plugin came with my version of Maya. Yeah search for it. Good luck mate


RE: Exporting Models from Maya? - Linus Ågren - 05-19-2011

Hmm.. I downloaded and installed FBX plugin for Maya x64. Still, I cannot see the plugin :|

Maybe I'm looking at the wrong place?

Edit: I found out it was deactivated by Maya so I had to reactivate the script. Thx
Edit2: I got this error while exporting:

Code:
While reading or writing a file the following notifications have been raised.
    Warning: Null not supported by COLLADA. Node pCube1 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform24 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pCube2 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform23 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pTorus1 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform22 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pTorus2 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform21 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node Text_T_1 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node Char_T_1 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node Trim_Text_T_1_1 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node Text_T_2 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node Char_T_2 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node Trim_Text_T_2_1 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node polySurface2 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform20 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pCone1 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform19 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pTorus3 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform18 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pCone2 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform17 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pTorus4 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform16 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pCube3 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform1 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pPyramid1 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform9 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pPyramid2 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform10 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pPyramid3 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform11 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pPyramid4 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform12 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pPyramid5 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform13 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pPyramid6 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform14 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pPyramid7 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform8 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pPyramid8 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform7 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pPyramid9 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform6 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pPyramid10 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform5 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pPyramid11 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform4 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pPyramid12 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform3 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node pPyramid13 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform2 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node polySurface3 will lose its geometric information. The node transforms will be saved.
    Warning: Null not supported by COLLADA. Node transform15 will lose its geometric information. The node transforms will be saved.

Need help here =<

Edit3: I also noticed, when exporting a non-textured model, it works just fine, but if I import it into the ModelEditor, it doesn't show up.


RE: Exporting Models from Maya? - palistov - 05-19-2011

Dunno, man :S I'll give it a search or two tomorrow, I have a final exam tomorrow in the morning so it's bed time for me! Keep at it though, modelling work is greatly needed in this community Big Grin


RE: Error when exporting model from Maya - Linus Ågren - 05-19-2011

Hmm.. I noticed it was just invisible in the model editor.

Now I'm wondering how to make a DDS file of a whole textured object. I mean, I got multiple textures for separate parts and I need to make it into one file.


RE: Exporting Textures from Maya? - Tottel - 05-19-2011

You need to make it in 1 unwrap so you can use 1 single texture sheet.
But, if it's a more complex model, it can actually be better to use 2 or more smaller textures instead of 1 big one. I'm not sure if Amnesia supports this though.


RE: Exporting Textures from Maya? - Linus Ågren - 05-19-2011

Well, it's not that much of a complex model. It's just a sledgehammer with some rings as details.
I don't know how to make an unwrapped texture sheet though.


RE: Exporting Textures from Maya? - MrBigzy - 05-19-2011

You can do separate textures, similar to the grunt. Just save the texture with the prefix of the object name (ie: grunt's hair in the model is named "hair", so it's texture is named "servant_grunt_hair.dds").

If you want to unwrap it all and make it a single texture, just copy and paste all the textures and make a single dds file with it, just place the textures somewhere in the square to take up as much space as possibe (the texture should have dimensions of pow2). Then you can edit the UV by going to "window" on the top, and then "UV texture editor".

PS: Don't use FBX Dae, it's not opencollada and it has a lot of compatability issues.