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 / EZrotate different parameters and less functions

Author
Message
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 15th Aug 2006 13:08
It seems that EZrotate has different parameters for the SDK/GDK version than it used in DBPRO and im having problems converting this code.

Which simply places my tank object at the correct terrain angle.

The problem is the EZro_findnormal only has 3 parameters
EZro_PolyAlign,EZro_GetNormalX,EZro_GetNormalY,EZro_GetNormalZ,EZro_GetPolyAlignAngleX,EZro_GetPolyAlignAngleY,EZro_GetPolyAlignAngleZ functions do not exist

fubar
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 15th Aug 2006 16:05
Best contact the author.

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 15th Aug 2006 16:14
Is their a link to his email through this site somewhere Philbert i cant find it.

Gee im glad i dont have to maintain this site its huge.

fubar
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 15th Aug 2006 18:09
Cant remember who does EZRotate - I think it may be Wolf - if so, have a look for his posts...

Come to the last Unofficial DBPro Convention (http://convention.logicstudios.net/)
Supplying "NO" since 1974...
Miguel Melo
19
Years of Service
User Offline
Joined: 8th Aug 2005
Location:
Posted: 15th Aug 2006 23:58
Yeah, it's WOLF.

I have vague plans for World Domination
Ron Erickson
Moderator
21
Years of Service
User Offline
Joined: 6th Dec 2002
Location: Pittsburgh, PA, USA
Posted: 16th Aug 2006 06:43
The poly align fuction will return matrix values to a EZro_Mat structure. You can then use the EZro_Matrix2Euler function to apply the results to an EZro_Vec (which can be applied to your object.)
Please have a look at example program 9 for a more thorough example of how to use it.

Best regards,
Ron Erickson

EZrotate!
TextureMax!
3D Character Maker!

Login to post a reply

Server time is: 2024-11-19 07:30:50
Your offset time is: 2024-11-19 07:30:50