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 / DGDK messing up Object Texture

Author
Message
Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 18th Dec 2008 01:27 Edited at: 18th Dec 2008 04:45
http://www.youtube.com/watch?v=3qP6TGbDx64
Video 1
http://www.youtube.com/watch?v=e_WAePQAAM4
Video 2

It explains it all

I have found out it does this with every object exported from Deled. Has there been a problem with this before?



Here is the object loaded into DGDK
Here is what texture looks like in Modeling application

Here is what model looks like in DBP

The model is textured in the modeling application.
I dont know whats going wrong.




Theres the code to load the object into DGDK, i think its a problem with DGDK reading the .x file, because the .x file loads fine into DBP.

Also when i move the camera its like the faces on the object are either see through or are jumping around. Any Ideas what to do?

Edit: I have also had this problem loading the darkmater skyboxes once i load it and move the faces/textures on all the objects jump around. But when the skybox is not loaded everything is fine.


Marvin the Magician by Soharix
http://forum.thegamecreators.com/?m=forum_view&t=141496&b=8&p=0
Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 18th Dec 2008 05:07 Edited at: 18th Dec 2008 05:39
I have Edited the previous post with 2 Youtube videos at the top of the post.

I have had a friend tell me it is Z-Fighting where 2 pollys or faces are fighting for the same spot. But if thats the case why would it not show up in DBP?

Heres the DBP video.
http://www.youtube.com/watch?v=7YUJSzZxT2Y
May have to wait acouple mins for Youtube to process it.

Edit: New vid the same as above but in GDK
http://www.youtube.com/watch?v=HUVY2qeLGWM


Marvin the Magician by Soharix
http://forum.thegamecreators.com/?m=forum_view&t=141496&b=8&p=0
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 18th Dec 2008 05:53
You must have set the near clipping plane for the camera to 0.0, you should never do this.

Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 18th Dec 2008 06:12
Ok i fixed the glitch looking faces but the objects texture is still messed up when the object is loaded.

Attatched Video.

The objects textures load fine in DBP but when loaded in GDK it looks to be stretched


Marvin the Magician by Soharix
http://forum.thegamecreators.com/?m=forum_view&t=141496&b=8&p=0

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-25 09:26:47
Your offset time is: 2024-11-25 09:26:47