Questions tagged [3dtexture]
23 questions
9
votes
1 answer
Can we use anisotropic filtering on 3D textures?
Do modern GPUs support anisotropic filtering for 3D textures? If yes, how can one use it? The OpenGL spec doesn't seem to be very precise on this. From this link:
Should anything particular be said about anisotropic 3D texture filtering?
Not…
ap_
- 2,154
- 1
- 17
- 27
7
votes
1 answer
How many 3D textures does OpenGL support
I'm making a voxel engine in OpenGL and wondering how many 3D textures I can have at once. They are fairly large (256x256x256 in GL_R32UI format). I want it to be able to run on any graphics card supporting OpenGL 3.3, if possible. I'm accessing…
Sam
- 198
- 5
5
votes
1 answer
Manually fetching 8 neighboring texels from 3D texture greatly decreases performance
I'm implementing manual interpolation between texels in a 3D texture to be able to discard some of them when needed. Compared to hardware interpolation, this process takes a lot of time. If I simply leverage hardware interpolation using texture…
Pavlo Muratov
- 243
- 1
- 10
5
votes
1 answer
Volumetric integration in Frostbite
In their presentation at SIGGRAPH 2015 Electronic Arts presented method of volumetric rendering using 3D texture aligned with view frustum.
This technique needs two steps:
Injection of color and density into 3D texture,
Integration along Z axis of…
narthex
- 2,059
- 1
- 10
- 18
5
votes
1 answer
Binary scene voxelization using imageStore - problem
This problem has been haunting me for some time but I was busy with other things. I can't finish my GI technique (specifically occlusion step) without solving it.
I made a binary scene voxelization in a single pass. The result is stored in a…
narthex
- 2,059
- 1
- 10
- 18
4
votes
3 answers
Programmatically generating bin files for GLTF models
I have a need to generate a series of GLB files. I have a base template for a GLTF file which I have to derive off of. The models thus generated will only have varying textures on them. The base mesh doesn't change at all.
What Im stuck with
Im able…
shashanka n
- 151
- 1
- 5
4
votes
1 answer
Why does UV tiling affect performance in volumetric ray marching?
I am building a volumetric ray marching shader in HLSL in Unreal Engine, based on Ryan Brucks’ work: https://shaderbits.com/blog/creating-volumetric-ray-marcher
I am trying to add some additional noise to the shader using a tiling 3D noise texture,…
kinkersnick
- 43
- 3
3
votes
2 answers
Frustum aligned volume integration - aliasing issue - temporal reprojection
Raw volume raymarching especially aligned with frustum seem to produce a lot of aliasing/banding on edges of shadow map. Especially when fragment pos is far because step length is then getting bigger. Making some research how to correct it I found…
narthex
- 2,059
- 1
- 10
- 18
2
votes
1 answer
2D array texture with different filtering setting per texture?
Currently I have textures which need GL_NEAREST and some other need GL_LINEAR in the same texture2dArray. In the shader I perform a manual GL_NEAREST lookup via textureFetch().
To avoid this my question is, is it possible to set the value of…
MrRabbit
- 55
- 3
2
votes
2 answers
How to texturize a 3D model from video?
I have a base 3D mesh of an object that I want to texturize. I also have a 360 degrees video of the real-world object.
What are good ways to use the video to texturize the mesh? Are there existing tools to do that? (paid or free)
Edit: I have…
Michael Litvin
- 121
- 2
2
votes
1 answer
How are obj files textured?
I am a new learner in 3d graphics. So forgive me if I seem to ask something very basic. I am confused how obj files are textured. So far I have seen:
obj + jpg
obj + mtl + jpg
When I look online, most say that they are textured by UV mapping. But…
trisct
- 135
- 5
2
votes
1 answer
Wondering if it's possible to 'extend' a texture beyond the mesh without altering the mesh itself
I'm in Blender and working with a pre-existing 3D model- I want to add more length to it, but I don't want to mess with the mesh- Is it possible to extend the texture beyond the mesh without changing it, or will I have to change the mesh anyways?…
1
vote
0 answers
Handling varying texture sizes in an array texture
Say we've idetified that we have a varying number of textures that are upper capped by 2 parametrs. thus we allocate the maximum amount of memory needed to store all textures as follows:
glTexStorage3D(GL_TEXTURE_2D_ARRAY, 1, GL_RGBA8, max_width,…
Makogan
- 1,584
- 8
- 27
1
vote
2 answers
How to assign a texture to a single entry of a texture array?
The C++ psuedo code to transmit the idea of what I want to do would be:
Texture_array tarr = Texture_array(6);
tarr[0] = texture;
Which I am attempting to do as follows:
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
…
Makogan
- 1,584
- 8
- 27
1
vote
1 answer
How do you load multiple textures into an array texture with OpenGL?
I have been reading the OpenGL documentation but it is not clear to me how to achieve the following.
Say we have an array of strings. Each string in the array is a valid relative path to an image file (.png, .jpeg...)
We have a method that can read…
Makogan
- 1,584
- 8
- 27