|
|
Le 23/08/2017 à 01:33, Alain a écrit :
> Le 17-08-22 à 18:08, david a écrit :
>> I am trying to plot spheres with positions and colours taken from a
>> text file.
>>
>> ) has helped with the initial plotting, but I cannot get the colours
>> to render.
>> What am I doing wrong please?
>> global_settings {
>> assumed_gamma 1.0
>> ambient_light White
>> }
> As those are probably gamma precomputed, using srgb is probably beter :
> texture { pigment{ srgb <v4, v5, v6>/255 }
>
If you intend to do a "2D like" picture with exact match of the colour,
you should use also "assumed_gamma srgb" in global settings and "finish
{ ambient 1 diffuse 0 reflection 0}".
no need of light source in such settings.
And do not forget to start with a #version 3.7;
Post a reply to this message
|
|