Questions tagged [3d-texture]

A 3D Texture stores multiple layers of a normal texture, thus requiring a three texture-coordinates (U,V and W). The hardware can also apply texture filters and address modes to it.

38 questions
0
votes
1 answer

How to use the hardware's 3D texture sampling with a flipbook style volume texture?

A question sort of addressing the problem and another question asking a related question. I have a 2D texture that has 12x12 slices of a volume layered in a grid like this: What I am doing now is to calculate the offset and sampling based of the…
Noobs DeSroobs
  • 253
  • 1
  • 6
  • 24
0
votes
1 answer

Which internal format works with compressedTexImage3D?

I'm trying to use texture compression with TexImage3D in WebGL2 using Firefox 47 (nightly) but I cannot find a valid format. The error is: Error: WebGL: compressedTexImage3D: Format COMPRESSED_RGB_S3TC_DXT1_EXT cannot be used with…
Gerold Meisinger
  • 4,500
  • 5
  • 26
  • 33
0
votes
1 answer

Visible edges from Opengl 3d texture

I have encountered visible edges of cube from volume rendering of volume data, it happens when viewing is done at the edges of the cube. FYI, the artifacts are as below: Rendering artifacts 2 Rendering artifacts 2 FYI, the fragment shader snippet is…
vincent911001
  • 523
  • 1
  • 6
  • 20
0
votes
1 answer

OpenGL create trees

I am using PyOpenGL with PyGame (although I am also trying to copy the game into c++ as well), and I would like to draw some low-poly trees in my game, something like the one in the picture below. But at the moment I only know how to draw simple…
Matt Majic
  • 381
  • 9
  • 18
0
votes
1 answer

Unity 3d : 3d Text for timer please help me

Hi guys good evening . I have a problem for timer . when i press a play button the countdown is display number 3 only . I used 3d text not GUI text , because my GUI text is not working so that i used 3D text. This is my code for COuntdown.js …
0
votes
1 answer

3D Texture Object

Currently I have a kernel that uses the following texture reference (a 3d texture of type unsigned char): texture volumeTexture; However, I need to be able to exchange the texture's type. I already…
Nico Schertler
  • 32,049
  • 4
  • 39
  • 70
-1
votes
1 answer

Blender Show Solid Color Instead of Texture

I'm very new to Blender (I use Blender 2.8.3). I give my objects some texture but I don't know why the texture won't show up both in the viewport and when I render it.. How ever, the other texture () has no problem. I've tried this way from…
Lulu
  • 49
  • 1
  • 3
-1
votes
2 answers

Working with GL_TEXTURE_3D

I'm trying to read a file representing values to be mapped to colors when rendering a volume. I.e., each voxel has its color represented in the input file. Here it follows a dummy test file: 4 4 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0…
pceccon
  • 9,379
  • 26
  • 82
  • 158
1 2
3