|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
My mesh2 file looks like this :
mesh2
{
vertex_vectors
{
n+1,
<x0, y0, z0>,
...
<xn, yn, zn>
}
normal_vectors
{
n+1,
<x0, y0, z0>,
...
<xn, yn, zn>
}
.....
scale <1, 10, 1> <----- QUESTION
}
I wonder if scale affect only vertex_vectors or both : vertex_vectors and
normal_vectors.
Tahnks in advance
Gawel
-------------------------------
Werner Heisenberg
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Gawel <gawelekREMOVE @ itgazeta.pl> wrote:
> I wonder if scale affect only vertex_vectors or both : vertex_vectors and
> normal_vectors.
It doesn't affect either. Transformations do not modify the mesh, they
just modify the incoming ray.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> It doesn't affect either. Transformations do not modify the mesh, they
> just modify the incoming ray.
Hmmmm, it means that If I multiply by 10 in scale statement then during
rendering the postion of ray is divided by 10 ?
Gawel
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Gawel <gawelekREMOVE @ itgazeta.pl> wrote:
> Hmmmm, it means that If I multiply by 10 in scale statement then during
> rendering the postion of ray is divided by 10 ?
Not the position, the ray vector itself, but basically yes.
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Not the position, the ray vector itself, but basically yes.
Ok, that was my way of thinking.
Gawel
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|