|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ok. I've done the HF in PSP6 and can pretty well guage my results by
looking at the image. I've heard (read) it mentioned a few times that there
is a way to generate Hfs within POV-ray. I could really make use of some
sample code because I work best by doing. If there is some documentation on
this that would help too.
Thanks,
Wil Hale
wil### [at] cal-businesscom
http://www.cal-business.com/wil
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Here's an example of how I do it:
#version unofficial megapov 0.4; // only for reset_children
global_settings { hf_gray_16 }
camera {up y right x location y*10 look_at 0}
plane
{
y,0
pigment
{
cylindrical scale 3.25 turbulence 1
pigment_map
{
[0 rgb 0]
[.1 granite color_map {[0 rgb .03][1 rgb .06]} scale .1]
[.2 granite color_map {[0 rgb .03][1 rgb .10]} scale .1]
[.3 rgb .1]
[1 granite scale 3]
}
warp {reset_children}
}
finish {ambient 1.5 diffuse 0} // should actually be
// 1, but I used 1.5
// to raise everything
// a bit more
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
TonyB <ben### [at] panamac-comnet> wrote:
: warp {reset_children}
Why?
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <38ec93c3@news.povray.org>, "Wil Hale" <whh### [at] nvlarmymil>
wrote:
> Ok. I've done the HF in PSP6 and can pretty well guage my results by
> looking at the image. I've heard (read) it mentioned a few times that
> there is a way to generate Hfs within POV-ray. I could really make
> use of some sample code because I work best by doing. If there is
> some documentation on this that would help too.
Do you mean generate a height_field object from an image, or generate
the actual image in POV-Ray? The object syntax is documented under
section "2.4.3 Height Field Object" in the manual, along with a way to
generate the height field image with POV-Ray. Just follow the tutorial,
sample code is given.
--
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Why?
'Cause I wanted it to in that particular case.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In MegaPOV is feature that allows you to automatically create
height_field in parsing stage from pov pigment, see docs.
Regards
Disnel
Wil Hale wrote:
>
> Ok. I've done the HF in PSP6 and can pretty well guage my results by
> looking at the image. I've heard (read) it mentioned a few times that there
> is a way to generate Hfs within POV-ray. I could really make use of some
> sample code because I work best by doing. If there is some documentation on
> this that would help too.
>
> Thanks,
>
> Wil Hale
> wil### [at] cal-businesscom
> http://www.cal-business.com/wil
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
What I didn't understand what does it do there. To me it seems that it
does nothing (except being the only thing requiring megapov).
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |