|
|
Hi, gang.
I'm looking for some help. I'm trying to create beginning and ending control
points for a spline and I'm having some trouble. I want to define the points by
rotating them from another point, but not sure how to do it. Here's the general
idea of what I'm trying to do:
#declare CPs1 = < 0, 10, -1 >;
#declare CPs2 = < 0, 10, 0 >;
#declare CPe1 = < 0, 10, -1 > rotate z*35.3 rotate y*45};
#declare CPe2 = < 0, 10, 0 > rotate z*35.3 rotate y*45};
Any help you can provide would be appreciated. Thanks!
Post a reply to this message
|
|
|
|
> Hi, gang.
>
> I'm looking for some help. I'm trying to create beginning and ending control
> points for a spline and I'm having some trouble. I want to define the points by
> rotating them from another point, but not sure how to do it. Here's the general
> idea of what I'm trying to do:
>
>
> #declare CPs1 = < 0, 10, -1 >;
> #declare CPs2 = < 0, 10, 0 >;
>
> #declare CPe1 = < 0, 10, -1 > rotate z*35.3 rotate y*45};
> #declare CPe2 = < 0, 10, 0 > rotate z*35.3 rotate y*45};
>
>
> Any help you can provide would be appreciated. Thanks!
>
Look for vrotate on the docs (vector functions).
Regards,
--
Jaime
Post a reply to this message
|
|