All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Ear-clipping algorithm for non-planar polygons

I was looking into the ear-clipping algorithm for triangulating simple polygons. I have successfully implemented it on planar polygons. However if polygon is non-planar the algorithm breaks down. ...
0
votes
1answer
40 views

Sensor size of Sony HDR-HC7e

I want to motion track a shot from my Sony HDR-HC7e camcorder and I am not quite sure about the horizontal sensor size(width). I set the focal length to minimum and the recording to HDV 16:9 This ...
3
votes
0answers
33 views

Why does my image has a square pattern in cuda path tracer?

I am writting a path tracer in cuda following the Shirley's book. I am having a square pattern as an output. The size of the block change if I change the block dimensions. For this image, the block ...
2
votes
1answer
22 views

Sort half-edges around common vertex in 3d

I'm trying to figure out this problem for very long time and am no getting nowhere. I'm working on a simple 3d modeler that uses half-edge data structure. Say I have non-manifold geometry where two ...
1
vote
1answer
36 views

Path tracing - cannot converge diffuse sampling + oversaturation

I'm in process of creating progressive path tracer using DX12 + DXR. I managed to create working raytracing code + pathtracing code with multiple bounces but I'm experiencing problems stated below (...
2
votes
1answer
28 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 ...
1
vote
1answer
19 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 ...
2
votes
3answers
59 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 ...
0
votes
0answers
21 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'...
0
votes
1answer
53 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 ...
1
vote
0answers
44 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. ...
2
votes
2answers
157 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 ...
2
votes
1answer
44 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 ...
1
vote
0answers
33 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....
1
vote
1answer
23 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 ...
1
vote
1answer
41 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....
3
votes
1answer
34 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 ...
0
votes
0answers
53 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 ...
0
votes
1answer
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" -...
3
votes
1answer
28 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. ...
5
votes
1answer
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 ...
2
votes
0answers
44 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 ...
4
votes
1answer
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 ...
1
vote
0answers
28 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 ...
2
votes
2answers
43 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. ...
2
votes
0answers
27 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 ...
1
vote
0answers
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), ...
2
votes
0answers
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 ...
2
votes
1answer
45 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: ...
2
votes
0answers
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 ...
1
vote
1answer
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 ...
1
vote
0answers
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 ...
0
votes
0answers
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? ...
4
votes
2answers
49 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 ...
0
votes
1answer
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 ...
0
votes
2answers
83 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. ...
3
votes
1answer
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 ...
2
votes
1answer
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 ...
1
vote
1answer
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 ...
2
votes
3answers
60 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 ...
0
votes
0answers
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 ...
0
votes
0answers
19 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 ...
0
votes
1answer
31 views

Hit group - export already defined

I am getting this error when creating RTPSO with multiple hit groups: ...
1
vote
1answer
33 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 ...
2
votes
1answer
96 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 ...
1
vote
2answers
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. ...
0
votes
1answer
79 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 ...
0
votes
3answers
92 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 ...
1
vote
2answers
53 views

Discrete Gradient?

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 ...
0
votes
1answer
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 ...

15 30 50 per page
1
2 3 4 5
60