# Questions tagged [mathematics]

The knowledge of the numbers, formulas, shapes and quantities. In the computer graphics, almost exclusively linear algebra is being used.

13 questions
Filter by
Sorted by
Tagged with
2k views

### Draw angles lines in raster graphics using bresenham line algorithm

I at the moment trying to draw some angled lines using bresenham line algorithm which can circulate a 2d array of size 21x21, as a line angled from 0 - 2pi. So the idea is that the program has to ...
• 183
5k views

### Correct Specular Term of the Cook-Torrance / Torrance-Sparrow Model

For a while I have been doing some research on the topic of Physically Based Rendering. One reflection model that is mentioned over and over is the Cook-Torrance / Torrance-Sparrow model. It seems ...
• 141
5k views

• 556
2k views

### Probability density function while using spherical coordinates

I'm following this tutorial where at somepoint the derived PDF for spherical coordinates for a Lambertian surface is \begin{array}{l} p(\theta, \phi) = \dfrac{\sin \theta}{2 \pi}. \end{array} But as ...
1k views

### Line segment intersection test and find the point of intersection

Thanks for the suggestions. Now I am doing it as follows: First off it is identified if two line segments intersect or not. And I am using the algorithm described in the book - "Introduction to ...
• 1,279
136 views

### Why is the approximation valid, in the formula provided by Brian Karis?

I'm sorry I'm bringing this topic up again, but I need to expound some of the topics. With reference to this question, I was wondering if someone can help me out in expanding some of the details. In ...
• 556
1 vote
73 views

### Finding geodesics on a mesh?

What are some state of the art methods/algorithms to find geodesics on arbitrary manifold meshes?
• 1,706