Author Topic: How Do I Retexture A Blank Mesh?  (Read 2322 times)

Offline Moonpeak

  • Curious Wanderer
  • *
  • Posts: 22
  • Country: 00
  • Floof-O-Meter: 0
  • Hi I'm Moonpeak
    • View Profile
How Do I Retexture A Blank Mesh?
« on: September 23, 2015, 09:27:58 pm »
All right, so I have recently downloaded a few objects without textures and I've been digging through my files to try to find .material files that actually work but I can't find any. I know you can use the crystalMat and rockMat but I'm not quite sure where to actually find those in a folder.

(Im trying to retexture a wooden house but it shows up white..) 


Offline Enoki

  • Herba Chronographus
  • Elder Grey Pelt
  • ****
  • Posts: 2,698
  • Country: us
  • Floof-O-Meter: 121
  • Who lives in a portabella under a tree?
    • FantasyFungus
    • EnokiTheDryphon
    • Enoki_G
    • View Profile
    • The Realms of Yugure
Re: How Do I Retexture A Blank Mesh?
« Reply #1 on: September 23, 2015, 10:42:55 pm »
The textures y'er looking for are located in the My_Objects folder. If ye don't know where that is, {But I assume ye do since ye had to place these meshes there to begin with}, I can help guide ye through that step.

If ye can't find a texture that looks good on the house, it may be hard to create y'er own. The textures are like a map for the mesh. Certain parts of the texture picture are the roof, some are the doorways, and so on and so forth. Therefore, trying to do y'er own texture and 'aving the roof be shingles and the walls be wood will be a tad difficult if ye don't know how the mesh is mapped out on the texture.

What item pack is this? If 'tis GLBuildings, it may come with one. Other item packs come with textures so check y'er download to see if it does, in fact, come with a texture.

Tmw you planned a ten minute nap but instead took a whole year.
☙Icon by dA JRProducts; Sig by PocketMutt❧

Offline Moonpeak

  • Curious Wanderer
  • *
  • Posts: 22
  • Country: 00
  • Floof-O-Meter: 0
  • Hi I'm Moonpeak
    • View Profile
Re: How Do I Retexture A Blank Mesh?
« Reply #2 on: September 24, 2015, 01:42:47 am »
The textures y'er looking for are located in the My_Objects folder. If ye don't know where that is, {But I assume ye do since ye had to place these meshes there to begin with}, I can help guide ye through that step.

If ye can't find a texture that looks good on the house, it may be hard to create y'er own. The textures are like a map for the mesh. Certain parts of the texture picture are the roof, some are the doorways, and so on and so forth. Therefore, trying to do y'er own texture and 'aving the roof be shingles and the walls be wood will be a tad difficult if ye don't know how the mesh is mapped out on the texture.

What item pack is this? If 'tis GLBuildings, it may come with one. Other item packs come with textures so check y'er download to see if it does, in fact, come with a texture.

I found the textures but the don't work when I type them in even when I put Mat at the end. This is where I got the mesh btw: http://giddyfox.deviantart.com/art/Wooden-House-FeralHeart-Mesh-428359774

Offline Enoki

  • Herba Chronographus
  • Elder Grey Pelt
  • ****
  • Posts: 2,698
  • Country: us
  • Floof-O-Meter: 121
  • Who lives in a portabella under a tree?
    • FantasyFungus
    • EnokiTheDryphon
    • Enoki_G
    • View Profile
    • The Realms of Yugure
Re: How Do I Retexture A Blank Mesh?
« Reply #3 on: September 24, 2015, 03:50:16 pm »
Hmm, try checking the meshes' material file. It may be set up for ye to pick and choose what textures ye want to use on the buildings. Also check for typos of the textures' names in both the material file and when ye type it in. Capitalization does matter as well, so don't forget to capitalize any letters that are shown as such.

As soon as I finish work and get off the forum from m'phone, I shall get the mesh pack and see what I can do from there. ;)

Tmw you planned a ten minute nap but instead took a whole year.
☙Icon by dA JRProducts; Sig by PocketMutt❧

Offline hugrf2

  • Purple Derple
  • Honored Hero
  • *****
  • Posts: 5,314
  • Country: us
  • Floof-O-Meter: 120
  • wrow
    • hugrf
    • channel/UChLphw5s3-hS8EFAgnNv6FQ
    • hugrf
    • hugrf
    • Ain't nobody got time fo' dat
    • View Profile
Re: How Do I Retexture A Blank Mesh?
« Reply #4 on: September 24, 2015, 10:04:42 pm »
See that "BaseWhite" thing on your screen? (It's in the screenshot, at least.) I'm sure you already know how this comes in.

But the thing is, if the texture is not included in a material file it won't work unless you put it into one. If it doesn't work even then then there's something wrong with the material file.

First, though, let me show you an example of what I mean.
material rockMat
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture rockTex.jpg
         }
      }
   }
}

So for example you'd be putting in "rockMat" (With caps. It's caps sensitive, don't forget that!) where you'd want a rock sort of texture.

If the texture still isn't working even if it has its own material file something must be wrong with it. I'd suggest using another mesh's texture, though, like the default rocks and trees or something else you've downloaded. Or maybe even try to find a way to fix it, like finding the texture for the house (If it wasn't included in the download it's not there. So sadly, you'd have to go back to my suggestion about borrowing other mesh's textures.) and taking that to use in a new material file. You can use my example.

Hope this helped as well!

Offline ritat

  • Incarnated Angel
  • Pack & Pride Representative
  • ****
  • Posts: 1,203
  • Country: 00
  • Floof-O-Meter: 156
  • Will be inactive.
    • View Profile
Re: How Do I Retexture A Blank Mesh?
« Reply #5 on: September 26, 2015, 09:02:09 am »
Hugrf does have a point and I have tested some things out and it worked. I found out that the files are in .tga form, that's one reason it was a whitebase. So I had to transfer all of them to .jpg. Still, it didn't work but now my game is able to detect the files. So I had to make a few changes in the .material file. The owner of this object didn't double check before sending it out, so that's a mistake. Here, I have all the files correctly done for you on mediafire. Just place them all in the my_objects folder. c: Here are the results:

Download (new): Click meh!

(By the way, the .object file is not necessary so you can delete it. Object files are just added when there are 6 or more objects to be placed as a group, and this is simply 1. You can load it immediately in the mesh tab once you replace the newer files I provided you with). c:
« Last Edit: September 26, 2015, 10:17:54 am by Ritatalia »