|
![](/i/fill.gif) |
Charles nous apporta ses lumieres en ce 2007/09/03 07:23:
> Dear Alain,
>
> I was referring to the snipped you posted earlier:
>
> #declare Scale = 0.001;// use a large (>100) or a small (<0.01) value
> #declare R = seed(1);// any value will do
> #declare Samples = 10;// use a larger value only if absolutely needed, as
> you
> cross 2 surfaces, each ray will split in 10 two times!
>
> normal{average{normal_map{
> #while(Samples)
> [1 normal bumps translate<rand(R),rand(R),rand(R)>*Scale scale Scale]
> // you use a broad pattern with large displacemen
> //OR tyni pattern with small displacement.
> #declare Samples = Samples - 1;
> #end
> }
>
> This gives me a syntax error.
>
> Another way to state the issue, by the way, is that a single material cannot
> cast a shadow upon itself. I think I'm going to try simulating a few
> thousand microscopic spheres and see what results that gives me.
>
> Kind regards,
> Charles
>
>
The problem is that a comment line was split in 2. The error comes from that
second part whitch is NOT proper SDL syntax ;-)
--
Alain
-------------------------------------------------
Lutheran: If shit happens, don't talk about it.
Post a reply to this message
|
![](/i/fill.gif) |