Re: 3D Graphics in MFC
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Fri, 14 Mar 2008 13:15:27 -0500
You could use OpenGL, or Direct3D. I once tried OpenGL, but at that time the graphics
weren't up to supporting it (things changed tremendously in XP, which required OpenGL
support for cerfication of display drivers). I've also not used Direct3D.
It depends on what you mean by "cylinder"; for example if all you need is a cylindrical
object like a bar chart, that's not really 3D. It is an ellipse, an arc, and a filled
area, and you can use gradient fill to fill the area to give a 3D illusion using ordinary
GDI functions. But if you need a cylinder to rotate around and show you its inside,
that's a bit more challenging, and requires either OpenGL or Direct3D.
joe
On Fri, 14 Mar 2008 16:26:28 +0100, Anders Eriksson <andis59@xxxxxxxxx> wrote:
HelloJoseph M. Newcomer [MVP]
I want to draw some simple 3D graphics in a MFC SDI Application. The
graphics consist of a cylinder, which may have multiple radius, and on that
cylinder I want to draw Text and if possible also bitmap images.
I have not done anything like this before so please recommend how to
proceed...
// Anders
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- 3D Graphics in MFC
- From: Anders Eriksson
- 3D Graphics in MFC
- Prev by Date: Re: Thread and Timer
- Next by Date: Re: Using CString object in non MFC programs
- Previous by thread: Re: 3D Graphics in MFC
- Next by thread: Re: 3D Graphics in MFC
- Index(es):
Relevant Pages
|