Starting Rendering Modes

Download project files 282KB

Keywords :

  • OpenGL rendering context
  • MFC
  • Rendering mode : wireframe / vertex / faces
  • Gouraud shading
  • Antialiasing
  • Lighting
  • Scaling (with sliders)
  • Rotation (mouse events)
This sample create an OpenGL rendering context in a multidocument / view framework and display the most simple representative object : a sphere. A formview on the left permits to check rendering options, like rendering modes (vertex, wireframe, faces), antialiasing, lighting, gouraud shading (in face and wireframe mode), lighting and back colors, scaling, animation (rotation). Mouse events permits rotation.


  • Pc folder icon pack analysis at MainKeys

    Posted by on 12/12/2012 02:32pm

    By WebOsPublisher Drawing Mp3 Downloads | GoShopPie.Com GoShopPie.Com home, garden, Jewelry, cosmetics, clothing, etc Home Home » Product » drawing mp3 downloads drawing mp3 downloads SPECIAL OFFER /* ================= Style for Plugin Container ================= */ #container background:#fff; /* Mozilla: */ background: -moz-linear-gradient(top, #, #); /* Chrome, Safari:*/ background: -webkit-gradient(linear, left top, left bottom, from(#), to(#)); /* MSIE */ filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#', EndColorStr='#', GradientType=0); color:#000; border-width:1px; border-style:Dashed; border-color:#Dashed; border-radius: 10px; /* ================= Style for Custom Message ================= */ #cmessage background:#fff; color:#000; /* ================= Style for Product Title ================= */ Starting Rendering Modes a color:#000; Starting Rendering Modes a:hover text-decoration:none; /* ================= Style for Price Save ================= */ #pricesave color:#; font-size:18px; text-decoration:blink; Deal of the Day already Sold OutCheck again soon Categories Baby Beauty Grocery $ Gourmet Food Home $ Garden Home $ Kitchen Home Improvement Jewelry Shopping Tips Special Offer Sports $ Outdoors Recent Posts Hamilton Beach 33967 Set ‘n Forget 6-Quart Programmable Slow Cooker Broadway Basketeers Christmas Chocolate Gift Tower Ferrero Rocher 48 Piece Thanksgiving Christmas Holiday Gift Box Assortment Lifesmart Rock Solid Hydromaster 7 Person Spa Hot Tub With 30 Jets Laguna Bay Spas 5-Person 19-Jet Hot Tub with 110V GFCI Plug Popular Search TermsBack to Schoolshoppingbest clothe shopsхэллоуин детские фотографии Go Shop | Theme Amazon Store By :

  • Re:

    Posted by icon package on 09/19/2012 08:08am

    You were visited simply with a brilliant idea P.S. Please review Black Toolbar Icons from falcowarecom46

  • Splitter

    Posted by Legacy on 08/25/2003 12:00am

    Originally posted by: Pawel

    A good one right. But I have a problem with it. When I make my own version of an MFC Application without a splitter the view initializes only after refreshing (OnPaint() takes no effect before that).

    Anyone can help?

  • OpenGL

    Posted by Legacy on 08/04/2003 12:00am

    Originally posted by: yendluri

    it's really good.
    but i need some help.
    in my project i need to draw 3D XYZ Scatter Graph,3DXYZ Bars,3D WaterFall,3d color map by reading data from a file that data may be text or excel,wave file etc..........
    so pls help me out how to do.iam new to this open Gl.

    Thank u,
    regards usha

    • Hi

      Posted by dgplinux on 01/17/2005 11:19am

      r u my friend from hyd?

  • So Good.

    Posted by Legacy on 07/14/2003 12:00am

    Originally posted by: nalini kanth

    The program is very good giving a very high inspiration for the people who are really intrested to work on OpenGL.

    Very Good.

  • Super

    Posted by Legacy on 05/09/2003 12:00am

    Originally posted by: Nanda

    It's nice work

  • Excellent

    Posted by Legacy on 02/13/2003 12:00am

    Originally posted by: J Juno

    An outstanding tutorial, especially for those of us learning how to integrate OGL with MFC. Thanks!


  • Can you map colors and figures onto the sphere surface?

    Posted by Legacy on 12/28/2001 12:00am

    Originally posted by: Michael B. Pliam

    Thanks for this great demo.

    I wonder if it would be possible to map colors and figures onto the surface of your rotatable sphere?

    This would make it very useful for certain types of mathematical mapping demonstrations. Even more so if you could produce 2 separate spheres that rotate in tandem in the same view.

  • file missing:Tool.pch

    Posted by Legacy on 11/15/2000 12:00am

    Originally posted by: Alan

    when I am trying to compile the code, the compiler says Release/Tool.pch is missing.
    What can I do?
    From Alan.

  • "First-chance exception" error

    Posted by Legacy on 04/15/2000 12:00am

    Originally posted by: Mark McLaren

    When I run this program in debug mode, a message saying "First-chance exception in Tool.exe (GDI32.DLL): 0xC0000005: Access Violation." is printed to the debug trace. It doesn't seem to affect the output, I would just like to know what causes it...

  • Loading, Please Wait ...

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Anthony Christie, the Chief Marketing Officer for Level Communications, is responsible for customer experience, worldwide marketing and product management. In this informative asset, he shares his insights into why a private network connection to cloud-bases applications is the right decision for your enterprise. Download now to find out more.

  • Moving from an on-premises environment to Office 365 does not remove the need to plan for disruptions or reduce the business risk requirements for protecting email services. If anything, some risks increase with a move to the cloud. Read how to ease the transition every business faces if considering or already migrating to cloud email. This white paper discusses: Setting expectations when migrating to Office 365 Understanding the implications of relying solely on Exchange Online security Necessary archiving …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date