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.
 



Comments

  • Pc folder icon pack analysis at MainKeys

    Posted by twijttericoonmaker..com 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 : agcku.com

    Reply
  • 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

    Reply
  • 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?
    Pawel

    Reply
  • 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?

      Reply
    Reply
  • 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.

    Reply
  • Super

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

    Originally posted by: Nanda

    It's nice work

    Reply
  • 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!

    -JJ

    Reply
  • 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.

    Reply
  • 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?
    Thankx.
    From Alan.

    Reply
  • "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...

    Reply
  • Loading, Please Wait ...

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

Top White Papers and Webcasts

  • Live Event Date: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

  • Email is the most common communication vehicle used by organizations of all shapes and sizes. Among the billions of email messages sent every day are sensitive information, critical requests, and other essential business data. IT staff bear the burden of ensuring the confidentiality, integrity, and availability of the information contained within the communication. This white paper explores the email security landscape, an assessment of the threats organizations face,  and the building blocks of an effective …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds