|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi folks!
I have spotted this snippit of code in Rune's Particle System
and am not quite sure how to interpret this, I fail to locate
any bla bla in the docs concerning this example.
=================
flow.pov snippit
=================
height_field {
function 300,300 {pattern {bumps scale 0.1 translate <1.0,0.3,0.0>}}
smooth
translate <-0.5,-0.5,-0.2>
scale <12,1.6,12>
rotate -15*z
}
======================
Documentation snippit
======================
HEIGHT_FIELD:
height_field{
[HF_TYPE]
"filename"
[HF_MODIFIER...]
[OBJECT_MODIFIER...]
}
HF_TYPE:
gif | tga | pot | png | pgm | ppm | jpeg | tiff | sys
HF_MODIFIER:
hierarchy [Boolean] |
smooth |
water_level Level
=============
What concerns me first is the use of "function" above, If I interpret
this correctly, the "function" replaces (([HF_TYPE] "filename" )) right?
Secondly, I havn't a clue as to what the 300,300 does right after the
"function" keyword.
Any advice on this?
Thanks
--
(MIKA) Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Marc Champagne" <nos### [at] pleasecom> wrote in message
news:Xns### [at] 204213191226...
> height_field {
> function 300,300 {pattern {bumps scale 0.1 translate <1.0,0.3,0.0>}}
> What concerns me first is the use of "function" above, If I interpret
> this correctly, the "function" replaces (([HF_TYPE] "filename" )) right?
>
> Secondly, I havn't a clue as to what the 300,300 does right after the
> "function" keyword.
Hey there, Marc.
Well, it's from MegaPOV. Convenient way to get a pattern into a HF without
the need for an external image file.
The 300,300 is same as image resolution, although still within the unit size
of HF.
If you look at section 10 (10.1.8, to be more precise) of the Doc you'll
find a link within the HF usage which leads to the function image usage and
finally a link (Jump to SDL) which describes it's use. Or shorter route,
section 6.7.11.16 Function Image.
Apparently, has yet to be edited to show in the HF description for the
upcoming release of 3.51 near as I can tell so I'm glad you posted here
about it.
Bob H.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Hughes, B." <omn### [at] charternet> wrote in
news:3f402395@news.povray.org:
> "Marc Champagne" <nos### [at] pleasecom> wrote in message
> news:Xns### [at] 204213191226...
>> height_field {
>> function 300,300 {pattern {bumps scale 0.1 translate
>> <1.0,0.3,0.0>}}
>> What concerns me first is the use of "function" above, If I interpret
>> this correctly, the "function" replaces (([HF_TYPE] "filename" ))
>> right?
>>
>> Secondly, I havn't a clue as to what the 300,300 does right after the
>> "function" keyword.
>
> Hey there, Marc.
>
> Well, it's from MegaPOV. Convenient way to get a pattern into a HF
> without the need for an external image file.
>
> The 300,300 is same as image resolution, although still within the unit
> size of HF.
>
> If you look at section 10 (10.1.8, to be more precise) of the Doc you'll
> find a link within the HF usage which leads to the function image usage
> and finally a link (Jump to SDL) which describes it's use. Or shorter
> route, section 6.7.11.16 Function Image.
Kinda confusing at times.
> Apparently, has yet to be edited to show in the HF description for the
> upcoming release of 3.51 near as I can tell so I'm glad you posted here
> about it.
The manual is a bit like a jungle, sometimes hard to find your way
through.
I don't really like how the manual is setup, but then again who is to
complain... POV-Ray's only cost is time and effort.
Thanks for the info.
--
(MIKA) Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Marc Champagne <nos### [at] pleasecom> wrote:
> I don't really like how the manual is setup, but then again who is to
> complain... POV-Ray's only cost is time and effort.
Work is being done to improve the documentation, so hopefully in the
next release things will be better. :)
--
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
|
|
| |
| |
|
|
|
|
| |
|
|