Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Hostility

Free spot light ASE file question(anyone take a crack at this?)

This topic is 6193 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I created a Free spotlight in 3d Studio max and exported an ASE file with it. *LIGHTOBJECT { *NODE_NAME "light" *LIGHT_TYPE Target *NODE_TM { *NODE_NAME "light" *INHERIT_POS 0 0 0 *INHERIT_ROT 0 0 0 *INHERIT_SCL 0 0 0 *TM_ROW0 0.0000 1.0000 0.0000 *TM_ROW1 0.0087 0.0000 -1.0000 *TM_ROW2 -1.0000 0.0000 -0.0087 *TM_ROW3 -45.5701 94.3201 -16.8439 *TM_POS -45.5701 94.3201 -16.8439 *TM_ROTAXIS -0.5790 -0.5790 0.5740 *TM_ROTANGLE 4.1837 *TM_SCALE 1.0000 1.0000 1.0000 *TM_SCALEAXIS 0.0000 -0.7055 -0.7087 *TM_SCALEAXISANG 0.8781 } *LIGHT_SHADOWS Off *LIGHT_USELIGHT 1 *LIGHT_SPOTSHAPE Rect *LIGHT_USEGLOBAL 0 *LIGHT_ABSMAPBIAS 0 *LIGHT_OVERSHOOT 0 *LIGHT_SETTINGS { *TIMEVALUE 0 *LIGHT_COLOR 1.0000 1.0000 1.0000 *LIGHT_INTENS 1.0000 *LIGHT_ASPECT 1.0000 *LIGHT_HOTSPOT 0.5000 *LIGHT_FALLOFF 1.0000 *LIGHT_TDIST 240.0000 *LIGHT_MAPBIAS 1.0000 *LIGHT_MAPRANGE 4.0000 *LIGHT_MAPSIZE 512 *LIGHT_RAYBIAS 0.0000 } } What I wanted to know is what to do with that information so that I could have an object that points in the same direction as that light. I know that TM_POS is the origin of the light, and my guess would be that TM_ROWx describes a matrix that would get you properly oriented. It's guesswork, and I don't know any of the matrix math necessary. Can anyone perhaps give me some insight here? Any info would be really appreciated. Thanks a bunch guys. -Hostile Edited by - Hostility on August 7, 2001 8:58:26 PM

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!