|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Is it possible to transform any object (or group of objects) by a 3x3 or 4x4
matrix in POV SDL?
I wrote a realtime application about steeringbehaviors in 3D space (Open GL)
and now I want to be able to export movements to POV to create
photorealistic animations (polygon models will be reset by predefined POV
objects). My program handles transformations with matrices. So a function
that works like the camera's look-at would do the trick (the matrix stores
the up-, right- and direction-vector).
Any Idea?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Wed, 11 Jun 2003 09:51:23 EDT, "J. Diehl" <j.d### [at] firemailde> wrote:
> Is it possible to transform any object (or group of objects) by a 3x3 or 4x4
> matrix in POV SDL?
What about looking into documentation for keyword 'matrix'?
http://www.povray.org/search/?s=matrix
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
rtfm is always a good idea, however, in this case the manual says:
6.3.1 Transformations
The supported transformations are rotate, scale, and translate.
but should read
The supported transformations are rotate, scale, translate and matrix.
[Not very advanced, though...]
:-)
ABX wrote:
> On Wed, 11 Jun 2003 09:51:23 EDT, "J. Diehl" <j.d### [at] firemailde> wrote:
>
>>Is it possible to transform any object (or group of objects) by a 3x3 or 4x4
>>matrix in POV SDL?
>
>
> What about looking into documentation for keyword 'matrix'?
> http://www.povray.org/search/?s=matrix
>
> ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Wed, 11 Jun 2003 17:48:31 +0200, sascha <sas### [at] userssourceforgenet>
wrote:
> rtfm is always a good idea, however, in this case the manual says:
> 6.3.1 Transformations
> The supported transformations are rotate, scale, and translate.
> but should read
> The supported transformations are rotate, scale, translate and matrix.
> [Not very advanced, though...]
> :-)
It says correct IMO. Imagine I have baloon. I can do following transformations:
a) rotate it turning around
b) translate it by moving
c) scale it with blowing
but I can't matrix it becouse there is no transformation 'matrix' in reality,
though matematically I can describe this transformations with matix and that's
what is written in next sentence "A transformation matrix may also be used to
specify complex transformations directly." :-)
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks. Sorry, I was sure that matrix transformation is not supported by pov
(never read about it before), so I didn't search it in the documentation.
Now it will be easy :)
'bye
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
ABX wrote:
> On Wed, 11 Jun 2003 17:48:31 +0200, sascha
>
> It says correct IMO. Imagine I have baloon. I can do following
> transformations: a) rotate it turning around
> b) translate it by moving
> c) scale it with blowing
> but I can't matrix it becouse there is no transformation 'matrix' in
> reality, though matematically I can describe this transformations with
> matix and that's what is written in next sentence "A transformation matrix
> may also be used to specify complex transformations directly." :-)
Maybe
d) an arbitrary *affine transformation* specified by a matrix
would be the correct terminology.
- Micha
--
POV-Ray Objects Collection: http://objects.povworld.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
ABX wrote:
>On Wed, 11 Jun 2003 17:48:31 +0200, sascha <sas### [at] userssourceforgenet>
>wrote:
>
>
>>rtfm is always a good idea, however, in this case the manual says:
>>6.3.1 Transformations
>>The supported transformations are rotate, scale, and translate.
>>but should read
>>The supported transformations are rotate, scale, translate and matrix.
>>[Not very advanced, though...]
>>:-)
>>
>>
>
>It says correct IMO. Imagine I have baloon. I can do following transformations:
>a) rotate it turning around
>b) translate it by moving
>c) scale it with blowing
>but I can't matrix it becouse there is no transformation 'matrix' in reality,
>though matematically I can describe this transformations with matix and that's
>what is written in next sentence "A transformation matrix may also be used to
>specify complex transformations directly." :-)
>
>ABX
>
>
(6.3.1.4 Matrix Keyword)
... the matrix command allows more general transformation effects like
/shearing/. The following matrix causes an object to be sheared ...
The manual could be changed to make this clearer
6.3.1 Transformations
The supported transformation modifiers are |rotate|, |scale|,
|translate|, and matrix. They are used to turn, size and move an object
or texture. A transformation matrix may also be used to specify complex
transformations directly.
This would clear up the meaning of "may also be used" (for complex
transformations) instead of (is also supported).
Tim Attwood
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Wed, 11 Jun 2003 23:04:47 -0700, Tim Attwood <tim### [at] worldnetattnet>
wrote:
> ... the matrix command allows more general transformation effects like
> /shearing/. The following matrix causes an object to be sheared ...
http://www.cs.berkeley.edu/~ug/slide/pipeline/assignments/as5/transforms3d.shtml#shear_rot_scale_rot_scale
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |