# All Questions

2,968 questions
Filter by
Sorted by
Tagged with
12 views

### Blend Shape, Pose Blend Shape, and Shape Blend Shape

Since there is a lot of cross-section between computer vision and computer graphics for 3D pose and shape estimation of non-rigid objects, I would like to know what "blend shape", "pose ...
11 views

### Improve accuracy of mesh gradient?

So to make it simple. I currently use a method I found online to compute the gradient of a scalar field of a mesh. To test how accurate this is, I made a sphere and followed the gradient direction of ...
21 views

### How to paint onto 3d models

I have searched this topic for very long time and have found basically no information on it. If we have a 3d model with a uv layout. What is the basic technique for 3d painting on said model with a ...
19 views

### Finding a flat plane within iPhone depth data

I have real time depth data coming from an iPhone and I want to identify flat objects within the point cloud so that I can highlight the Hard edges in the images. The objects can be at any angle and I'...
45 views

### Realistic chainmail reflections for videogames

If I were to create a chainmail that has realistic reflections, where would I start learning about what mechanisms to use? Normal cloth seems too simple, and the reflections look bad (they have to be ...
39 views

### How can i understand the algorithm wu line?

I have Wu's line algorithm but I don't understand all the lines of code very well. ...
144 views
+50

### OpenGL - Recreate position in viewspace from depth values

Current state: I belive the reconstructed positions are correct. However, I still have the same problem as all the time. When I rotate around my single pointlight appears to be moving around also. I ...
36 views

### Path Integral Form with Path Tracing

The description is going to be long and detailed, thanks in advance for your patience! I am learning the path integral form of light transport equation(LTE) to be able to follow recent rendering ...
30 views

### What is the simplest way to create basic 3d/isometric style images programatically like autocad/blender

I need the simplest route to programatically, via command line, through python or node, to create something like this using basic input of distance and 90 degree turn etc: https://i.imgur.com/SdY02gQ....
19 views

### Real 3D interior room from 360 images

If I have 360 images of an interior room from all different angles, would it be possible with current 3D software technology to create a real 3D representation of that room, where the camera could ...
34 views

### Worsening sampling quality of raytracing with increasing distance from world origin

I am using RT shader (DXR) to generate g-buffers with code below. There was no problems with smaller scene (pink room from cwyman tutorial - http://cwyman.org/code/dxrTutors/tutors/Tutor5/tutorial05....
30 views

### Mis understanding of the Heat Method

I have been trying to understand a paper in CG for a while, called the Heat Method by Ken Many things have clicked but I don't fully understand it yet. In particular. In the following $u$ is a vector ...
49 views

### Calculating of vectors in Phong Lighting Model

I'm learning about computer graphics and I have some questions about calculation of the vectors, so I will write the exercises that I have and I hope that someone can help me with the formulas that I ...
37 views

### How can i generate random mapas in 2d [closed]

I want to generate maps in 2d, likes to this: there are some algorithm? i want to generate maps with different heights without libraries, i want to create my own library.
41 views

### Reference for Inverse Rendering

I'm not sure this is the right place to ask for this reference but it's worth the shot since it is graphics related. I'm looking for the very first paper describing what "Inverse Rendering" -...
27 views

### Algorithm for constructing doubly connected edge list in 3d

This post explains how to construct double connected edge list in 2d. One of the steps in the algorithm is to sort the halfedges around a vertex in clockwise order. However this will not work in 3d. ...
57 views

### What should I do when a new sampled direction is below a normal oriented hemisphere?

I generate random directions from the pdf of D term in GGX BRDF. On the picture, white dots are new directions and the cross is the light direction, with roughness = 1. What should I do with the ...
43 views

### How does the texture file should look like?

I am wondering why the texture of the following 3D model https://app.ignitionrobotics.org/GoogleResearch/fuel/models/Transformers_Age_of_Extinction_Mega_1Step_Bumblebee_Figure Looks like the ...
45 views

### Gradient descent (Not ML) on arbitrary meshes

So I am doing a gradient descent like algorithm on the surface of a mesh and I just noticed something: The above is the geodesic gradient (the distance to a single vertex) Look at where the ear ...
27 views

### Why Screen Space effects flicker?

Nowadays is less of an issue, i think SS got massaged a little bit, but you can still spot it. These happen with SS Reflections, SSAO and Bloom. When you move the camera, the effect starts to flciker ...
42 views

### Using array of textures in DX12

I managed to create code, working correctly as Texture2DArray in hlsl by using single ID3D12Resource and binding it as D3D12_SRV_DIMENSION_TEXTURE2DARRAY with constant array size. ...
25 views

### Global root signature crash

I have a problem with RTPSO creation. Using local root signatures for each of rgs (ray generation shader), chs (closest hit), miss is working correctly. However, for performance sake, I want to use ...
87 views

### How can I pull up the whole area of the square? [closed]

What algorithm can i use to pull entere area? i have this image: are there many algorithms, which algorithm can you recommended me to implement? Edit 1: my square was builded with lines (bresenham), ...
71 views

### BVH works fine, but why does it slow down a lot when using Cornell Box? How to improve it?

I am using the SAH-BVH from PBRT-v3, it works fine for triangle-mesh, especially for dense mesh. But here is a problem. If I added Cornell box while building the BVH tree, the BVH performance will ...
44 views

### Compute the interpolation factor between the SLERP of 2 quaternions, given those quaternions and the SLERP result

I am looking for a way to calculate the value of t of quaternion SLERP by having three quaternions. Forward direction: ...
32 views

### multiple Quaternion slerp inverse to calculate relative coordinates

I am creating a 3D spherical curved display (only a part of a sphere). The camera usually is inside of this sphere. This display has texture coordinates. The image below shows the display with its ...
43 views

### Detect collision for non axis-aligned bounding boxes

in my application, I needed to detect collision between 2 3D objects. To make it simple I can represent a object as a bounding box. So actually the task reduced to detect collision between 2 boxes in ...
59 views

### How can i stretch a line?

How can I remodel a line, i want to draw first a line then i want to remodel the line such as in paint software, which algorithm should I use? Are there several algorithms to achieve this? i am using ...
31 views

### How can i use bresemhan to any cases?

i have this bresenham's code, but actually this work only to some cases, how can i complete to any cases? ...
48 views

### How to decide which way to triangulate a quad?

Apologies if this is a dumb question... but given four arbitrary (non-coplanar) points in 3D space, there are obviously two different ways to triangulate the quad that they form. One triangulation may ...
29 views

### How to calculate position from depth pass of the ZED camera?

I'm using the ZED 2 camera, and although the API provides a means of getting a point cloud position from a specific pixel, for my project I need to be able to perform this calculation myself from the ...
81 views

### Ray Tracing, why does the GGX make my rendering result darker and darker for each frame?

I am trying to add GGX and PBR textures to my GPU ray tracer. The result is very strange, it's getting darker for each frame. ...
28 views

### What is 2D BRDF Slice/Lobe?

I was recently trying to read some rendering papers and textbooks. The word 2D BRDF slice/lobe is often used while no official definition is provided. I know that BRDF is a 4D function of input ...
30 views

### 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 ...
59 views

### Raytracer help - Background color writing over some colors?

I'm implementing Peter Shirley's "Raytracer in a Weekend: The next week" and I'm having some trouble with rendering a scene with a light. I'm not sure if the issue is the background color or ...
58 views

### How to Sample 3D Points Outside and Inside the Mesh Surface

I have a mesh of an object enclosed in unit volume cube and I would like to sample points inside and outside the mesh surface. What are the different ways of doing it? Is there any sample code ...
28 views

### What APIs are used to output video and audio from a custom codec?

I am looking for tools to generate video and audio output for my own codecs, in my search I found SDL, EGL, FFmpeg and OpenAL, but it is not clear to me if these APIs serve my purpose which is simply ...
18 views

### Optimizing compute shader with thread group shared memory

I'm currently learning compute shaders and I'm trying to write an optimized Game Of Life. I have a first version working that uses a Shader Storage Buffer Object. I dispatch a thread per cell I want ...
30 views

### Hit group - export already defined

I am getting this error when creating RTPSO with multiple hit groups: ...
30 views

### Calculating the gradient of a tetrahedral mesh

How can I compute the gradient for a tetrahedral mesh (3D)? For triangular mesh, I got an answer from the following post Calculating the gradient of a triangular mesh How can I get a similar formula ...
95 views

### Smart half edge iteration?

In my HE implementation, half edges are stored in an array. When I iterate over the edges, I color all the HE black, and when I do an operation on an edge (e.g edge splitting) I mark both the current ...
64 views

### issue with importance sampling

I was trying to do importance sampling on lambertian surface.At first I uniformly choose direction from unit sphere. ...
78 views

### Is there a term for this sort of graphics?

I'd like to try to write some C code to create similar animated graphics to these, which are from a very old Commodore 64 game called "The Sentinel". I've been researching but I can't seem ...
91 views

### How to remove background text from an image file

I have this image below, I want to get rid of the text 'MSAR IDs' that is in the background. I am extracting the numbers from the image with OCR, the numbers that have a white background get extracted ...
40 views

I am trying to understand how to get the discrete gradient of a mesh that is being used as the input of some function $f$. In other words for every vertex $v$ there is a scalar quantity $s$ associated ...
27 views

### Perspective projection near plane not in world coordinates

I have a camera I have placed zunits away from a billboarded rect. My goal is to discard all other geometry that is closer to the camera/in front of this rect. With ...
48 views

### Using buffers correctly in OpenGL compute shaders

I'm re-writing an algorithm that I first wrote using matrix/vector operation into OpenGL kernels in order to try to maximiz the performances. I have a basic knowledge of OpenGL, so I was able to get ...
28 views

### Do scanners and scanning software compensate and enhance blurry sources?

I received a pdf from a client containing several invoices. Upon further inspecting, some lines on the invoice seem digitally produced. When I tried selecting the page, copying it then pasting it on ...