|
|
Am 21.03.2017 um 15:12 schrieb Bald Eagle:
> What would it take to get a "Point" or "Vector" object{} ?
>
> I thought it might be useful as a "tag" to follow objects around ("Where did my
> xyz go???")
> The corners of a box could be defined with those vectors/points, and then when
> it was transformed, the actual corners of the box - not the bounding box could
> be easily accessible by the user.
>
> It would be handy to just define that and plop it into a union to be transformed
> like any other object{}, with the same exact syntax - especially for new users
> who would have a hard time struggling with all of that vtransform stuff - it's
> cumbersome and confusing until you've used it enough times to get the hang of
> it.
What you suggest would be inconsistent with the existing primitives.
Remember that
#declare Foo = sphere {...}
#declare Bar = union { object{Foo} ... translate ... }
will /not/ modify `Foo`, but rather add a nameless copy of it to `Bar`; so
#declare Foo = point {...}
#declare Bar = union { object{Foo} ... translate ... }
should, for the sake of consistency, not modify `Foo` either, making the
whole thing pretty useless.
Post a reply to this message
|
|