#1 2014-09-15 14:13:44

spikeymikey0196
Member

Textures arent loading with custom models

So basically, i've got a few models that i like to use and i cant seem to get the textures to work, all i get is this: 91VLAxe.png

here's what the model should look like: cmbvhq2.png?1?3378

it's really frustrating me now, because i've done everything correctly, just the textures arent loading.. anybody help me out?

Offline

#2 2014-09-16 01:47:12

rebit
Member

Re: Textures arent loading with custom models

I have the same problem than you. Im new in 3D... So... i think you need export your model to .OBJ with a Unwrapped texture.

create a obj.cfg file  (no  modelname.cfg )

Put the config

objload woman.obj
objskin * woman.png       
objbumpmap * woman.png

will work !

Offline

#3 2014-09-16 14:04:19

spikeymikey0196
Member

Re: Textures arent loading with custom models

it is already a .obj file xD and i already have a obj.cfg.. so xD its just not working at all.. do you reckon i should remove the textures from the model, before exporting to .obj?

Last edited by spikeymikey0196 (2014-09-16 14:04:55)

Offline

#4 2014-09-16 15:01:18

almightybyron
Member

Re: Textures arent loading with custom models

Are you able to upload the .cfg file?

Offline

#5 2014-09-16 17:44:52

spikeymikey0196
Member

Re: Textures arent loading with custom models

almightybyron wrote:

Are you able to upload the .cfg file?

Yeah, the contents are here:

 objload alexia.obj

// Load textures.
//      Mesh Name   Diffuse Texture  Masks Texture   Environment Mapping Scale (MIN MAX)
objskin Hair        hair.png      	.png       0.1 0.4
objskin Body		body.png		.png		0.1 0.4
objskin Face		head.png		.png		0.1 0.4

// Load normal map texture.
//         Mesh Name   Normal Map Texture
//objbumpmap Hair        normal.png
//objbumpmap Body        normal.png
//objbumpmap Face        normal.png


mdlscale 100         // Global Scale Level             = 100%
mdlspec 100          // Specularity Level              = 100%
mdlshadow 1          // Shadow Casting                 = True 

Offline

#6 2014-09-16 19:02:15

almightybyron
Member

Re: Textures arent loading with custom models

Why is there ".png" on its own under Masks?

Offline

#7 2014-09-16 20:17:45

spikeymikey0196
Member

Re: Textures arent loading with custom models

almightybyron wrote:

Why is there ".png" on its own under Masks?

I did null them, but it didnt work and i wasnt entirely sure on how to make it so it didnt load a mask.. as i dont know how to make a mask for the model so.. xD

Offline

#8 2014-09-16 20:21:09

Unnamed
Member

Re: Textures arent loading with custom models

I think this way it causes an error so it doesn't load the diffuse texture as well.

spikeymikey0196 wrote:

as i dont know how to make a mask for the model so.. xD

red: specularity, blue: env mapping, green: glow

Offline

#9 2014-09-16 20:28:18

spikeymikey0196
Member

Re: Textures arent loading with custom models

Unnamed wrote:

red: specularity, blue: env mapping, green: glow

thanks :3 but yeah, i've just removed the .png's under the masks and it still has had no effect.. so maybe i'll try make masks for it?

Offline

#10 2014-10-03 06:37:40

spikeymikey0196
Member

Re: Textures arent loading with custom models

Yeah, it turns out the problem was really simple xD Turns out that loading multiple textures seems to be a real job for tesseract, so i've just made one texture for all my models instead ^_^

Offline

#11 2014-10-08 06:56:11

Nieb
Administrator

Re: Textures arent loading with custom models

Can you give me a link to the model?

Offline

#12 2014-10-08 07:49:51

spikeymikey0196
Member

Re: Textures arent loading with custom models

Offline

Board footer