Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Wierd model and texture

Author
Message
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 5th Nov 2008 20:38
Hi!

I'm having problems with my model and texture not being displayed right. I'm using the Dark Matter models( the alien-idle and it's texture ).

Here is how I load the texture
dbLoadImage( image_path , TextureID );

Here is how I load the model,
dbLoadObject( mesh_path , ObjectNumber );

and here is how I set the texture
dbTextureObject( ObjectNumber , TextureID );

All the data(IDs and paths) is validated first so it's not something wrong with the vars.

Screeny attached


( Is .png the correct format? )

Attachments

Login to view attachments
Wikaman1
16
Years of Service
User Offline
Joined: 17th Aug 2008
Location: Scotland
Posted: 5th Nov 2008 23:59
my guess is that there is something wrong with the actual texture. How did you make the texture file?
kBessa
18
Years of Service
User Offline
Joined: 8th Nov 2006
Location: Manaus, Amazonas, Brazil
Posted: 6th Nov 2008 01:16
The dbLoadObject loads the texture specified in the .x file automaticaly, you should not need set the objects texture.

[center][center]

Login to post a reply

Server time is: 2024-11-25 05:50:54
Your offset time is: 2024-11-25 05:50:54