simonb65
Alibre Super User
Has anyone used the WorldToScreen function and have you got a snippet of code (C++) that you use. I have the x,y,z world coords, but when i create a SAFEARRAY and call WorldToScreen I get a E_NOINTERFACE error raised!!!
What I'm trying to do is draw 2D text and annotation over the 3D model. As there doesnt seem to be access to the viewport/camera location and direction, The WorldToScreen looks like the only way to match up the x,y,z of the model to a x,y screen co-ordinate.
What I'm trying to do is draw 2D text and annotation over the 3D model. As there doesnt seem to be access to the viewport/camera location and direction, The WorldToScreen looks like the only way to match up the x,y,z of the model to a x,y screen co-ordinate.
Last edited: