POV-Ray : Newsgroups : povray.general : access to individual pixels/dots? : access to individual pixels/dots? Server Time
9 Aug 2024 11:29:28 EDT (-0400)
  access to individual pixels/dots?  
From: vaihtoehto
Date: 31 Jul 2000 08:41:27
Message: <398573f7@news.povray.org>
hi,

i was just wondering if there is (or there will be) a way to access
individual
pixels of image via povscript?
i mean reading an x,y pixel from image and writing an x,y pixel to image?
this would allow a way to generate faked 2d effects over 3d rendering, such
as
plasma, smoke or whatever..

by the way, is there any way to generate pigments dot by dot?
like:
[0, 0 color rgb <1,1,1>] /*upper left corner of the dotmap*/
[1, 0 color rgb <1,1,1>]
...
[256, 256 color rgb <0,0,0>] /*down right corner*/
or in array style with rgb triplets:
[<1,1,1>,<1,1,1>,<0,0,0>,...,<0.5,0.5,0.5>]
or something..

this would allow people to map those 2d effects on the objects and with
binary fread it would allow reading in any 2d imageformat for mapping.
binary fread would also allow to read in any 3d format..

thanks,
alt


Post a reply to this message

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