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
Importing models - Texture disappears
Theforgot3n1 Offline
Member

Posts: 192
Threads: 20
Joined: Apr 2012
Reputation: 6
#11
RE: Importing models - Texture disappears

(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/Tri...x1_2_.html
http://www.4shared.com/file/9Xpw-4dz/Tri...x1_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...1-fa195c4a, if the other one malfunctions)

Thanks a lot for sticking with this far...

Confusion: a Custom Story - Ch1 for play!
http://www.frictionalgames.com/forum/thread-15477.html
About 50% built.
Delayed for now though!
(This post was last modified: 06-08-2013, 10:54 PM by Theforgot3n1.)
06-08-2013, 10:51 PM
Website Find
ExpectedIdentifier Offline
Member

Posts: 234
Threads: 10
Joined: Sep 2012
Reputation: 11
#12
RE: Importing models - Texture disappears

(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.

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/Tri...x1_2_.html
http://www.4shared.com/file/9Xpw-4dz/Tri...x1_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...1-fa195c4a, if the other one malfunctions)

Thanks a lot for sticking with this far...

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.
06-08-2013, 11:02 PM
Find
Theforgot3n1 Offline
Member

Posts: 192
Threads: 20
Joined: Apr 2012
Reputation: 6
#13
RE: Importing models - Texture disappears

YES! I got it to work, following those fail-proof instructions you just gave me. Awesome. Lots of thanks! Smile

Now I've just got to master the art of texturing in Maya. Gonna take a long while fixing more complex constructions. Tongue

Confusion: a Custom Story - Ch1 for play!
http://www.frictionalgames.com/forum/thread-15477.html
About 50% built.
Delayed for now though!
(This post was last modified: 06-08-2013, 11:40 PM by Theforgot3n1.)
06-08-2013, 11:39 PM
Website Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#14
RE: Importing models - Texture disappears

Did you re-applied the texture?

"Veni, vidi, vici."
"I came, I saw, I conquered."
06-09-2013, 01:45 AM
Find




Users browsing this thread: 1 Guest(s)