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.
3
votes
1answer
32 views
Fixed texture size in Three.js
I am building quite a complex 3D environment in Three.js (FPS-a-like). For this purpose I wanted to structure the loading of textures and materials in an object oriƫnted way. For example; ...
0
votes
0answers
13 views
Java3d texture distortion on edges
I am working w. java 3d and mapping a texture to an object (ex. a dinosaur), and by default it is seen along the object's profile. The texture gets very distorted along the 'depth' portion of the ...
1
vote
2answers
40 views
OpenGL/GLUT - Project ModelView Coordinate to Texture Matrix
Is there a way using OpenGL or GLUT to project a point from the model-view matrix into an associated texture matrix? If not, is there a commonly used library that achieves this? I want to modify the ...
0
votes
1answer
45 views
Mayavi and Texture Mapping (or turning a 2D image into a 3D image)
I have a project where I have a 2D image but I need to then turn this into a 3D object. I already have the skeleton model of the object, it is a simple matter of applying color to the surface. I ...
0
votes
0answers
35 views
OpenGL conformal texture mapping [closed]
I'm a 3D programmer with background in physics, interested to better know how texture mapping can be made using conformal maps for simple surfaces.
I want to texture map a paraboloid:
...
0
votes
0answers
46 views
Multiple textures on one polygon OpenGL
So I have no idea how I should be doing what I want do so I'll explain as best as I can.
http://i.stack.imgur.com/j65H8.jpg
So imagine that entire image is a 2d square 128x128 and each color I want ...
1
vote
1answer
39 views
Cross-fade between two textures on a sphere
I have a 3D scene with only one sphere in it and I have two textures - one for the night, and one for the day of this planet.
In addition I have the a lightSource at (15,15,15) in my scene. For each ...
1
vote
0answers
53 views
Implementing reflection lines / zebra analysis (in MATLAB) [closed]
A while back I wrote a 3D-model viewer in MATLAB. These 3D-models consist of parametric surfaces (patches), which means that I can evaluate the normal and (Gaussian) curvature at any point.
Now I'd ...
0
votes
1answer
38 views
Determining Texels in a Fragment
Consider the following quote from this OpenGL ES for iOS Book:
OpenGL ES supports several different sampling modes: Consider what happens when fewer fragments are produced for a triangle than the ...
1
vote
2answers
96 views
three.js: rendering 3d text with custom texture
I've been wondering is it possible to do skinning to the 3d text with loaded images as texture? I knew you could do it with cubes and others since most of the sample were showing tutorials how to do ...
0
votes
1answer
101 views
UV calculation on custom 3d mesh
After making some research, i didn't find yet any formula that will offer me a way to push faceVertexUvs on my custom mesh (basically countries on top of a sphere), I need to burn world texture on ...
0
votes
0answers
43 views
Is it expensive to do trilinear texture mapping in a shader?
Imagine a big procedural world that worths more than 300k triangles (about 5-10k per 8x8x8m chunk). Since it's procedural, I need to create all the data by code. I've managed to make a good normal ...
0
votes
1answer
77 views
Directx9.0 Texture Mapping rendering
I would like to swap my texture on run-time on my texture (Contain sprite sheet). However, I have problem understand what is rasterizer and I don't know what kind of matrix I should pass in.
class ...
0
votes
0answers
56 views
OpenGL transparent texture rendering oddly
I'm trying to write some code that will render an arbitrary image on an arbitrary polygon. This program needs to support image transparency. I have chosen to use OpenGL to render said polygons. As I'm ...
-1
votes
1answer
52 views
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 ...