Page 1 of 1

mixing 2D and 3D

Posted: Sun Aug 24, 2003 6:42 pm
by coma
Hi everybody :)


I have a little problem.

I want to draw 3d objects on a 2d background.

Is it possible to draw 3d object somewhere else the videoscreen (on a image or a sprite, for exemple), and then to use the grabbed 3d picture as a sprite ?

Posted: Sun Aug 24, 2003 8:03 pm
by Fred
Display your background and then the 3D objects..

Posted: Sun Aug 24, 2003 8:13 pm
by coma
no, this will no work, because I want to put the 3d objets at x,y on the screen.

it's hard to explain, but I want to use 3d object over a 3d isometric background.
If I use the classic method, the same object on the left of the screen will not be the same that the object on the right (result from the perspective).

I don't know if I am clear.....

so, it's not possible to draw 3d objects into another buffer ? only on the screen ?

Posted: Sun Aug 24, 2003 9:36 pm
by Fred
Yes, that's clear. You want an othographic projection instead of the currently used 'perspective' one. It should be available in the next release.

Posted: Sun Aug 24, 2003 9:45 pm
by coma
ok fred.

I intended to use a very distant camera with a high zoom level to approximate this, but if the orthographic projection is in the next version, it's the paradise :)