Most Popular

1500 questions
10
votes
2 answers

What makes a good permutation table?

I'm implementing improved Perlin noise. Its key feature for randomisation is the hardcoded permutation table, which gives essentially random but reproducible gradients at the cells of the grid. The permutation table is just a permutation of the…
Martin Ender
  • 2,730
  • 4
  • 23
  • 45
10
votes
1 answer

Reasons of the assumptions for the microfacet distribution function?

The paper Microfacet Models for Refraction through Rough Surfaces (among others) reminds us the following assumptions about the microfacet distribution function D: Microfacet density is positive valued Total microsurface area is at least as large…
wip
  • 1,851
  • 1
  • 13
  • 26
10
votes
1 answer

Per Vertex Computation in OpenGL Tesselation

I try to implement a position based cloth simulation using hardware tesselation. This means I want to just upload a control quad to the graphics card and then use tesselation and geometry shading to create the nodes in the cloth. This idea follows…
Dragonseel
  • 1,810
  • 1
  • 11
  • 24
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

How is spectral rendering handled?

Is all spectral rendering handled as simulation? Are there technique more tailored to 'consumer' rendering, such as for real-time or even just 'realistic looking without solving full physical equations'? I'd like to understand how we handle the…
New Alexandria
  • 273
  • 1
  • 7
10
votes
1 answer

Sphere intersection occlusion (for hybrid raytracing)

Thinking about hybrid raytracing, hence the following question: Suppose I have two solid spheres $s_1$ and $s_2$. We know their centres and radii, and we know that they have some overlapping volume in space. We have a typical 3D graphics setup:…
occulus
  • 203
  • 1
  • 5
10
votes
1 answer

WebGL Omnidirectional Shadow Mapping Issue

First of all, I want to say that I've read a lot of post about shadow mapping using depth maps and cubemaps and I understand how they work and also, I have working experience with them using OpenGL, but, I have an issue implementing Omnidirectional…
czapata91
  • 171
  • 7
10
votes
1 answer

Strategy for connecting 2 points without intersecting previously drawn segments of curves

I have to connect point pairs without intersection. Let's say I have two given points that I connect with a segment of a curve. Then again two new endpoints are selected and these new points have to be connected as well however without intersecting…
user36552
  • 201
  • 1
  • 6
10
votes
1 answer

Can I determine the pixel geometry programmatically?

Different screens can have different pixel geometry, so that the red, green and blue components are arranged in different patterns. Using sub-pixel rendering to give a higher apparent resolution is only possible if the pixel geometry is known (what…
10
votes
1 answer

How does Smith multiple scattering interact with diffuse subsurface scattering?

The Multiple Scattering Microfacet BSDFs with the Smith Model paper describes a statistical model for replacing the masking-shadowing functions in microfacet BSDFs (which account for paths with more than one surface intersection by setting their…
John Calsbeek
  • 3,972
  • 21
  • 31
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
10
votes
1 answer

Optimal memory access when using lookup tables on GPU?

I'm exploring isosurface algorithms on GPU for a bachelor's project (specifically concentrating on just binary in/out voxel data rather than real-valued fields). So I have a CPU implementation of good old marching cubes up and running in…
russ
  • 2,392
  • 9
  • 18
10
votes
1 answer

Screen capture of game video

I'd like to "hook" into a running game, say Mario Bros, and capture each frame rendered... saving that frame to an image file. A good example of something similar is FRAPS. --Note: I don't want to capture the whole screen/desktop. I want to capture…
pookie
  • 269
  • 2
  • 7
10
votes
1 answer

Pipeline to create Voronoi Meshes

I would like to implement a Maya plugin (this question is independent from Maya) to create 3D Voronoi patterns, Something like I just know that I have to start from point sampling (I implemented the adaptive poisson sampling algorithm described in…
Jiloc
  • 201
  • 1
  • 5
10
votes
1 answer

What is the modern equivalent of display lists?

Display lists were an OpenGL feature that could, in theory, accelerate any part of the API by storing a group of commands for later use. In my understanding, this makes a lot of sense with regards to the current effort to reduce the driver…
Julien Guertault
  • 4,420
  • 2
  • 23
  • 47