aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/mrdoor
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-10-01 15:00:35 +0530
committerAkshay Nair <phenax5@gmail.com>2026-10-01 15:00:35 +0530
commitb04c4008e73d1515d1f78f993ca25826847d7207 (patch)
treee884360817b047eae4db05e36595a0c7f40a1399 /src/main/kotlin/mrdoor
parent0fc4f3de01b6ef63e1fc8d36d581a542b3c27a42 (diff)
downloadart-playground-openrndr-b04c4008e73d1515d1f78f993ca25826847d7207.tar.gz
art-playground-openrndr-b04c4008e73d1515d1f78f993ca25826847d7207.zip
Add time
Diffstat (limited to 'src/main/kotlin/mrdoor')
-rw-r--r--src/main/kotlin/mrdoor/MrdoorProgram.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/kotlin/mrdoor/MrdoorProgram.kt b/src/main/kotlin/mrdoor/MrdoorProgram.kt
index deabfe3..5d60505 100644
--- a/src/main/kotlin/mrdoor/MrdoorProgram.kt
+++ b/src/main/kotlin/mrdoor/MrdoorProgram.kt
@@ -19,15 +19,15 @@ fun main() = application {
oliveProgram {
val cs by liveComputeShader("mrdoor")
- val cameraManager =
- CameraManager(Vector3(1.0, 1.0, -1.0), Vector3.ZERO, Vector3(20.0, 30.0, -30.0))
- extend(cameraManager)
+ // val cameraManager =
+ // CameraManager(Vector3(1.0, 1.0, -1.0), Vector3.ZERO, Vector3(20.0, 30.0, -30.0))
+ // extend(cameraManager)
val outputBuffer = colorBuffer(width, height, type = ColorType.UINT8)
extend {
cs.uniform("seconds", seconds)
- cameraManager.setUniforms(cs)
+ // cameraManager.setUniforms(cs)
cs.image("output_image", 0, outputBuffer.imageBinding(0, ImageAccess.WRITE))
cs.execute(outputBuffer.width, outputBuffer.height, 1)
drawer.image(outputBuffer)