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 / sprite to 3d conversion?

Author
Message
unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 14th Aug 2007 23:03 Edited at: 25th Sep 2007 05:49
I though i saw a function that allowed a 2d object to 3d space. I know there is a reverse method, but I need a sprite to show up on the screen at the location of a 3d object minus the z axis..
psx
17
Years of Service
User Offline
Joined: 16th Apr 2007
Location:
Posted: 14th Aug 2007 23:29
Hi. What you think about using
dbObjectScreenX, and dbObjectScreenY commands
You can then place your sprite in this position.

Ah.. Minus Z axis.. Try this. Place your object on the place you want (with minus Z), call GetObjectScreen..() , restore your object's position, place sprite in position you got with GetObjectScreen, and then draw your scene.

What about this method?
unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 15th Aug 2007 14:41 Edited at: 15th Aug 2007 15:52
No, i think the first method will suffice.

::update, working!
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 19th Sep 2007 23:00
Ahhh - That's how you get the floaty things haning over 3d images - like health or "username" or whatever....right?

unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 25th Sep 2007 05:50
yup.

Login to post a reply

Server time is: 2024-11-19 16:42:56
Your offset time is: 2024-11-19 16:42:56