POV-Ray : Newsgroups : povray.general : pre bug report query // number of elements in color_map : Re: pre bug report query // number of elements in color_map with sample color_map Server Time
2 Aug 2024 16:21:40 EDT (-0400)
  Re: pre bug report query // number of elements in color_map with sample color_map  
From: Florian Jung
Date: 28 Aug 2004 11:22:46
Message: <4130a346$1@news.povray.org>
pan wrote:
>>Do you start counting with 0 or 1. Remember that 0--256 are in fact
>>257 elements. Does this solve the problem?
> 
> Thanks for replying.
> 
> I did state I have spent three days on this problem.
> I'm aware of what base indexing povray uses for arrays.

Sorry about that. I made the same mistake once in another programming 
language and sometimes one doesn't mention such a simple problem, even 
after several days of work.

Florian


Post a reply to this message

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