Advertisement

lights in .ASE files

Started by October 05, 2007 05:19 AM
-1 comments, last by knobby67 17 years, 3 months ago
Hi all, I'm unsure if this is the right forum but here goes. I'm loading in an .ASE model file, it's all pretty straight forward, however I'm having problems with lights, I can see the light code, can see what should be the position but am unable to work out where the ambient,diffuse and specular values are? I've checked the net but can find no help for this problem, can someone pint me in the right direction. Thanks EXAMPLE LIGHT CODE *CAMERAOBJECT { *NODE_NAME "Camera01" *CAMERA_TYPE Target *NODE_TM { *NODE_NAME "Camera01" *INHERIT_POS 0 0 0 *INHERIT_ROT 0 0 0 *INHERIT_SCL 1 1 1 *TM_ROW0 -0.0095 1.0000 0.0000 *TM_ROW1 -0.0807 -0.0008 0.9967 *TM_ROW2 0.9967 0.0094 0.0808 *TM_ROW3 66.8009 0.5208 -55.4171 *TM_POS 66.8009 0.5208 -55.4171 *TM_ROTAXIS -0.5575 -0.5628 -0.6103 *TM_ROTANGLE 2.0541 *TM_SCALE 1.0000 1.0000 1.0000 *TM_SCALEAXIS 0.0000 0.0000 0.0000 *TM_SCALEAXISANG 0.0000 } *NODE_TM { *NODE_NAME "Camera01.Target" *INHERIT_POS 0 0 0 *INHERIT_ROT 0 0 0 *INHERIT_SCL 0 0 0 *TM_ROW0 0.2000 0.0000 0.0000 *TM_ROW1 0.0000 0.2000 0.0000 *TM_ROW2 0.0000 0.0000 0.2000 *TM_ROW3 -0.1491 -0.1133 -60.8414 *TM_POS -0.1491 -0.1133 -60.8414 *TM_ROTAXIS 0.0000 0.0000 0.0000 *TM_ROTANGLE 0.0000 *TM_SCALE 0.2000 0.2000 0.2000 *TM_SCALEAXIS 0.0000 0.0000 0.0000 *TM_SCALEAXISANG 0.0000 } *CAMERA_SETTINGS { *TIMEVALUE 0 *CAMERA_NEAR 0.0000 *CAMERA_FAR 1000.0000 *CAMERA_FOV 0.7508 *CAMERA_TDIST 67.1724 } }

This topic is closed to new replies.

Advertisement