Tagged Questions
2
votes
1answer
42 views
Mapping random points on a sphere onto a uniform grid
Say I had an arbitrary sphere that is covered in a uniform triangle mesh of N elements with each element having a unique sequential index.
If given the coordinates of a random point on the surface of ...
0
votes
1answer
96 views
calculate surface normal with random sampling of points
Given a surface in $R^3$ and a point P on the surface, I want to calculate the surface normal in this point, the vector that is perpendicular to the surface.
However, I do not know the whole surface, ...
0
votes
0answers
132 views
Uniform Random Points on a triangle using only edge plane normals
For a triangle $ABC$ in 3D (each point has x, y, z coordinates) is it possible to generate uniform random points on the triangle from only the following data:
Normal of the triangle plane $N = ...
6
votes
3answers
2k views
Picking random points in the volume of sphere with uniform probability
I have a sphere of radius $R_{s}$, and I would like to pick random points in its volume with uniform probability. How can I do so while preventing any sort of clustering around poles or the center of ...
14
votes
7answers
1k views
Generate a random direction within a cone
I have a normalized 3D vector giving a direction and an angle that forms a cone around it, something like this:
I'd like to generate a random, uniformly distributed normalized vector for a ...
22
votes
5answers
1k views
How to find a random axis or unit vector in 3D?
I would like to generate a random axis or unit vector in 3D. In 2D it would be easy, I could just pick an angle between 0 and 2*Pi and use the unit vector pointing in that direction.
But in 3D I ...