[orx-mesh-noise] Add generated and verified documentation
This commit is contained in:
@@ -10,8 +10,21 @@ import org.openrndr.math.Vector3
|
||||
import java.io.File
|
||||
import kotlin.random.Random
|
||||
|
||||
|
||||
/**
|
||||
* Demonstrate uniform point on mesh generation
|
||||
* This demo creates a 3D visualization program using the OPENRNDR framework.
|
||||
* It demonstrates loading an OBJ model, generating uniform points on the surface
|
||||
* of the mesh, and rendering these points as small spheres using a custom shader.
|
||||
*
|
||||
* The following key processes are performed:
|
||||
* - Loading mesh data from an OBJ file.
|
||||
* - Generating a list of uniformly distributed points on the mesh surface.
|
||||
* - Rendering the generated points with small spheres.
|
||||
* - Using an "Orbital" extension for interactive camera control.
|
||||
* - Applying a shader effect to visualize surface normals.
|
||||
*
|
||||
* The application runs with a window size of 720x720 pixels and positions the camera
|
||||
* in front of the scene using the "Orbital" extension.
|
||||
*/
|
||||
fun main() {
|
||||
application {
|
||||
|
||||
Reference in New Issue
Block a user