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 ...
Nathan Reed's user avatar
  • 24.7k
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 ...
Nathan Reed's user avatar
  • 24.7k
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 ...
Nathan Reed's user avatar
  • 24.7k
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 ...
wychmaster's user avatar
  • 1,233
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 ...
Nicol Bolas's user avatar
  • 9,697
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 ...
emackey's user avatar
  • 369
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 ...
Makogan's user avatar
  • 1,696
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 ...
Nicol Bolas's user avatar
  • 9,697
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. ...
Christian Rau's user avatar
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 ...
Adam Thompson's user avatar
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, ...
Nathan Reed's user avatar
  • 24.7k
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 ...
Nathan Reed's user avatar
  • 24.7k
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 ...
shashanka n's user avatar
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 ...
JarkkoL's user avatar
  • 3,616
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 ...
user1118321's user avatar
  • 3,401

Only top scored, non community-wiki answers of a minimum length are eligible