POV-Ray : Newsgroups : povray.newusers : Assigning sphere colours using rgb : Re: Assigning sphere colours using rgb Server Time
24 Apr 2024 02:20:12 EDT (-0400)
  Re: Assigning sphere colours using rgb  
From: Le Forgeron
Date: 27 Aug 2017 09:31:40
Message: <59a2c9bc$1@news.povray.org>
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

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