From chris wood · 1996-04-06 12:31 · #69259 in DRIVING
In reply to camera rotation by Kevin Wafer
Hi Kevin, I hope you have had a good day.
Wednesday, 3 April 1996 11:42:30, Kevin Wafer wrote to All
Subject: camera rotation
KW> Im doing a little 3D engine for fun, ive got my poly filler, rotation,
-= cut =-
KW> Because for example when I roll the camera the screen/objects roll glob
KW> when I pitch they pitch, but when both together they swap and pitch
KW> becomes roll etc.
Kevin as you know the effect of what happens when you use both together
would it not be easier, for you to reverse the screen parameters.
i.e.
----
if (cam=pitch) and (obj=pitch) then
begin
cam=roll;
obj=roll;
end
else
begin
cam=pitch;
obj=pitch;
end;
And then call the revelant routines, and your routines will reverse the
above statement, and hey presto your routine will process correctly.
Saves a lot of hassle, and heart ache.
Best regards :- Chris Wood
Saturday, 6 April 1996, 6:50 hrs - Kent, UK.
Fido : 2:440/106.4
Internet :chris.wood@pillarbox.fido.zetnet.co.uk
.!. If winning isn't important then why keep score?
--- Terminate 3.00/Pro
* Origin: Chris's point off of 'The Voice'. (2:440/106.4)