To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 2082
2081  |  2083
Subject: 
Re: A different simple question
Newsgroups: 
lugnet.cad.ray
Date: 
Thu, 29 Jan 2004 13:07:18 GMT
Viewed: 
1395 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

Hello Mike
Glad to see someone starting into animation.  Here are some changes I made to
your file.  first translate the bowl: translate<-400,0,-400> this will put it
at 0,0,0.  Second I simplified your Camera definition.  Much easier to use.


object { bowl_dot_ldr translate <-400,0,-400> #if (version >= 3.1) material
#else texture #end { Color7 }  }


// Background:
background { color rgb <0,0,0>}

// Camera
camera {
location <700,-400,0>
sky      -y
right    -16/9*x
look_at  <0,0,0>
angle    67.3801
rotate   <0,360*clock,0>
}

Good luck
Steve



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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR