Questions tagged [rendering]

Questions about the conversion of a 2D or 3D model to a photorealistic or non-photorealistic image.

379 questions
31
votes
3 answers

Avoiding z-fighting with coincident surfaces

When rendering two overlapping co-planar surfaces, a common issue is "z-fighting", where the renderer can't decide which of the two surfaces is closer to the camera, giving visual artifacts in the area of overlap. The standard solution to this is to…
Mark
  • 1,612
  • 16
  • 22
13
votes
2 answers

Physically based rendering and ray tracing

I've got a lot of confusion and I need to clarify some terminology and put together the knowledge. If I say that an engine is a ray tracer (so it uses the ray tracing algorithm to render the scene), is it automatically a physically based engine? I…
TodorokiM
  • 233
  • 2
  • 5
10
votes
3 answers

What are the usages of software rasterization in modern game engines?

I am taking a Computer Graphics course this quarter. One of our lab project is about software rasterization. Now I am planing the project proposal and thinking about how to make it useful for other people in contemporary game development. After some…
TheBusyTypist
  • 600
  • 3
  • 14
10
votes
2 answers

Why for perfect reflections a surface must have G2 continuity?

Why for perfect reflections a surface must have G2 continuity (class A surface)? I would like a mathematical answer.
Valerio
  • 433
  • 2
  • 5
8
votes
2 answers

Are vertices reprocessed per-poly for indexed meshes?

I've been digging a bit into what actually happens at a hardware level on the GPU, and found NVidia's Life of a triangle which explains the pipeline pretty well, at least for green boxes. One thing I wasn't clear on is what happens with indexed…
russ
  • 2,392
  • 9
  • 18
8
votes
1 answer

Matching a virtual camera to a physical camera

Say I've got a photograph of a scene, and measurements for part of it (eg. a room where I know the dimensions of the walls). Assuming a rectilinear lens, how would I go about setting up a virtual camera so that 3D objects are rendered as if they…
Mark
  • 1,612
  • 16
  • 22
8
votes
2 answers

To what degree, if at all, can custom code be embedded in a PNG, GIF, or JPG?

Computer graphics files are in Windows rendered by components such as the Graphics Device Interface and Direct2D. Is it possible to create a graphic file that, besides displaying a graphic also utilizes custom code inside the graphic file? With…
user1806
5
votes
1 answer

How is data stored into a frame buffer?

I am an electronic engineer. I am trying to design (personal project) a 3D graphics hardware renderer. It shall only render wireframes at this stage, no filling and no shading, not even backface culling and whatever else we take for granted. I…
quantum231
  • 223
  • 1
  • 2
  • 6
4
votes
1 answer

How to visualize and programmatically work with huge point cloud

I have created a quite large point cloud with about 800M RGB points. The exported .ply file is about 12GB large. The commercial software I used to create it can render the cloud very smoothly on my Ryzen 1800X/64GB/Geforce 1080Ti. Now, I would like…
mcandril
  • 141
  • 2
3
votes
1 answer

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 +,*,/,power on arbitrary precision integer numbers. JS not…
3
votes
0 answers

Strange behaviour in simple software rasterizer

I have a simple test scene setup in a toy software rasterizer. I have a plane facing the +Z axis at the origin and the camera is facing -Z at Z=2. Everything works fine and looks good at that orientation but if I turn the camera to face -X it …
2
votes
1 answer

Can a scene be efficiently pre-rendered and displayed along a fixed camera line?

A scene can be pre-rendered from a single camera position. Can a scene be efficiently rendered for a fixed set of positions and lines that the camera can move through? Consider games like escape room games where the camera only assumes fixed…
Elliot JJ
  • 133
  • 4
2
votes
3 answers

What's the meaning of the "dynamic" in "high dynamic range"?

What's the meaning of the "dynamic" in "high dynamic range"? Why use this word?
chaosink
  • 591
  • 1
  • 4
  • 15
2
votes
1 answer

Best practices for VRAM management in dynamic environments (e.g. games)

While making a GPU Marching Cubes implementation a while back, I ran into the issue of OpenGL holding on to memory I had asked it to release. There are a lot of threads on this over at Stack Overflow, and the gist seems to be that you simply can't…
russ
  • 2,392
  • 9
  • 18
2
votes
1 answer

What is the equation for flat shading?

Is there an equation for flat shading? To my understanding, it is this: $$I = I_a \times K_a + F_{att} \times I_l \times (K_d \times (N \times L))$$ Final intensity = ambient reflection x ambient reflection coefficient + (attenuation x incident…
S.A
  • 317
  • 3
  • 14
1
2 3