FROM : Gordon Apple
DATE : Wed May 07 22:42:35 2008
That is effectively what our renderer object does. Note that we
transform the drawing space, not the object. For a group object, it sets
the group's transform, then recursively calls the same rendering function
for the objects in the group. Each object's transform is then applied
within the group's transform space.
> Hmmm...
>
> I'm just talking out loud here, but wouldn't it work to have a group
> model object whose drawing function is to concatenate its transform
> to the CTM then tell all the objects within the group to draw? Then
> all objects inside the group just do their drawing normally.
>
> -Kenny
>
>
DATE : Wed May 07 22:42:35 2008
That is effectively what our renderer object does. Note that we
transform the drawing space, not the object. For a group object, it sets
the group's transform, then recursively calls the same rendering function
for the objects in the group. Each object's transform is then applied
within the group's transform space.
> Hmmm...
>
> I'm just talking out loud here, but wouldn't it work to have a group
> model object whose drawing function is to concatenate its transform
> to the CTM then tell all the objects within the group to draw? Then
> all objects inside the group just do their drawing normally.
>
> -Kenny
>
>
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

