Most Popular

1500 questions
7
votes
1 answer

Does prerendering actually help performance?

In PC game development, after loading models, textures, shaders, etc in a loading screen, some games will render the models once to an off screen target to make sure the driver and gpu have done all the work required to keep there from being a hitch…
Alan Wolfe
  • 7,801
  • 3
  • 30
  • 76
7
votes
1 answer

Actual vs Perceived Brightness of RGB Colour

In this video from about 1:15, it is stated that if you have an RGB value of (0.5,0.5,0.5) it is only 22% as bright as (1,1,1) rather than the expected 50% as bright. Does this mean that RGB is adjusted for a logarithmic scale so that we perceive…
Nic Steyn
  • 73
  • 3
7
votes
1 answer

Algorithms for scan converting b-spline and nurbs

In all computer graphics books there are algorithms for scan converting simple primitives like lines, circles, ellipse,... I can't find algorithms for more advanced curves like bezier curves, b-spline, nurbs. Where can I find the references ? I have…
Valerio
  • 433
  • 2
  • 5
7
votes
1 answer

What is the practical difference between 3D Graphics Engine, 3D Game Engine, 3D ........?

What is the practical difference between 3D Graphics Engine (OGRE), 3D Game Engine (Quake), 3D Software Rendering Engine, 3D Graphics API (OpenGL/DirectX)? Is OpenGL/DirectX a 3D Graphics API or a 3D Software Rendering Engine? If I want to start…
user464
7
votes
1 answer

How many 3D textures does OpenGL support

I'm making a voxel engine in OpenGL and wondering how many 3D textures I can have at once. They are fairly large (256x256x256 in GL_R32UI format). I want it to be able to run on any graphics card supporting OpenGL 3.3, if possible. I'm accessing…
Sam
  • 198
  • 5
7
votes
2 answers

Can I parallelise the scene for a raytraced image, rather than just the pixels?

Raytracing an image can be performed in parallel by calculating the colour of different pixels on different machines. However, this still requires each machine to have access to the entire scene to be rendered. Is there a way of also subdividing the…
7
votes
1 answer

How to do a color separation with more than 3 primary colors

How would one do a color separation if there are more than 3 color primaries, or the primaries are nonstandard. In Standard CMYK conversion K is relatively easy conceptually to figure out. Its just a constant value off all the channels. How would…
joojaa
  • 8,437
  • 1
  • 24
  • 47
6
votes
1 answer

Double buffering always necessary?

Question from the graphics newbie: What I know by now is that "usually" double buffering is used: You calculate the content of frame x+1 while frame x is shown on the screen, if you want to achieve the maximum update rate, calculation must not take…
mic
  • 307
  • 2
  • 8
6
votes
1 answer

What's the difference between Clipping and Culling?

In a tutorial about OpenGL both words are mentioned, unfortunately without a good explanation. To find out, I have read this article three times, but I fear I'm a too common man... my understanding is this: The video frame is rectangular, and the…
mic
  • 307
  • 2
  • 8
6
votes
2 answers

Can microfacet BRDF (including ggx) represent perfect mirror?

Perfect mirror's brdf is simple, $F\frac{\delta(\omega_i-\omega_r)}{|\cos(\theta_r)|}$ as in http://www.pbr-book.org/3ed-2018/Reflection_Models/Specular_Reflection_and_Transmission.html As shown in several articles, microfacet brdf can have zero…
Hyuk Kim
  • 61
  • 2
6
votes
0 answers

Noise shaping for dithering with gamma?

The context of this question is correct dithering of color with gamma correction. In dithering we add (shaped) noise $n$ to a signal $s \in [0, 1]$ based on a random variable $r \in [0, 1]$ $$s' = s + n(s, r)$$ such that when we quantize the signal…
orlp
  • 186
  • 4
6
votes
0 answers

How to account for self intersection with large ray tracing scenes?

I'm working on a hybrid real time ray tracing project and trying to tackle the problem of self-intersection with larger scenes due to loss of float accuracy. The logic I'm trying to use is based on Ray Tracing Gems chapter 6 with the code bellow…
6
votes
1 answer

Bitmap-images or SVG

I'd like to create a GUI in my first Unity-game (2D). I want my GUI appear sharp in all resolutions (e.g. 1920x1200 or 3840x2160). The problem I am facing now is that I don't know if I should save my bitmap-images of my GUI in the highest resolution…
drpelz
  • 163
  • 4
6
votes
1 answer

"Artist Friendly Metallic Fresnel" reversible?

While implementing the "Artist Friendly Metallic Fresnel" paper by Ole Gulbrandsen (http://jcgt.org/published/0003/04/03/paper.pdf), I read that it is fully reversible: (section 2.3.2): for all r,g ∈ (0,1), the map from (n, k) to (r,g) is a…
zeno
  • 138
  • 6
6
votes
1 answer

Does MRG32k3a compare well with PCG and Xorshift256*?

I've been using standard 32-bit Xorshift in my GPU path-tracer for a while, following Nathan Reed's approach with hashed seeds and decorrelated state. I (finally) discovered today that Xorshift is considered obsolete and I should use a 64-bit+ PRNG…
Paul Ferris
  • 447
  • 2
  • 11