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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:13:42+00:00 2026-05-30T22:13:42+00:00

I have a app that shows two polygons. I need to make progressively invisible

  • 0

I have a app that shows two polygons. I need to make progressively invisible one of the polygons, but the other must be visible. Im working with OpenGL ES 1.1. I’m developing for Android, but i think that other platforms will do the same code with some minor changes.

How i can do that?

I know that i must do it with these functions:

    glEnable (GL_BLEND); 
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);

But i dont know where i have to put them and how to use them to make my polygon progressively transparent.

  • 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-30T22:13:44+00:00Added an answer on May 30, 2026 at 10:13 pm

    Looks like the right blend functions there, call them before drawing your translucent polygon. The alpha value is typically supplied with the color or texturemap (Red, Green, Blue, Alpha), and the range for alpha is 0.0 (transparent) to 1.0 (opaque) given the blending function above.

    Also note that translucent objects are sensitive to render order: Typically you must draw all your opaque objects first, using the depth buffer as normal. Then, turn on blending and set the depth buffer to read-only, and draw your translucent objects back-to-front (draw the farthest from the camera first). This way the fragment blending happens farthest-to-nearest.

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

Sidebar

Related Questions

have an app that finds your GPS location successfully, but I need to be
In my iPhone app I have two viewControllers: viewController1 has a tableView that shows
I have an app that shows a series of UIImageView s on a ScrollView
I have an iPhone app that shows a simple view (View 1) that has
We have an app that uses simple one way binding with a GridView to
I have an ASP.NET MVC app that shows news articles and for the main
I have an app that queries the MediaStore and shows all the images in
I have a web app that prints reports, most are just one page, or
I have an app that I want to be able to build two different
I have a rails app that shows statistics based on an employee's daily production.

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.