6
votes
Accepted
Volumetric integration in Frostbite
What is wrong with it seems to be explained on the next two slides: it leads to non-energy-conserving results, where the apparent brightness of the volume changes depending on the scattering ...
4
votes
Accepted
Binary scene voxelization using imageStore - problem
In the binary version you're doing an imageLoad and an imageStore on the same texture to modify it. This is a classic race ...
3
votes
Accepted
How are obj files textured?
OBJ files typically contain vertex positions, texture coordinates (also known as UVs), and normals, as well as face data. There are other kinds of things they can contain but those are the most common ...
3
votes
Accepted
How 3D painting software works
We had some related questions lately, so you might find them useful:
Paint pixels on the image around the cursor for painting application
How are textures projected onto 3d models in texture painting ...
3
votes
Accepted
2D array texture with different filtering setting per texture?
Array textures do not contain textures; they are a single texture that contains a number of images, with each image being of the same size, format, mipmap depth, etc.
As such, the sampling parameters ...
2
votes
Programmatically generating bin files for GLTF models
The .bin file that goes with a .gltf only includes mesh data (position, normal, uv, other vertex attributes as needed). It does ...
2
votes
Accepted
How to assign a texture to a single entry of a texture array?
The full explanation of what I was doing wrong is:
The depth parameter in the glTexSubimage3D refers to the depth of the data being sent. Since I am trying to ...
2
votes
How to assign a texture to a single entry of a texture array?
glTexSubImage3D(GL_TEXTURE_2D_ARRAY, 0, 0, 0, 0, 894, 894, 0, color_format, GL_UNSIGNED_BYTE, data);
You're transmitting 3D data. But you told OpenGL that the 3D ...
2
votes
Accepted
How do you load multiple textures into an array texture with OpenGL?
The memory layout of a (2D) array texture is pretty similar to a 3D texture, with the individual image layers stored one after the other in a big 3D-array of pixels. So that's also how you set them. ...
2
votes
Programmatically generating bin files for GLTF models
Building upon the answer by @shashankan and another answer in Blender, I wrote a Blender script to convert from FBX into a subfolder with GLTFs.
(You may want to remove my scaling code, which scales ...
2
votes
Accepted
Why does UV tiling affect performance in volumetric ray marching?
It sounds like you are experiencing a loss of texture cache hit rate on your 3D texture.
As with any modern processor, GPUs have a cache hierarchy. Texture units typically read from a local L1 cache, ...
1
vote
Wondering if it's possible to 'extend' a texture beyond the mesh without altering the mesh itself
Textures are applied to the faces of a mesh, so textures cannot be anywhere there isn't a face for it to appear on. "Adding more length" to a mesh pretty much implies moving some of the ...
1
vote
Accepted
Programmatically generating bin files for GLTF models
To anyone who is reading this in future:
I ended up taking an alternative route: Blender scripting.
Blender comes with a built-in GLTF / GLB exporter. Here is what the render pipeline looks like in ...
1
vote
Frustum aligned volume integration - aliasing issue - temporal reprojection
You can look into alias-free volumetric sampling algorithm by Huw Bowles for potential solution to the ray marching aliasing issues. The basic idea is to snap your samples to planes based on the ray ...
1
vote
How to texturize a 3D model from video?
One method is to do projection mapping. I understand that most 3D rendering applications can do that. I don't have much experience with them, but I have done it using AfterEffects using the Camera ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
3dtexture × 23texture × 13
opengl × 9
3d × 8
raymarching × 3
glsl × 2
mesh × 2
uv-mapping × 2
model × 2
data-structure × 2
volumetric × 2
rendering × 1
shader × 1
c++ × 1
algorithm × 1
gpu × 1
projections × 1
shading × 1
compute-shader × 1
fragment-shader × 1
transparency × 1
voxelization × 1
diffuse × 1
gltf × 1
mipmap × 1