|
|
On 23/01/2024 18:55, Samuel B. wrote:
>
> Hi Kurtz. I tried to replicate the example on the reference page. (Their
> explanation was confusing, but I think I got the gist of it.) Here's my attempt:
>
> [snip]
Hi Samuel,
Good job too.
I made nearly the same code as you ;)
And still not the same look.
With a link given by BW, i found more infos about lightning :
Graphics3D [
Sphere[],
Lighting -> {
{"Ambient", RGBColor [0.40, 0.20, 0.20] },
{"Directional",RGBColor [0.00, 0.18, 0.50],ImageScaled [{2, 0, 2} ]},
{"Directional",RGBColor [0.18, 0.50, 0.18],ImageScaled [{2, 2, 3} ]},
{"Directional",RGBColor [0.50, 0.18, 0.00],ImageScaled [{0, 2, 2} ]},
{"Directional",RGBColor [0.00, 0.00, 0.18],ImageScaled [{0, 0, 2} ]}
}
]
I didn't really understand the ImageScaled[] syntax, but even with these
parameters, the rendering is different.
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
|
|