|
|
Le 04/09/2018 à 22:43, Bald Eagle a écrit :
> Le_Forgeron <jgr### [at] freefr> wrote:
>
>>> So, one or two keywords to find, meaningful... and short, but not
>>> ambiguous.
>>
>> And the tie is now between:
>> * **direction**, as used in camera and rainbow
>> * **orientation**, as used in warp (cylindrical, spherical, toroidal)
>>
>> Any preferences ?
>
> Do you want to [re]use other keywords?
> What about axis, or alignment, or maybe as clipka said - half_plane ?
>
If it can match an existing keyword and its concept, it make:
1. less concept to explain
2. less work to code
3. less keyword to remember
4. less confusion in the end
The hell would be a SDL with every subpart having its own private set of
keywords, because "it was not exactly the same concept, nor the same
thing, so it has to be a dedicated keyword."
Imagine cylinder and sphere declaration using keywords:
cylinder{ disc_center_base_position <v>, disc_center_apex_position <w>,
radius_of_cylinder r }
sphere { center_sphere_position <v>, radius_of_sphere r }
That's not user-friendly.
TBH, I did not even remembered that there was a rainbow in Pov-Ray.
Post a reply to this message
|
|