POV-Ray : Newsgroups : povray.programming : Implementing a new pigment : Re: Implementing a new pigment Server Time
26 Apr 2024 23:15:52 EDT (-0400)
  Re: Implementing a new pigment  
From: Nicolas Alvarez
Date: 29 Nov 2008 10:20:19
Message: <49315db3@news.povray.org>
Chambers wrote:
>> -----Original Message-----
>> From: Nicolas Alvarez [mailto:nic### [at] gmailcom]
>> I want to know how do I go about implementing a new pigment type. It's
>> not a pattern, and it's not a new bitmap file format for image_map; I
>> have to get a x,y,z point as input and return a rgbt color.
> 
> Have you implemented it as a function in SDL?

No. I haven't implemented it yet :) Although I will surely start my C++
hacking by implementing a *very* simple pigment that you could just do in
SDL!

My final goal is something that I don't think is possible at all from SDL.


Post a reply to this message

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