[Radiance-general] rotation

Chris Foster chris.foster at npl.co.uk
Wed Aug 16 10:54:15 CEST 2006


Hi all.

Im back with my spotlights again im afraid. Im havin immense trouble rotating them so that they face the same way. i have tried using a range of values for rx ry and rz in my xform command and keep gettin odd results. instead of rotating my spot they seem to actually move it.

this is incredible frustrating! my xform file is below.

# move display into place

!xform -n display -t 2.4 7 2 display2.rad

# move 3 spotlights into rear of room

!xform -n spot1 -t 1.25 1 3.8 (-rx -ry -rz being used here) spotc.rad

!xform -n spot2 -t 2.5 1 3.8 (-rx -ry -rz being used here) spotc.rad

!xform -n spot3 -t 3.75 1 3.8 (-rx -ry -rz being used here) spotc.rad

my spotlight dimensions

spotc_light ring spotc.d
0
0
8
	0 0 -0.00025
	0 0 -1
	0 0.15

i have tried this for a couple of days now and it is beginnin to get my goat. i want them in the same position as in the translate command, just pointing in a different direction. the spotlights defualt is aimed vertical down and i am trying to get them to aim about 45-60 degrees from the horizontal as well as all converged to one point (the display). can anyone please help in this matter before i throw my computer out the window...(probably just throw myself though as the computer can only do what i tell it!)

thanks in advance.

Chris

p.s. thanks for ur display help tom



void light display_light
0
0
3 2.23 2.23 2.23

void mirror display_surface
1 display_light
0
3 0.8 0.8 0.8

(example for something with 80 % reflectance).


-------------------------------------------------------------------
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
                   Hook, Hampshire, United Kingdom  RG27 9UY
-------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://radiance-online.org/pipermail/radiance-general/attachments/20060816/17a5a148/attachment.html


More information about the Radiance-general mailing list