Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1001417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:40:08+00:00 2026-05-16T07:40:08+00:00

In the opengl section of Hillegass’ otherwise fine book, we’re given sample code for

  • 0

In the opengl section of Hillegass’ otherwise fine book, we’re given sample code for drawing a 3d object on a view. Two people at the book’s discussion forum at http://techstra.bignerdranch.com/ have reported that the drawing code runs, but fails to draw the object. I’m getting the same result, and the only discussion I’ve found resolves to a solution for a fix to the Ubuntu port of OpenGL, not much help to us trying to get this working on the mac.

Seeing how the code successfully changes the bg color, everything’s apparently wired up. Maybe the object is written out of the viewport. Has anyone else tried this code and gotten it to work?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T07:40:08+00:00Added an answer on May 16, 2026 at 7:40 am

    I just tried it. Works fine. You can download my project here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to render a two-dimensional half-plane in OpenGL with the following code:
When drawing OpenGL ES textures, they seem to snap to round pixel locations, as
I'm working with some OpenGL code for scientific visualization and I'm having issues getting
Is OpenGL, given a series of points, able to fill in a polygon or
In OpenGL, one often writes code like this: glPushMatrix(); // modify the current matrix
Due to performance issues, I have had to transfer my android opengl code from
I was planning on drawing text with opengl and couldn't figure out how I
Android opengl-es view question. So in openGL, the default position of the camera and
I run openCL /openGL program which uses wxWidget as gui enviroment Inside object of
From section 5.8 of The OpenGL® ES Shading Language (v1.00, r17) [PDF] (emphasis mine):

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.