Hi!
I was just wondering how you guys would solve the problem of positioning 3d-objects with 2d-coordinates?
Say for instance that you have some 3d-world you're flying through and at the same time you wan't a little 3d-logo(or someting else) spinning around a the bottom of your screen, how would you position the 3d-logo if know that you wan't it at e.g 2d_x=200,2d_y=350?
I guess what I'm after is some function like this:
struct Rect
{
int 2d_x,2d_y;
int width,height;
};
void Draw3dThingie(Rect& where);
And then the function would render it's stuff so that it's inside this rectangle which describes a 2d-section of the screen.
Or maybe this is not the way to do it, maybe you just render away with e.g a 3d-cube and then fiddle with the 3d-coordinates until the cube is positioned correctly 2d-wise i.e onscreen?
Any help would be appreciated.
/D



