Practice free →
Home › Per Inigo Quilez (iquilezles.org) and the demosc…

Per Inigo Quilez (iquilezles.org) and the demoscene tradition, SIGNED DISTANCE FUNCTIONS (SDF) represent geometry via which?

AA vector field of surface normals only
BA scalar field giving distance to nearest surface
CA list of triangle vertex coordinates only
DA texture mapped on a sphere primitive
Answer & Solution
Correct answer: B. A scalar field giving distance to nearest surface
Iquilezles + many shadertoy refs: SDF f(p) returns signed distance to surface; sphere-trace through it from the camera. Enables raymarched fractals + smooth booleans.
Solve this in the app — Practice practice & 24k+ MCQs →
Related questions