POV-Ray : Newsgroups : povray.general : How about $ for declare? : Re: How about $ for declare? Server Time
2 Aug 2024 18:11:31 EDT (-0400)
  Re: How about $ for declare?  
From: Rafal 'Raf256' Maj
Date: 13 Aug 2004 18:17:32
Message: <Xns954536876C74raf256com@203.29.75.35>
chr### [at] gmxde news:cfjc1l$vh2$1@chho.imagico.de

> other keyword with the shortest unique abbreviation - but no one could 
> read the code any more then.

Btw, how about adding some shorten forms for long and often used keywords, 
it could spedd up typing and comforable level of hand-typing .pov code, 
like

light { y*10 rgb 1 }
diff {
  box { -5, +5 }
  sphere { 0 10 }
  text { 
  pig { bozo cmap{0:<1,0,0> .5:<1,1,0> 1:1} } 
  norm{ bozo .5 }  
  fin { refl .5 phong 0.5,70 spec 0.1,0.06 }
}

?

Aliasing keyword is probably easy, another format of for example color_map 
perhaps not so much.

Just an idea.

-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

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