https://kotlinlang.org logo
Title
l

laht

09/09/2020, 4:29 PM
Hi, I recently started working on a unified 3d rendering api for Kotlin/JVM called krender. Initially, you may chose between three.kt and JMonkeyEngine rendering back-ends. Basically just spreading the word 😉 (Work in progress)
👀 1
a

altavir

09/09/2020, 5:10 PM
We intend to use on of your works for jvm visionforge backend some day.
l

laht

09/09/2020, 6:04 PM
Due note that all of my works never reaches "stable" versions ^^
a

altavir

09/09/2020, 6:05 PM
Well, I took your JS bindings and they work fine. The project was mentioned in Kotlin 1.4 releas post and I've mentioned your name in the presentation (sory if I've mistpronounced it).
l

laht

09/09/2020, 6:13 PM
what was mentioned where?
a

altavir

09/09/2020, 6:14 PM
l

laht

09/09/2020, 6:27 PM
Good that my code has been of some use. I never got around using the wrappers myself as I kinda stopped doing browser stuff. Kinda why I did the whole three.kt port. But same thing there. Never kinda got around to use it. krender I will use as the visualisation engine for a co-simulation framework I made called Vico. Basically the culumination of my phd. The good thing about krender is that I can just swap the actual rendering backend (three.kt, JMonkey, libdgx, ardor3d) without changing the API
might do the same thing for physics. I.e. making a common API for AGX, ODE and Bullet
Which would also be used by Vico
a

altavir

09/09/2020, 6:29 PM
I will look into that. I am not sure though, since we had to make some hacks into threeJS to optimize rendering for a large number of elements
l

laht

09/09/2020, 6:32 PM
Sorry, what do you mean? Look into krender? Unfortunately I have no plans to go multiplatform with krender.
a

altavir

09/09/2020, 6:34 PM
I mean that I need to have access to some low level things like manual memory release. I did not look into your JVM implementation yet, since our main focus is web at the moment.
l

laht

09/09/2020, 6:40 PM
Ahh, yeah. I cannot vouch for using three.kt for anything serious. I was surprised it worked at all tbh
But for simple rendering on the JVM it's a hidden gem
a

altavir

09/09/2020, 6:42 PM
I am currently using JavaFX 3D. But i will see if we can migrate to thre.kt
l

laht

09/09/2020, 6:45 PM
I would only have considered that if you're willing to do maintance on the code base in case of bugs or bad performance. I would not be able to be of much assistance