Questions tagged [rendering]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
59 views

Drawing a cube and wireframe opengl

I'm trying to render a cube and it's wireframe together using OpenGL The main function is this: ...
0
votes
1answer
26 views

Rendering part of the scene inside bounding sphere

In this video https://youtu.be/0ckE-CZpXAo?t=445, it's suggested to render onto a sphere instead of screen quad to save computation time on lighting calculations. So you create a bounding sphere for ...
1
vote
0answers
32 views

How to pass only the needed portion of the data calculated in a fragment shader to another fragment shader?

I have an image and I want to draw an arbitrary number of objects on that image. The center coordinates of those objects are calculated inside a fragment shader after series of image processing ...
-1
votes
0answers
23 views

Setting rendering context in single thread app

I am using GLFW3 with OSMesa for context handling and glad for API loading. The context and ...
0
votes
1answer
60 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
87 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
77 views

Estimating the position of vertexes in a 3D model

Introduction to my project: We are machine learning scientists and working on a biomedical system for tracking tongue for speech pathology using a technology called EMA (Electromagnetic ...
0
votes
1answer
67 views

constant pixel width for any scale

I have a standard 3d camera/projection/model setup that renders rectangles with a WebGL shader. Users can zoom out and fly anywhere. I want to make sure that regardless of the scale, width of the ...
1
vote
1answer
47 views

What's the simplest, open, animation format?

I have an obj parser that handles triangle meshes specifically. I want to extend it (and the rest of my system) to handle animations as well. However, I don't think I am ready to tackle the glTF ...
1
vote
1answer
78 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....
0
votes
1answer
39 views

Albedo image map to color's Light Reflectance Value (LRV)

In many datasets in the literature of both Computer Vision and Computer Graphics there is the albedo map of a scene represented as RGB images, which in principle corresponds to the diffuse reflecting ...
3
votes
1answer
29 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 ...
1
vote
1answer
124 views

How to translate the center of an equirectangular projection?

I'm trying to perfectly align two or more equirectangular photos of the same place taken from slightly different positions. Using an example provided by openMVG I managed to get the relative position ...
1
vote
1answer
86 views

glBindImageTexture returning INVALID_VALUE

I am currently having an issue with OpenGL as I am trying to load some vector information into a 3D texture. Currently, I am developing in OpenGL 4.6 which should support Image bindings. this my ...
2
votes
1answer
48 views

How can I make a graphics demo without a frame buffer?

I am programming a microcontroller - a tiny 8 bit computer that has about 100Mhz - 300Mhz CPU clock speed and 64K application RAM (actually ROM), but only a tiny amount of RAM (6K) - nowhere near ...
0
votes
1answer
101 views

What are the use cases for multiple render passes?

From what I understand of Vulkan, we have a render pass with its associated image resources and subpasses, and each subpass accesses those resources and may synchronise with previous subpasses to ...
1
vote
0answers
52 views

Conditionals and branching in shaders

This is a quite wide subject which implies a lot of topics such as the platform or the compiler, but I think that it could be useful for everyone to know more about this. A common mistake is to think ...
0
votes
0answers
45 views

What's a good research topic in Computer Graphics?

I am currently trying to find topics for my master's thesis. I would really like to do something in the field of computer graphics, but I've been having trouble finding what are some current problems ...
1
vote
1answer
41 views

UV partial derivatives of a cylinder shape primitive

I am new to rendering and I would like to calcualte UV partial derivatives of a cylinder shape, which is parameterized by radius $R$ and length $L$. Using cylindrical coordinate mapping, for a surface ...
1
vote
1answer
79 views

Has anyone found an analytic solution to the product of spherical gaussians from Xu et al?

In section 4.2 of this paper: http://cseweb.ucsd.edu/~ravir/274/15/papers/a209-xu.pdf Xu et al approximate the product of 2 anisotropic Gaussian distributions. I want to know if someone has found not ...
2
votes
1answer
58 views

Rendering moist/wet materials like human anatomies for surgical simulators

Real human anatomies look wet/ moist when operated. I am looking for some good methods for rendering anatomies in a virtual simulation, and hence I have done a literature survey on 'Rendering wet ...
1
vote
0answers
78 views

Why does my self-written rendering engine make further away objects look larger?

I am writing a very simple rendering engine. I have already made a few tests, but somehow the images it creates look wrong. Objects that are further away from the camera look larger than objects ...
0
votes
1answer
69 views

How to display an in-memory framebuffer

I'm planning to write a small software rendering engine (before anyone asks, it's kind of a learning/scientific experiment for me). Before writing any code, I'm already stuck at the very first step: ...
2
votes
0answers
46 views

Accelerating dose calculation for a radiation therapy planning system

During radiation therapy, appropriate radiation is fired from various positions around the patient. Radiation therapy planning determines the values of the radiation at various positions. This ...
0
votes
1answer
47 views

Converting Vertex and Index buffers to a File Format

I have many sets of vertex and index buffers that I’d like to render on to the screen. Ideally each model in different locations with-in world space. I’m actually doing a statistical study on spatial ...
0
votes
1answer
41 views

How are digital painting canvas rendered?

Digital painting and raster graphics software like Krita and Photoshop have a canvas where you can paint with brushes. From a programming perspective, how is this canvas rendered? Can it be included ...
4
votes
1answer
47 views

Finite difference wave equation shown in paper is wrong?

I'm trying to produce wave surface animations, and I came across this paper: Fast_Water_Animation_Using_the_Wave_Equation_with_Damping. In the paper they go to provide the following equation: At ...
3
votes
0answers
41 views

2D metaballs with marching squares and linear interpolation

I struggle do understand how linear interpolation works in the marching square rendering algorithm context. I created simple example in GDScript (Godot) of random floating metaballs to demonstrate ...
11
votes
0answers
628 views

How correct is rendering in XYZ / linear RGB space?

I have a spectral power distribution (SPD, 5 nm steps) for all light sources in the scene and SPDs for the reflectance of all surfaces under any light / viewer angle in question. I'm going to ...
1
vote
1answer
62 views

Ray Tracing Bounding Volume Hierarchies nodes

I'm new to computer graphics programming so I apologize in advance if my question is stupid. I'm trying to implement a BVH for my ray tracer and I looked at some lectures explaining BVH. They all ...
-1
votes
1answer
51 views

In Game Engines, how much of the graphics pipeline is already written?

I'm trying to understand how much graphics programming actually needs to be done if you are using an engine like Unreal Engine to build and package a game. I understand some of this might have to do ...
0
votes
1answer
64 views

Two questions on Gamma correction and Tonemapping

I have few questions regarding tone-mapping and gamma correction. is a tone-mapping operator a function whose output is a value between [0,1] ? If this isn't the case and since gamma encoding ...
0
votes
0answers
48 views

How to read illum value from mtl file using Assimp library?

I am loading an OBJ file using the ASSIMP library. Following is the MTL file associated with the obj file. ...
1
vote
1answer
78 views

BDPT - How to handle deterministic ray PDF?

I'm trying to implement a simple BDPT without MIS as described in Lafortune's paper. I've used the weighting scheme defined in the paper in which they suggest that the weight be based on the surface ...
2
votes
1answer
39 views

Controlling “zoom” and “position” of a cubemap in shaders

I am trying to mimic reflections in image composition using shaders. I have gotten this far: In this image the floor is "reflecting" the back wall, however the reflection is uncanny because the ...
0
votes
0answers
83 views

How to achieve higher FPS for my GPU pathtracer?

So I've written a GPU based pathtracer using OpenCL-GL interoperability. The system uses the Mega-Kernel Approach instead of a wavefront one as I was aiming it as an educational software for other ...
3
votes
0answers
93 views

Procedural Generation of 4D Shapes

I'm curious if anyone has any insight into how one might procedurally generate 4D objects, as showcased in Miegakure (or the developer's other game, 4D Toys ). I built a program a while back to do ...
1
vote
1answer
64 views

Extracting information from EXR Files

I am relatively new to computer vision and image processing. I have a single EXR file with 7 channels: 1-3 give me the RGB values, 4-6 give me the surface normals coded as RGB values and 7th channel ...
7
votes
3answers
467 views

Ambient Lighting

On the Wikipedia page for the Phong model, it says that the ambient term is a constant, and just gets added on to the other terms. But on other pages like LearnOpenGL it says you should take the ...
0
votes
1answer
155 views

Which technique should be used for rendering under water images, Ray tracing or Radiosity?

Rendering is the process of computing a three-dimensional geometric description of a scene into a two-dimensional image representation that looks real. Ray-tracing and Radiosity are two of the most ...
0
votes
0answers
35 views

Inverse path sampling in (bidirectional) path tracing

In Section 4.1 of the paper Fusing State Spaces for Markov Chain Monte Carlo Rendering, it is described that the CDF $P$ of the distribution of paths of length $k\in\mathbb N$ may be factored into a ...
0
votes
0answers
24 views

Computing inverses in Reversible-Jump Metropolis Light Transport

Say we are sampling a path $\rm x=(\rm x_0,\ldots,\rm x_{n-1})$ of length $n-1$ using bidirectional path tracing. Let $p_s$ denote the area product density corresponding to the used connection ...
3
votes
1answer
67 views

Intrepret path/light tracing by rewriting light transport equation

Given the rendering equation: $$ L_o(x, \theta_o) = L_e(x, \theta_o) + \int_{\Omega} \! f(x,\theta_i,\theta_o) L_i(x,\theta_i) \cos(\theta_i, \theta_o) \, \mathrm{d} \theta_i. $$ Rewriting it using ...
1
vote
0answers
91 views

BSP tree rendering

As a little project, I'd like to implement a BSP merging algorithm for Boolean operations on solids. But to even tell whether it works, I need some way to render the BSP tree. In other words, I have a ...
2
votes
1answer
118 views

light probe (for global illumination) placement techniques?

I'm learning light probes used for dynamic global illumination. I have a question regarding the placement of light probes, as based on most of the pictures I have seen, they seem to be placed ...
2
votes
3answers
329 views

How does the Painter's Algorithm handle transparency?

I was wondering if anyone could explain how the Painter's algorithm would handle transparent objects? Can the Painter's algorithm handle transparency?
3
votes
1answer
156 views

Is there a way to perform calculations of Mandelbrot set using only integer numbers?

I would like to create program in JavaScript (JS) which draws Mandelbrot set with arbitrary precision (zoom). In JS there is build in integer type BigInt which support simple operations like +,*,/,...
2
votes
1answer
178 views

Rendering equation for spherical lights

I am currently implementing spherical lights in my DirectX game engine. I decided to build the shading formula from the classical rendering equation. Here is what I get: The simplifications show that ...
2
votes
4answers
313 views

Why isn't rasterization combined with raytracing more often?

If I'm not mistaken, you can make a hybrid renderer which lets a rasterizer solve the visibility problem, then shade all of the projected shapes with a raytracing algorithm. It seems that this isn't ...
3
votes
0answers
102 views

Irradiance field approximation with black probes

I'm posting here after some time searching the Internet and reading presentations and papers, to find out the best options to solve the problem I have. I'm implementing irradiance field with ...

1
2 3 4 5 6