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

  • Home
  • SEARCH
  • 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 6702905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:06:30+00:00 2026-05-26T07:06:30+00:00

I am developing a new game for Android. In this I am using Android

  • 0

I am developing a new game for Android. In this I am using Android OpenGL ES
1.1. In this when I translate in Z axis to -2, the triangle moves backwards. Now when I translate in X axis and Y axis the triangle is visible till a limit of say -1.4 to 1.4 in Y axis and -0.8 to 0.8 in X axis.

Now If I move further down say about -4 in Z axis, I can move the triangle in
Y-axis to say about from -1.9 to 1.9 and X- axis from -1.2 to 1.2. The numbers provided are only approximate values. The point is that when I move back wards in Z axis, I am able to move triangle for a longer range in X and Y axis. This keeps increasing as I move backwards.

Now I would like to know calculate this visible range for a given value of Z. I mean If I know the Z value to be as -3 I would like to calculate in code what is the visible range of triangle to which i can translate in X and Y axis. I right now do it manually by trying trial and error with different values. Please let me know how to calculate it in code. Thank you very much in advance for your time and help.

  • 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-26T07:06:31+00:00Added an answer on May 26, 2026 at 7:06 am

    This greatly depends on what matrices you put the triangle through, or you have loaded into opengl. Last time I checked, by default, the clip coordinates for opengl was -1 to 1 in the x, y, and z axis.

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

Sidebar

Related Questions

I have been developing a new online game for the past year now. The
i am developing a space invader game, and i am new to this game
I am a new game developer and have started developing game for android. I
I'm new to OpenGL ES and developing a simple 2D game. However, I'm confused
I am new to android and developing a small game based on AndEngine (www.andengine.org).
I'm developing an android app, and have developed a game, but I now have
I'm writing a puzzle game to learn developing Android Apps. But now I'm stuck
I am developing an android game application,I have implemented all the screens.Now i want
I am developing game for Xbox 360 and I am very new to this
I am a new to developing for Android and have been reading up and

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.