• Advertisement

BboyMasa

Member
  • Content count

    4
  • Joined

  • Last visited

Community Reputation

100 Neutral

About BboyMasa

  • Rank
    Newbie
  1. Ok I 'll read opengl documents and I'll tell you if I have some results Thanks thanks thanks...But I have another question...Why color of ray in the sphere aren't how I want it? Ray are striped lines and I used glcolormaterial because glcolor doesn't work...But this error come only when I add textures...
  2. Any hint to implement a pseudo-glass effect with material color? I want to have effect light on my sphere like a glass and can I have alpha blending on sphere to view rear sphere...With my known of fixed function I don't really now how can I get this pseudo-effect Any guide? Thanks!
  3. Hello, I'm a beginner with opengl, I'm making a plasma sphere in opengl, i have a problem with a glass effect...i don't understand how i can have that effect, I suppose that I must work on material illumination property, but I don't know how it is possible because haven't idea how I can edit this parameter in opengl...Can you explain me how i must use to have this effect? My second question is why when I insert a texture materials colors change and I can't have the effect that I want. I attach a image of my sphere. I want to have the glass effect on trasparent sphere. (I used alpha blending to do it); If you need I can insert my code. To make all object I used quadric with glu (also to map the texture I used gluQuadricTexture, but background is inserted normally with texture position on screen position). I use OpenGL with C programming language. [attachment=4466:Schermata 2011-07-21 a 22.36.21.png]
  4. Hello, I'm a beginner with opengl, I'm making a plasma sphere in opengl, i have a problem with a glass effect...i don't understand how i can have that effect, I suppose that I must work on material illumination property, but I don't know how it is possible because haven't idea how I can edit this parameter in opengl...Can you explain me how i must use to have this effect? My second question is why when I insert a texture materials colors change and I can't have the effect that I want. I attach a image of my sphere. I want to have the glass effect on trasparent sphere. (I used alpha blending to do it); If you need I can insert my code. To make all object I used quadric with glu (also to map the texture I used gluQuadricTexture, but background is inserted normally with texture position on screen position). I use OpenGL with C programming language. [attachment=4281:Schermata 2011-07-21 a 22.36.21.png]
  • Advertisement