Ask a Question related to Macromedia Director 3D, Design and Development.
-
Wriker #1
Dynamically rotating/zooming camera to a certainposition
Hi,
I am having some difficulties with dynamically zooming on a 3D model. I want
to zoom back to a predefined camera position after the user has orbited and
zoomed around the model freely using the mouse, with animation.
I have a frame handler that moves and rotates the camera in several steps
(i.e. with a maximum "speed"), back to the desired position, by comparing the
camera's current XYZ position with target XYZ.
This works, but if I want to zoom back to a position where the camera is still
rotated, the zooming animation is far from smooth. It tends to move from left
to right, back and forth, until it reaches its final position. I want to have
it move in a STRAIGHT line.
Does anyone know how to accomplish this? I guess I would need to calculate
some kind of path, but I can imagine there is a Lingo method to do this.
Thank you
Wriker Guest
-
limited camera zooming
Hello all. I have this zooming method which works fine, but when i zoom onto models, the "amount" of zoom is fixed. i want to make the zooming... -
Rotating a camera position
hi, I have a w3d file with a behaviour in which i can rotate the camera in the scene and that works very fine. But the problem i am facing is that... -
Camera zooming, general 3D model view interaction
hello i'm working on a viewer for 3D models. the possibilities of interaction are: - zooming by moving RMB - orbiting by moving LMB -... -
Rotating and Zooming image sequence
Hi. I am new to using Flash. What I am trying to do is take an object in a series of photos, and create all-direction rotation, as well as the... -
Rotating a camera left/right and up/down while targeting the origin
I've tried for a while to get this to work but have done it unsuccessfully, I want to be able to rotate a camera (in this case the default camera)... -
Paulygon #2
Re: Dynamically rotating/zooming camera to a certainposition
I'm not sure if I have my head around the specifics you're going for, but in
general I've had great success using bezier calculations. Paul Lemon opened it
up for me when I found this:
<a target=_blank class=ftalternatingbarlinklarge
href="http://www.directorforum.de/showthread.php?t=11284
I">[url]http://www.directorforum.de/showthread.php?t=11284[/url]
I</a> tend to chop his work up and poke it into my stuff.
You may be going for something a little more like the follow link. It's in
progress so the instructions are missing. left click drag to rotate, right
click to pan, click both mouse buttons and drag vertically to zoom.
<a target=_blank class=ftalternatingbarlinklarge
href="http://www.stuffycorporatedesign.com/open/ss.htm">[url]http://www.stuffycorpora[/url]
tedesign.com/open/ss.htm</a>
Paulygon Guest
-
Wriker #3
Re: Dynamically rotating/zooming camera to a certainposition
Thanks. The magic word I was looking for is "interpolate", but bezier
calculations is even better because it gives you the option to add several
"waypoints" in your trajectory.
Nice galaxy, by the way. :-)
Wriker Guest
-
Roofy #4
Re: Dynamically rotating/zooming camera to a certainposition
[q]Originally posted by: Paulygon
[url]http://www.stuffycorporatedesign.com/open/ss.htm[/url][/q]
I know this post is old, but you would not have the script for this would ya?
I ask this because, I am trrying to orbit my camera arround an object and I am
not getting the results as in the above shockwave 3d demo.
I am have tried rotating with the below method but it causes the camera to fly
all over the place...
pCamera.rotate(dx, dy, 0, sprite(me.spriteNum).member.model("box"))
... where dx dy are the rotation angles that I have calculated from where the
mouse is located
Roofy Guest



Reply With Quote

