POV-Ray : Newsgroups : povray.general : How about $ for declare? : Re: How about $ for declare? Server Time
3 Aug 2024 00:20:49 EDT (-0400)
  Re: How about $ for declare?  
From: Rafal 'Raf256' Maj
Date: 14 Aug 2004 07:29:31
Message: <Xns9545899845EFFraf256com@203.29.75.35>
NotForSpam@AskIfUWant news:411de774@news.povray.org



So I after all sugest _one_, oficial, additional short-alias set. 
It can be used in addition to normal keywords so both forms will be valid - 
short and full.

It will ne used only if it is needed for given keyword.


The aliases I sugest like:

1) alias
cylinder            cylind
superellipsoid      superel
isosurface          isosurf
light_source        light
area_light          areal
adaptive            adapt
reflection          refl
...

2) alias for several keywors used usually

oriented circular  bulll  // [light]bull light
oriented circular parallel  sunl // sun light

3) alias + another syntax, or only alias
specular x roughness y   spec x,y  
phong x,phong_size y   phong2 x,y   // "phong2" because "phong" is reserved
rotate A scale B translate C  position A,B,C  // this is most usual order 
                              // of transorms - rotate and scale, the 
                              // translate somewhere in scene

color_map {[0 rgb <1,0,0>][1 rgb <1,0,1>]} // replece this one with 
cmap{[0 <1,0,0>][1 <1,0,1>}                // this one
cmap{0:<1,0,0> 1:<1,0,1>}                  // ..or this one


4) perhaps this aliases (or maybe not)
pigment            pigm
finish             fin
normal             norm


sugestions?


-- 
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.