Thanks MaxH. unfortunately the edition I downloaded for Opengl super Bible no longer contain this section.
Type: Posts; User: Ali S. Alfaraj
Thanks MaxH. unfortunately the edition I downloaded for Opengl super Bible no longer contain this section.
Hi MaxH, Can you tell what chapter I can found this paragraph?
Also, I want to point out that I want to correct specularity using GL_BLEND.
Hello,
Thanks for the replies.
When I apply texture mapping on my object, the light specularity changes. I'm using a solid sphere as my light source. When applying the texture mapping, the...
Hello friends,
I'm using texture mapping on some of my objects in openGl. I want to display correct specularity with texturing using Blending (GL_BLIND). I'm not sure how that is done and hope you...
Good day friends,
I'm writing the camera code for my scene in openGl. I'm attempting to write a code that enable me to zoom in/out and rotate the camera. The problem is that to rotate the camera I...
Thanks for the reply Alfonse,
You are right. But the thing is that I have several objects in the scene. Fore example, I have an object standing on a ground and I only want to change the colour...
Hello friends,
I'm using the glmaterial to change the colour of objects in a scene in openGl. The problem is that I want to change the colour of one object, but end up changing the colour of all...
Thanks for the reply Zbuffer. I'm sure It will help me a lot.
Ali
Thanks for your helpful reply..:)
Controlling several objects in openGl independently
Hi friends,
I'm creating a scene in openGl. There will be a number of different objects in this scene, and I would like to have the freedom...
Hi friends,
I'm attempting to draw a ground with a light source in openGl.
I did draw the ground (a cube face on x-z plan).
I draw a solid sphere (glutSolidSphere) to represent the light source,...
Thanks for the sharing your code.
One question If i may ask, what is the purpose of the idle function:
void idle()
{
if (!mouseDown)
{
xrot += 0.3f;
yrot += 0.4f;
Hi friends,
Is there something not clear about my question?
Good day all,
I wrote a code, in Opengl, to display an object (e.g. cube) in the display window.
What I want to do next is to rotate this object around the X, Y and Z axis based on the X and Y...