Questions tagged [texture-wrapping]

6 questions
18
votes
1 answer

How to write right repeat texture with three.js

I search to repeat texture on the model. On all examples or questions I found only this like as: var lavaTexture = THREE.ImageUtils.loadTexture( 'images/lava.jpg' ); lavaTexture.wrapS = lavaTexture.wrapT =…
Laurane Bernard
  • 209
  • 1
  • 2
  • 10
8
votes
1 answer

Convert an image to cylindrical shape in java

I didn't find any examples in openCV to convert a flat image to cylindrical in java, I want it to render the image in 2d not 3d, also didn’t find any example code or book on it. Below is the image of pictures which I want to warp around a cup. A…
Aqeel Haider
  • 603
  • 7
  • 24
2
votes
1 answer

How can the texture wrapping direction be changed from U to V and vice-versa in DirectX11?

In DirectX 9 it used to be like this: d3dDevice->SetRenderState(D3DRS_WRAP0, D3DWRAPCOORD_0); That way you could change how Direct3D perceived the shortest route between texture coordinates in the u-direction and v-direction. Very useful for spheres…
Haalef
  • 348
  • 2
  • 13
2
votes
0 answers

Three.js Repeat texture fail

I'm trying to make a simple floor texture, but it seems that wrapS and wrapT don't works. Look at the result: http://hpics.li/321350c var texture = THREE.ImageUtils.loadTexture( "Game/Texture/drytext.png" ); texture.wrapS =…
1
vote
0 answers

modifier that creates linear texture wrapping? multiple 3d models

So I have two 3d models with different geometry so when the textures are applied they wrap differently, leaving the textures looking funny and uneven. I was wondering if there was a modifier that could change how the texture is applied?…
WonderBoy
  • 11
  • 3
0
votes
1 answer

Actionscript BlurFilter wrap around

I'm using the standard ActionScript blur filter to blur an image. The image will later be used as a texture map on a cylinder, i.e. it's left and right edges will meet in 3D. This looks bad because the blur filter has discontinuities at the image…
BuschnicK
  • 5,304
  • 8
  • 37
  • 49