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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:14:27+00:00 2026-05-29T12:14:27+00:00

I am facing a problem when I make see through of my cube the

  • 0

I am facing a problem when I make see through of my cube the cube shape disturb(looking as in image)
I use code for drawing cube is–

//Drawing
gl.glTranslatef(0.0f, 0.0f, -5.0f); //Move 5 units into the screen

        float scaling  = (PhotoCube3DLWPActivity.scaleValue)/100.0f;
        gl.glScalef(scaling,scaling,scaling);           //Scale the Cube to 80 percent, otherwise it would be too large for the screen
        //Check if the blend flag has been set to enable/disable blending
            if(PhotoCube3DLWPActivity.blend)
            {
                gl.glEnable(GL10.GL_BLEND);         //Turn Blending On 
                gl.glDisable(GL10.GL_DEPTH_TEST);   //Turn Depth Testing Off

            } else {
                gl.glDisable(GL10.GL_BLEND);        //Turn Blending On 
                gl.glEnable(GL10.GL_DEPTH_TEST);    //Turn Depth Testing Off 
            }

but in else case no such type of probem,please elp me ASAP.enter image description here

  • 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-29T12:14:27+00:00Added an answer on May 29, 2026 at 12:14 pm

    It looks perfectly normal to me. Currently the back-sides of the cube shows very clearly, which due to the perspective are smaller than the front (If you look carefully you can see the front very faintly).
    You might want to change your blending function to get a ‘better’ look of transparent material, usually like so: glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);

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

Sidebar

Related Questions

I am just facing a problem,can not able to overcome(make be lack of proper
I am facing a rather strange problem with make. My make file contains: all:
I am facing problem with an Oracle Query in a .net 2.0 based windows
I am facing problem with the control flajaxian.FileUploader i.e. after downloading the dll file
I am new to struts 2. I am facing problem in filling Select tag
When facing the problem of validating a property in a JSF2 application there are
I am facing a problem with .NET generics. The thing I want to do
I'm facing a problem with IE6. I took the toggle function from this website
I am facing a problem. I would like to localize my action names in
I'm facing a problem while unit testing my forms. The problem is that data

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.