Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
new model problem
Brute Offline
Member

Posts: 197
Threads: 10
Joined: Aug 2011
Reputation: 3
#1
new model problem

Hey guys, I have a small problem with importing models in the game. I succesfully manage it to create the Model in the Model Editor, that means:

I created a Material with the texture, I manage it to import the Mesh in the Editor, then I picked the Material and it gets attached to the Model => The Model is visible and has it's texture.

But when I will set it in a Level, it hasn't it's material anymore and its unvisible... Has anyone an idea, what is wrong?





(This post was last modified: 06-19-2012, 10:11 PM by Brute.)
06-09-2012, 01:45 PM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#2
RE: new model problem

Setting the material in the model editor will not work, you need to apply the correct DDS file which should have the same name as your .mat already in your 3D modeling package and then export the model.
06-09-2012, 01:59 PM
Find
Brute Offline
Member

Posts: 197
Threads: 10
Joined: Aug 2011
Reputation: 3
#3
RE: new model problem

(06-09-2012, 01:59 PM)Traggey Wrote: Setting the material in the model editor will not work, you need to apply the correct DDS file which should have the same name as your .mat already in your 3D modeling package and then export the model.
Ah, okay. erm... can you explain that a little bit more? Confused

There isn't a .dds file in the model. I only have:
I only have a .b3d ; .dae ; .ent ; and the texture files from the models. So do I have to create a .dds file, or what must I do now, to let the model work? (I am total beginner in this, so I really need help by this... Shy )





06-09-2012, 04:28 PM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#4
RE: new model problem

(06-09-2012, 04:28 PM)Brute Wrote:
(06-09-2012, 01:59 PM)Traggey Wrote: Setting the material in the model editor will not work, you need to apply the correct DDS file which should have the same name as your .mat already in your 3D modeling package and then export the model.
Ah, okay. erm... can you explain that a little bit more? Confused

There isn't a .dds file in the model. I only have:
I only have a .b3d ; .dae ; .ent ; and the texture files from the models. So do I have to create a .dds file, or what must I do now, to let the model work? (I am total beginner in this, so I really need help by this... Shy )
Convert your textures into a DDS format, this can be done with plugins for The GIMP or Photoshop.

What modeling suite software are you using?
06-09-2012, 05:16 PM
Find
Brute Offline
Member

Posts: 197
Threads: 10
Joined: Aug 2011
Reputation: 3
#5
RE: new model problem

Ah okay thanks. I am using Blender. ^^





06-09-2012, 06:01 PM
Find
Brute Offline
Member

Posts: 197
Threads: 10
Joined: Aug 2011
Reputation: 3
#6
RE: new model problem

Okay, I managed to convert the normal texture into a .dds with Gimp, but what is with the .spec and .norm pictures? I think I have to put them together in a .dds, but I don't know how...





06-10-2012, 09:35 AM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#7
RE: new model problem

No you do not have to put them together into one.

example.dds (diffuse texture)
example_spec.dds (spec)
example_nrm.dds (normal map)

That's how I arrange my files.
Then you simply run materialeditor.exe, apply them all into the material and save it out into your custom model folder.
06-10-2012, 12:22 PM
Find
Brute Offline
Member

Posts: 197
Threads: 10
Joined: Aug 2011
Reputation: 3
#8
RE: new model problem

I did everything like you said, but the model is still not visible in the map editor. Huh





06-13-2012, 01:15 PM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#9
RE: new model problem

Upon exporting your model, make sure that there is a material applied to the model and that it directs towards your example.dds located within your amnesia directory. Also the .mat file must be named the same thing as example.dds but with the .mat extension instead.
06-13-2012, 06:16 PM
Find
Brute Offline
Member

Posts: 197
Threads: 10
Joined: Aug 2011
Reputation: 3
#10
RE: new model problem

You mean in Blender then. Okay, but I have no idea, how I can set a texture on the model there, I thought, because I want import a model from another game to Amnesia, that the model has already a texture on it... xD
So, do you know, how I can do this there... Blush





06-14-2012, 03:06 PM
Find




Users browsing this thread: 1 Guest(s)