|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Alternative to Java 3D? » » » » Post: Re: Alternative to Java 3D? |
Print at Dec 16, 2025, 1:36:52 PM |
| Posted by Puybaret at Feb 19, 2021, 10:53:59 AM |
|
Re: Alternative to Java 3D? Replacing Java 3D by an other library is similar to the quest of finding a better rendering engine than SunFlow. It would require a lot of time, and even once you reached a working solution, you might have some bugs difficult to fix. Another solution could be to program a half replacement, i.e. keeping a 3D API very similar to Java 3D API, but changing its implementation with more direct calls to OpenGL through JOGL and keeping only parts needed by Sweet Home 3D. This is one of the reasons why I didn't use an existing 3D library like Three.js when I ported Sweet Home 3D to JavaScript. I chose to learn WebGL and programmed a small library inspired from Java 3D (see scene3d.js and HTMLCanvas3D.js mainly), with the hope that I could reuse my WebGL knowledge to implement a similar engine in Java with OpenGL / JOGL the day it will be required. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 16, 2025, 1:36:52 PM |