Re: 3D Graphics in MFC



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:

Hello

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
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Announcing: OpenGL Distilled
    ... My new book, OpenGL Distilled, was recently published by Addison-Wesley ... and I've yet to find a way to "distill" GLSL. ... * Algorithms -- This isn't an introduction to computer graphics. ...
    (comp.graphics.api.opengl)
  • Re: Display problems in Vista
    ... graphics hardware; you're not doing that with the current setup. ... the whole point of OpenGL is to provide a convenient way to draw ...
    (comp.graphics.api.opengl)
  • Re: Texture clamping
    ... Direct3D uses left handed coordinates, ... whereas OpenGL uses right handed coordinates. ... developed my very own shading language, which has been inspired by Lisp. ...
    (comp.graphics.api.opengl)
  • Re: OpenGL will never catch on
    ... All windows versions from win 98 on up ship with openGL. ... Af for graphics acceleration this is supported by all modern ... >> Cello on movitz was the topic. ... Only on systems without OpenGL cards? ...
    (comp.lang.lisp)
  • Re: 3d
    ... > two choices for the PC, namely based on Directx or based on OpenGL. ... I'm not so sure that Java3D ... If your card advertises hardware acceleration of OpenGL, ... accelerates Direct3D operations, then it's also likely to be accelerated ...
    (comp.lang.java.programmer)