|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
How do I translate a cylinder that uses the y-axis for its center along the
z-axis? Do I use translate <0,0,8> or translate z*8?
Wade
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Wade <Zav### [at] aolcom> wrote:
: Do I use translate <0,0,8> or translate z*8?
Those are the exact same thing.
z is a shortcut for <0,0,1>, and <0,0,1>*8 results in <0,0,8>.
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
When I render my code, why do I see only the first cylinder even after
translating the second cylinder? here's my code:
background {color rgb <1,1,1>}
camera {
location <8,5,0>
look_at <0,0,0>
angle 15
}
light_source {
0*x
color rgb <0.9570,0.9570,0.9570>
translate <80,40,20>
}
cylinder {
0*y, .18*y .015
texture{
pigment{
color rgb <0.20,0.20,0.20>
}
finish{
ambient 0.35
brilliance 2
diffuse 0.3
metallic
specular 0.80
roughness 1/20
reflection 0.1
}
}
}
cylinder {
0*y 0.18*y .015
texture{
pigment{
color rgb <0.20,0.20,0.20>
}
finish{
ambient 0.35
brilliance 2
diffuse 0.3
metallic
specular 0.80
roughness 1/20
reflection 0.1
}
}
translate 18*z
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Wade!
The second cylinder is out of view. Change "translate z*18" to
"translate z*1" or z*0.5 and you will see the second one.
Or you can change the angle of camera. 15 is rather small. But
then you have to change the size of the cylinders, too. They
would appear very, very tiny.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"KalleK" <kal### [at] gmxde> wrote in message news:3b947527$1@news.povray.org...
> Hi Wade!
>
> The second cylinder is out of view. Change "translate z*18" to
> "translate z*1" or z*0.5 and you will see the second one.
> Or you can change the angle of camera. 15 is rather small. But
> then you have to change the size of the cylinders, too. They
> would appear very, very tiny.
>
Thanks and how do I 'soften' the background with area_lights?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Thanks and how do I 'soften' the background with area_lights?
Your question is not quite clear to me. area_lights are only used
to soften shadows. To see shadows you need another object, for
example a plane at y*0.
Than you can copy an area_light from the docs, and see if it
helps to soften the shadows.
You can't soften a backgroung that is made just of background{}
statement, because in such a statement only a single color is
permitted. And you don't get soft effects with a single color.
Maybe you want to use a sky_sphere (see the docs) with a pattern
and a color_map for some color-bleeding.
cukk
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
KalleK <kal### [at] gmxde> wrote:
: And you don't get soft effects with a single color.
A single color isn't sharp either... It's actually infinitely soft... ;)
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp wrote:
>
> Wade <Zav### [at] aolcom> wrote:
> : Do I use translate <0,0,8> or translate z*8?
>
> Those are the exact same thing.
The proper answer to a question of this type is "yes".
Regards,
John
--
ICQ: 46085459
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|