is it possible to have gldraw code in a transform node


#1

Hi everyone!

Im creating a camera node that I would like to have draw functiuons in the transform node not the camera node.

is it possible to have gldraw code in a transform node or if not what alternatives or approches could I try?

Thanks a lot!


#2

No, not possible. You always have to have some sort of ‘shape’ node as only they support viewport rendering.

edit: uh, thats of course not true. But MPxTransform just doesn`t have a ‘draw’ override. So it cannot draw in the viewport.


#3

Thanks for your reply!