|
|
David Fontaine wrote in message <3886899D.DEF3CD7C@faricy.net>...
>camera { location <50,50,-50> look_at <20,0,0> up
><50-50*sqrt(2),sqrt((50*sqrt(2)+30)/2),-sqrt((50*sqrt(2)+30)/2)> }
>
>Why does it complain?
Because the 'right' vector may not be perpendicular to the other two. Try
adding this to your camera:
right
vcross(<50-50*sqrt(2),sqrt((50*sqrt(2)+30)/2),-sqrt((50*sqrt(2)+30)/2)>,(<50
,50,-50>-<20,0,0>))
You might need to multiply the vcross by -1 to get the correct coordinate
system (Left-handed or right-handed).
Mark
Post a reply to this message
|
|