Created a page for the Random Point On Cone node. |
might as well |
||
(2 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
|}} | |}} | ||
The '''Random Point On Cone''' node | The '''Random Point On Cone''' node returns a random point on the shell of a [https://en.wikipedia.org/wiki/Cone cone] with the given <code>Height</code> and <code>BaseRadius</code> centered at <code>[0; 0; 0]</code>. | ||
{{ | {{ProtoFluxRandomNodeWarning}} | ||
== Inputs == | == Inputs == | ||
=== Height ([[Type:float|float]]) === | === Height ([[Type:float|float]]) === | ||
The height of the cone | The height of the cone. | ||
=== BaseRadius ([[Type:float|float]]) === | === BaseRadius ([[Type:float|float]]) === | ||
The | The radius of the circle base of the cone. | ||
== Outputs == | == Outputs == | ||
Line 32: | Line 32: | ||
=== * ([[Type:float3|float3]]) === | === * ([[Type:float3|float3]]) === | ||
The | A random point on the surface of the specified cone. The center of the cone is at <code>[0; 0; 0]</code>, making the <code>y</code> field anywhere between <code>-BaseHeight/2</code> and <code>+BaseHeight/2</code>, where the former is the circle side and the latter is the tip side. | ||
[[Category:ProtoFlux:Math:Random:Point]] | [[Category:ProtoFlux:Math:Random:Point]] |
Revision as of 19:31, 15 April 2025
Random Point On Cone
Point
The Random Point On Cone node returns a random point on the shell of a cone with the given Height
and BaseRadius
centered at [0; 0; 0]
.
Inputs
Height (float)
The height of the cone.
BaseRadius (float)
The radius of the circle base of the cone.
Outputs
* (float3)
A random point on the surface of the specified cone. The center of the cone is at [0; 0; 0]
, making the y
field anywhere between -BaseHeight/2
and +BaseHeight/2
, where the former is the circle side and the latter is the tip side.