Questions tagged [texture-mapping]

Texture mapping is a method for adding detail, surface texture (a bitmap or raster image), or color to a computer-generated graphic or 3D model.

971 questions
-1
votes
1 answer

Textures not Working With glBindTexture

I have a single texture working, but I cannot figure out how to switch between 2, or how glBindTexture actually works. I copied this from somewhere and it works, and I believe that I understand most of it. Problem is, I can uncomment…
Joey Gelpi
  • 31
  • 1
  • 1
  • 5
-1
votes
1 answer

open application1 within application2?

pretty novice programmer here so this question is more theoretical than anything. How would one go about opening an application, say Maya, within another application, say second life? I'm thinking about how two users could collaborate and model…
-1
votes
1 answer

hrc = wglCreateContext(hdc) , wglMakeCurrent(NULL,NULL) and glEnd() throw INVALID_OPERATION

I have downloaded the class Setting Up OpenGL in an MFC Control and customized it for my purpose ( showing an image and making zooms and other translates on it ): OpenGLControl.h #pragma once #include "afxwin.h" #include "gl\GL.h" #include…
-1
votes
1 answer

how to change the hsv of texture in opengl

Im having a three dimensional array of rgba texture and im displaying it on my viewport. how can i change the color Hue, Saturation and value by input user gave . im new to opengl so need guidance to change the HSV according to user selection .
Wagmare
  • 1,354
  • 1
  • 24
  • 58
-1
votes
1 answer

OpenGL ES. Texture mapping on a given path

Need to apply a texture on a given path. The path is a set of points. Tell me how to do or where to read about how to do it on Opengl ES?
Mixer
  • 1,292
  • 3
  • 22
  • 41
-1
votes
1 answer

OpenGL ES Texture Coordinates mapping and limiting

I have a seamless Texture2D with GL_REPEAT and few triangles to which this texture is mapped correctly. for each vertex in these triangles i'm updating positionX to move this texture as parallax background and it gets large values. u =…
Paweł
  • 2,144
  • 1
  • 18
  • 25
-1
votes
1 answer

How can i fill and texture a cylinder in java without using opengl or directx

is there a book or tutorial that show this with simple example?
-1
votes
1 answer

OpenGL ES 2. Texture mapping to a quad (not square or rect)?

http://smotr.im/9KwB There are some pictures: 1)a texture I have 2)a line I have already drawed with triangle strip 3)the result I need to achieve The question is how to draw a texture inside these segments which are usually not regular quads?
-2
votes
1 answer

How can I seamlessly span single texture across multiple objects?

E.g. say I have any array of planes, that for texturing-specific purposes, I want to treat as a single 2d object. Like so: How would I go about mapping this? (In production, the number of independent objects and their location in the world space is…
arkon
  • 2,209
  • 3
  • 27
  • 36
-3
votes
1 answer

Divide a combination of squares into triangle and calculate coordinates

The idea is expressed by my picture. For example: I will divide square 1 into triangle 1 and 2. So the coordinate of triangle 1 is (0, 1); (0, 0); (1, 0;) and the triangle 2 is (0, 1); (1, 0); (1, 1). Similarly to the rest of the squares. Which…
-3
votes
1 answer

Bump-map a sphere with a texture map

We would like to bump-map a sphere with a texture map. However, the surface of the sphere has an area that is 10 times the area of the texture map(area for both in pixels). Describe different ways in which the texture map can be used for bump…
Avinash Bhawnani
  • 761
  • 1
  • 6
  • 7
1 2 3
64
65