Subject:
|
Re: Moving an object in a scene
|
Newsgroups:
|
lugnet.cad.ray
|
Date:
|
Sun, 30 Apr 2000 20:33:05 GMT
|
Viewed:
|
594 times
|
| |
| |
"Jason Ellis" <jae@interwrx.com.nospam> writes:
> In POV-Ray how does one go about changing the position of a model in
> the scene. I've figured out how to move the camera around, but can't
> figure out how to move an object. Any help would be appreciated.
Apparently, you already discovered that the
object { my_model_dot_dat ... }
line is the line that places the object. You can add all sorts of
scaling, rotation, and translation to this line by adding "scale"
"rotate" and "translate" modifiers. For example,
object { my_model_dot_dat ... translate <100,-24,50> }
would move the model 100 LDU in +X, 24 LDU up, and 50 LDU in +Z.
You can also translate in only one direction (eg, 100 +X) like this:
translate <100,0,0>
or like this:
translate x*100
scale and rotate work the same way (although I'm not sure in which order
the rotations are carried out, so I generally use the x*, y*, and z*
notation for rotations.
HTH,
--Bram
Bram Lambrecht / o o \ BramL@juno.com
-------------------oooo-----(_)-----oooo-------------------
WWW: http://www.chuh.org/Students/Bram-Lambrecht/
-----------------------------------------------------------
|
|
Message has 2 Replies:
Message is in Reply To:
| | Moving an object in a scene
|
| In POV-Ray how does one go about changing the position of a model in the scene. I've figured out how to move the camera around, but can't figure out how to move an object. Any help would be appreciated. Also what do I need to do to add a 2nd model (...) (25 years ago, 30-Apr-00, to lugnet.cad.ray)
|
4 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
|
|
|
|