|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
sorry for my lack of knowledge what is the stacked planes method
ive just started on this newsgroup would anyone mind telling or showing me
what is this method
--
%segmentation fault
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Stacked-Planes is a simple method to create clouds.
Imagine taking a cloud, and cutting it into slices. Each
such slice is represented by a plane (or disc, something
2D) and given a texture with some areas totally transparent,
and others just a little.
By putting at least 20 planes spaced evenly somewhere
(like beginning at 20 Units high, going to 40, and placing
a hollow plane every unit using the same texture, but
applying the texture AFTER the plane is positioned),
you get something looking 3D, as long as you don't look
too close.
Oh, and don't forget to put double_illuminate into the
plane, it's needed for correct shading (when switched on,
sort of ignores inside/outside of objects)
Here's some code:
#declare Loop_Value=0;
#while (Loop_Value<20)
plane{y,20+Loop_Value hollow
pigment{bozo color_map{[0 rgbt <0,0,0,1>][.4 rgbt <0,0,0,1>][.5 rgbt
<1,1,1,.6>][1 rgbt <1,1,1,.6>]}}
double_illuminate
}
#declare Loop_Value=Loop_Value+1;
#end
camera{location <0,1,0> look_at <0,10,30>}
light_source{<100,200,-500> rgb 1}
You can also have a look at my homepage. The newest image in my standards
gallery is entitled "Worldbowl", you'll find a ZIP and explanation File (both
sent
to the IRTC for this round) there. There's some more advanced coding and
texturing for the technique...
cinder wrote:
> sorry for my lack of knowledge what is the stacked planes method
> ive just started on this newsgroup would anyone mind telling or showing me
> what is this method
> --
> %segmentation fault
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sat, 09 Mar 2002 02:14:49 -0500, cinder <cin### [at] yahoocom>
wrote:
>sorry for my lack of knowledge what is the stacked planes method
>ive just started on this newsgroup would anyone mind telling or showing me
>what is this method
It is a method used for modeling clouds and such in the 3.1 times. It
is now rather obsolete as the new media sampling methods in 3.5
provide for better and faster results.
Anyway, the idea is to stack a few (5, 10, 20... 100?) planes on top
of each other with a very small distance between then, then give them
the texture of your clouds. If the texture has transparent parts, and
the max_trace_level is high enough (number of planes + 1, at least),
and the visible distance between the planes is smaller than one pixel,
then the result looks volumetric.
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG e-mail : pet### [at] tagpovrayorg
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
wasn't there someone who did some "cheap grass" with this method ? ...
anyway .. this could also be done with media ...
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Tim Nikias wrote:
> Stacked-Planes is a simple method to create clouds.
>
> Imagine taking a cloud, and cutting it into slices. Each
> such slice is represented by a plane (or disc, something
> 2D) and given a texture with some areas totally transparent,
> and others just a little.
>
> By putting at least 20 planes spaced evenly somewhere
> (like beginning at 20 Units high, going to 40, and placing
> a hollow plane every unit using the same texture, but
> applying the texture AFTER the plane is positioned),
> you get something looking 3D, as long as you don't look
> too close.
> Oh, and don't forget to put double_illuminate into the
> plane, it's needed for correct shading (when switched on,
> sort of ignores inside/outside of objects)
>
> Here's some code:
>
> #declare Loop_Value=0;
> #while (Loop_Value<20)
> plane{y,20+Loop_Value hollow
> pigment{bozo color_map{[0 rgbt <0,0,0,1>][.4 rgbt <0,0,0,1>][.5 rgbt
> <1,1,1,.6>][1 rgbt <1,1,1,.6>]}}
> double_illuminate
> }
> #declare Loop_Value=Loop_Value+1;
> #end
>
> camera{location <0,1,0> look_at <0,10,30>}
> light_source{<100,200,-500> rgb 1}
>
> You can also have a look at my homepage. The newest image in my standards
> gallery is entitled "Worldbowl", you'll find a ZIP and explanation File
> (both sent
> to the IRTC for this round) there. There's some more advanced coding and
> texturing for the technique...
>
> cinder wrote:
>
>> sorry for my lack of knowledge what is the stacked planes method
>> ive just started on this newsgroup would anyone mind telling or showing
>> me what is this method
>> --
>> %segmentation fault
>
> --
> Tim Nikias
> Homepage: http://www.digitaltwilight.de/no_lights/index.html
awesome method gotta start using that
--
%segmentation fault
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jan Walzer wrote:
> wasn't there someone who did some "cheap grass" with this method ? ...
>
> anyway .. this could also be done with media ...
how could this be done with media in 3.5
--
%segmentation fault
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jan Walzer wrote:
> wasn't there someone who did some "cheap grass" with this method ? ...
>
> anyway .. this could also be done with media ...
ive been more of a 3.1 person until recently
--
%segmentation fault
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
http://news.povray.org/3bad3206%241%40news.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sun, 10 Mar 2002 02:35:32 -0500, cinder <cin### [at] yahoocom>
wrote:
>ive been more of a 3.1 person until recently
You could use media in 3.1 as well, however the only sampling method
available in 3.1 requires a lot of samples for smooth results. That's
why the stacked plane algorithm was invented (I think it was Jaime
Vives Piqueres who first used it, but I might be wrong). The new
sampling methods in 3.5 use an even distribution of samples, that is,
somewhat like stacked planes (if you could somehow make them always
perpendicular to the incoming ray :) ).
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG e-mail : pet### [at] tagpovrayorg
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Jan Walzer" wrote:
> wasn't there someone who did some
> "cheap grass" with this method ? ...
Yes.
Image:
http://rsj.mobilixnet.dk/3d/include/fgrass.jpg
Include file:
http://rsj.mobilixnet.dk/3d/include/include.html
> anyway .. this could also be done with media ...
I have yet to see an image with media grass that even come close. Do you
have one?
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated Feb 16)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|