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 8568645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:09:28+00:00 2026-06-11T18:09:28+00:00

In the walk through for blackberry 10 sdk using opengl es. it uses 2

  • 0

In the walk through for blackberry 10 sdk using opengl es. it uses 2 commands namely:

glMatrixMode(GL_PROJECTION);
glLoadIdentity();

and later:

glMatrixMode(GL_MODELVIEW);
glLoadIdentity();

I don’t understand what these are used for when initializing the viewport. If I take those lines out the program still runs perfectly and nothing changes.

I see its got to do with rendering the matrix but i’m not sure I understand which matrix as this is only when im initializing before any sort of rendering.

  • 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-06-11T18:09:29+00:00Added an answer on June 11, 2026 at 6:09 pm

    Called in an initialization routine, those do nothing. The default value of both matrices is identity, so it’s just setting it to the same value that they already are.

    As to why it is there, I guess that some people just like to explicitly setup their context so they know for sure what the current value is, maybe it’s easier to remember or they don’t trust the context to have the right default value, I don’t know.

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

Sidebar

Related Questions

I am just trying to walk through this tutorial http://jimneath.org/2011/03/24/using-redis-with-ruby-on-rails.html#redis_and_rails And when I put
I'm attempting this walk-through: http://msdn.microsoft.com/en-us/library/ff649818.aspx On Step 6 I've had problems using Installutil so
I have a little trouble using the Qt functions to walk through a directory
I was going through a walk through for installing Kindle Fire's SDK in Eclipse.
I'm using some fairly heavy reflection to inspect and walk through a library of
I need a good resource or walk through for designing a form without using
I try to walk through this tutorial Facebook Tutorial % ~/facebook-ios-sdk/scripts/build_facebook_ios_sdk_static_lib.sh My question: this
When I run through implementing Google Analytics in my app, using this walk through:
I've received Mixed responses on this depending what walk-through I read, I've defined a
I want to know that How can I walk through this loop ? this

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.