POV-Ray : Newsgroups : povray.advanced-users : Scattering types: Rayleigh and Henyey-Greenstein unavailable? : Re: Scattering types: Rayleigh and Henyey-Greenstein unavailable? Server Time
20 Apr 2024 07:20:04 EDT (-0400)
  Re: Scattering types: Rayleigh and Henyey-Greenstein unavailable?  
From: michaelafsjaelland
Date: 13 Jul 2019 13:00:00
Message: <web.5d2a0cdfef5f06dd5c73ad760@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> Le 11/07/2019 à 17:10, Alain a écrit :
> > Le 19-07-11 à 05:46, michaelafsjaelland a écrit :
> >> Hi POV folks
> >> Version 3.7
> >> I'm experimenting with media scattering types, and according to the pov
> >> documentation there are 5, viz., (1) Isotropic, (2) Mie Haze, (3) Mie
> >> Murky, (4)
> >> Rayleigh, and (5) Henyey-Greenstein. However, POV-ray returns an error
> >> when I
> >> specify (4) or (5), reporting that only types 1-3 are valid.
> >>
> >> Is this a known issue or am I missing something?
> >>
> >> Any help much appreciated!
> >>
> >> Michael
> >>
> >>
> >>
> >>
> >>
> >
> > I used both 4 and 5 with version 3.7. Looks like there is an issue with
> > your install.
> > Did you compile POV-Ray ?
>
> Looking at parser_materials.cpp in 3.8, and parstxtr.cpp in 3.7-stable,
> the scattering is bound to 1 to SCATTERING_TYPES which is 5.
>
> The warning message is "Unknown atmospheric scattering type.".
>
> The scattering type should appears as XXX in
> "scattering { XXX , COLOR "
>
> The restriction 1, 2, or 3 is for the method (of sampling), and should
> appears as XXX in
> "method XXX"

Thanks for helping to clear this up. I hadn't realised the
distinction between sampling method and scattering{}. Much appreciated!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.