Randall Lee Reetz
randall at randallreetz.com
Mon Feb 2 11:13:10 CST 2009
I haven't read all of the posts on this topic (this morning) but one
approach to xTalk-ing spline curves is to use the standard polygon
points list syntax but with a twist. Instead of an unstructured
comma delineated list of numbers (later to be parsed into x,y
coordinate pairs) incorporate a meta-data model (not unlike the time/
date model) which could be "convert"ed into various protocols that
would variously hide or reveal more or less data. The polyPath [sic]
metadata would be a structured into tab "point" delineated coordinate
pairs (or 3D triplets):
... which would contain comma delineated coordinates along followed
by a series of (optionally stated) attribute values describing things
like relative rigidity, inside/outside rendering, rel pensize,
opacity, color (HSV) etc?:
1,2,rel .95,+,rel .02,.45,23 45 100
4,5,rel .4,+,abs 3,.80,33 45 100
7,10,rel .95,+,rel .02,.45,43 45 100
This data would be stored with every polygon. A property of each
polygon "curved" would when true cause the engine to render it
according to the metadata. A curve set to false would be the default
and would render a common polygon from the data.
The "pointDel" would contain the char to be used to seporate data for
each point (shown here as CR) which would default to tab at startup.
One could "convert" the polyPath data to either of "polypathpoints"
or the standard "points" (the polypath meta data would inform both).
Both forms could be further modified by a "showNumber" property which
would put an ordinal number (and space char) before each point set.
This numbering would be display only and would be ignored by the
interpreter and any processing.
1 1,2,rel .95,+,rel .02,.45,23 45 100
2 4,5,rel .4,+,abs 3,.80,33 45 100
3 7,10,rel .95,+,rel .02,.45,43 45 100
Another polygon property would be polyD or polyDimension which would
hold an counting number (usually 2 or 3) to indicate the number of
coordinate planes to be described as numerical coordinates (2D or 3D).
On Feb 2, 2009, at 1:15 AM, viktoras d. wrote:
> now you have my vote for this feature too.
> Richard Gaskin wrote:
>> In fact, I'm the only one who's voted for Andrew's request for
>> that feature:
>> I also had an email exchange with Kevin about this very feature
>> just last week.
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode