Ask a Question related to Macromedia Director 3D, Design and Development.
-
hysm #1
Camera issue
Using Macromedia Director MX 2004, how do i make the camera move in a path inside a 3D sprite?
hysm Guest
-
camera.get for an outdoor camera ( not a webcam )
hello; I would like to install an outdoor camera which has its own built-in server; I want the video capture to be delivered to a client-side... -
Camera
Logitech has the QuickCam® for Notebooks Pro. www.logitech.com It requires Mac OS® X 10.1.5 to 10.2.6 I don't have one I just happened to be... -
SLR Camera
Ok Guys/Gals, I'm a total rookie to the SLR scene. The reason I'm looking into a film camera is I have been going to alot of sporting events... -
which camera must I buy?
Hi I'm very interested in art photography, but I never touched a professional camera before. Which (digital) camera is best for art... -
The Minds Eye #2
Re: Camera issue
I think the function you're looking for is
transform1.interpolateTo(transform2, percentage)
call this function regularly from exitFrame, stepFrame or a timeOut object
incrementing the percentage variable each time.
For example:
on beginSprite me
--create a reference to the camera transform
tCam = member("3d world").camera("DefaultView").transform
--another transform variable - this is where we want to get to
tTo = transform()
tTo.position = vector( -314, -220, 305 )
end
on exitFrame me
pInc = pInc + 1
tCam.interpolateTo(tTo, pInc)
go the frame
end
This is fine for a straight path.
However, if the path needs to be curved, then you could use our "Minds Eye
Bezier" Xtra
[url]http://www.the-mindseye.co.uk/prog/beziercurve.shtml[/url]
There are plenty of examples in the evaluation bundle that you can download.
Regards,
Trevor
The Minds Eye Guest



Reply With Quote

