Thanks in advance. i need some help regarding below issue.
I am writting a C# code with opengl. i am not able to apply texture for selected entity from screen (3D Model). The entity may be a plane, polygon, surface or it may be any uneven surface. once i will select the entity from 3D model then i should able to apply texture for the whole surface/body. Here i can able to select the entity and can able to apply color or material. but texture could not able to apply.
i can able to apply textures only for selected plane through loading texture and applying it for 4 vertices of selected plane using glBegin(GL_QUARDS) and glEnd(). but i want to apply texture for selected face/surface id (or) generated openGL list (or) generated unique tag, without mapping texture using glBegin and glEnd(). Can anyone help me please.