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 / Is dbTextureLimb broken?

Author
Message
_Pauli_
AGK Developer
15
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 16th Dec 2009 12:51 Edited at: 16th Dec 2009 12:52
I tried using this command in the simplest scenario possible, but it doesn't do anything!`

I created a plain DarkGDK project.
Then I loaded a character model (of which I know that limbs get recognized properly) and loaded a simple image.
When I use dbTextureLimb(obj,limb,image) nothing happens.
(I know that I used the correct limb-id)
dbSetLimbEffect() doesn't seem to work either!

Am I missing something or is this command just broken?
Has anybody got this to work?

Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.
_Pauli_
AGK Developer
15
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 16th Dec 2009 23:51 Edited at: 16th Dec 2009 23:53
To clarify a bit here is some code:



Maybe somebody can try it (put it in a plain GDK app) and tell me if it's working! Please! (very important for me)
Sample media is attached (put it in same folder as Main.cpp). The shader effect should just color the limb red.

Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.

Attachments

Login to view attachments
luke810
18
Years of Service
User Offline
Joined: 4th Sep 2006
Location: United States
Posted: 19th Dec 2009 20:45
I've had this same problem, for some reason texturing limbs makes the object disappear for me.

_Pauli_
AGK Developer
15
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 19th Dec 2009 22:03
I have a somewhat strange solution that works for me:

I animated my model in FragMotion. Then I first exported it to Milkshape-format (.ms3d), then I imported this back to FragMotion (!) and exported again, but to .x-file this time! Sounds weired but it works.

@ luke810: Are you trying to export an animated or a static model?

Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 26th Dec 2009 04:11
Um... all I can say is 1: Glad it worked 2: that's kinda odd 3: it's also kind of funny! 4: How the heck did you figure that out? LOL

_Pauli_
AGK Developer
15
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 1st Jan 2010 18:26
Well, lots and lots of trial & error
I was very frustrated and started im-/exporting things thousand times

But the restult is what counts I guess...

Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.

Login to post a reply

Server time is: 2024-10-01 20:25:41
Your offset time is: 2024-10-01 20:25:41