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
commit8638d1d00e30396a243c228c3e97c1c0fda3a9e8 (patch)
treed5f122b3b67662b7689621dc59384c4d72cdf4fa /src/main/kotlin/mrdoor
parent63e45705691d95fee585de983de0dab5b7564648 (diff)
downloadart-playground-openrndr-8638d1d00e30396a243c228c3e97c1c0fda3a9e8.tar.gz
art-playground-openrndr-8638d1d00e30396a243c228c3e97c1c0fda3a9e8.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)