Subject:
|
Re: A different simple question
|
Newsgroups:
|
lugnet.cad.ray
|
Date:
|
Thu, 29 Jan 2004 15:07:31 GMT
|
Viewed:
|
1447 times
|
| |
| |
In lugnet.cad.ray, Mike Thorn wrote:
> Hello all you super-smart PoV-Rayers out there,
>
> I've been fooling around with some simple animation the past few days and for
> some reason I can't seemt o be able to do what I want. I have a bowl-ish
> shape (thanks Michael L. for the generator in MLCAD!) that I want to rotate
> the camera around, keeping the camera aimed at the same spot. I've tried
> Friedrich's tutorial and I'm doing just what he says (omitting the +0.10).
> Instead of rotating around the center of the model, it makes a wierd swing
> out and away before coming back to the original spot.
>
> I was wondering if anybody here can look at my code (link below) and tell me
> what I'm doing wrong.
>
> <http://www.roboticsresources.com/bowl.pov>
> 470KB
>
> Thanks a million,
> ~Mike
You are rotating the camera around the y-axis!
You would like to rotate it around the vertical axis through the bowl's center.
Translate the model center to origo, rotate, and translate back again:
translate -<400,-54,400>
rotate <0,360*clock,0>
translate <400,-54,400>
Look at the end of the POV file for model center:
// Center: <400,-54,400>
The easiest way to create rotations is to rotate the model and leave
the camera and lights static:
object { bowl_dot_ldr
rotate <0,360*clock,0>
#if (version >= 3.1) material #else texture #end { Color7 } }
But it gives a different effect.
/Lars
|
|
Message has 1 Reply: | | Re: A different simple question
|
| (...) I am most definitely leaving myself out of that category. Especially after I see the stupid questions I'm going to have to ask here. (...) I thought that was what I was supposed to do...? (...) Right. I thought that's what rotating through the (...) (21 years ago, 29-Jan-04, to lugnet.cad.ray)
|
Message is in Reply To:
| | A different simple question
|
| Hello all you super-smart PoV-Rayers out there, I've been fooling around with some simple animation the past few days and for some reason I can't seemt o be able to do what I want. I have a bowl-ish shape (thanks Michael L. for the generator in (...) (21 years ago, 29-Jan-04, to lugnet.cad.ray, FTX)
|
9 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|