Anyone have a smart/easy way to track a 3d object in cam/screen space?
I'm wanting to basically do this..
With a standard C2 Sprite, tracking a moving Q3D Object.
ah I see this has been discussed a little..
Page 167 - QuaziGNRLnose said--
[quote:13x18o6c]for the 2D/3D projection thing, there's no built-in method to get the view-space coordinates or projection matrix. Generally that's supposed to be what you use Q3D sprite for.
If anyone has done this already, please pm me. Otherwise I'll be having a go at it myself..
Incidentally, the specific reason I want this, rather than just using the Q3DSprite, is that my Q3DRendering is being done at a lower resolution than my C2 Layouts. I want my HUD overlay to be super crisp, while my Q3DMaster is fine at a lower resolution.
I am curious about mapping Q3D objects to the 2D screen space as well. I am submitting a game to AirConsole, and one of their requirements is to show the nicknames of the players onscreen as text, rather than pre-rendered images. Right now I am using a Q3D sprite with pre-rendered text, but I need to be able change the text at runtime. The players are rendered in 3D, but there is no Q3D text, so I would like to use a standard Construct 2 Text object overlaid on the screen.
Does anyone have a quick and easy way to map 3D space to the 2D screen so that I can label the players?
Here's what I am looking to do: