POV-Ray : Newsgroups : povray.general : Re: Softglow example : Re: Softglow example Server Time
4 Aug 2024 02:22:06 EDT (-0400)
  Re: Softglow example  
From: Rafal 'Raf256' Maj
Date: 18 Aug 2003 06:10:13
Message: <Xns93DB7BC6948A4raf256com@204.213.191.226>
spa### [at] raf256com news:Xns### [at] 204213191226

> and this image describes a hmm monster with in asciiart could look like
> 
>    "
>   (*)   (an alien "cyclope" with eye in middle)
>    A
> 

This image would be create by i.e.

global_Settings {
  output_info "R,G,B,user1,flags"
}
background { rgb z info{user1{0} flags{backgr}}  }
sphere { 0 1 scale 1+x pigment { bozo info{user1{1} flags{skin}} } } 
sphere { 0 1 scale 1+y pigment { bozo info{user1{1} flags{skin}} } } 
sphere { 0 1 scale  .7 pigment { bozo info{user1{2} flags{skin eye}} } } 


Another important usage - user1 etc would be perfect for SpecFlare - then 
can pass to it informations i.e. is this point a lightsource (add flare) or 
is it only white material.



-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

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