Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I have ported oimophysics engine in java with no depenedecy, it is a lightweight 3D physics engine that performs well on desktop as well as mobile platform.
Jogl is used to render demoes. I hope it might be useful to those who want to use 3D physics engine in a simple way (you just have to add a single 0.26MB jar file). Find the source code for eclipse project with demo at Github repository Any suggesstion or feedback is appreciated. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Hello
Thank you for sharing. I have a few suggestions: - don't put .class files into your GIT repository - provide an easy IDE-agnostic solution to build the project using a build tool (Ant, Gradle, Maven, etc) I'll look at your source code more deeply as soon as possible.
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by mahesh
I appreciate the presence of numerous comments, good point. There are lots of public fields, maybe there's a small lack of encapsulation. Some unit tests (TestNG, JUnit) would be welcome. I advise you not to store GL instances in fields, it's error prone. Moreover, you can use multi-line comments to drive your GLSL code more readable. Finally, your code is under MIT, it's written in the bottom but it should appear more clearly in the top right corner, there's no "view license" menu item.
Good job, keep up the good work. Feel free to ask some help.
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by mahesh
I get a blank page ... Besides, this minor glitch .. sounds AWESOME and exactly what I am dabbling in as of late on the side. Glad you did the work, which should be very helpful to get nicely responsive things on the screen, UI and simulations. Will dive into this later on .. Thank you Mahesh for porting the OimoPhysics Engine, MIT licensed, to Java! |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I just pushed my eclipse project to github, thats why it contains .class files and libraries. I have created and tested the project on Mac M1. On other systems jogl native libraries might be needed.
Jogl renderer written is just a quick and dirty way to see the outcome of engine. Rendering related classes are there inside "demo" package whcih can be deleted if renderer is not to be used. I would be glad, if somebody contributes in code refracting/optimization. By the way I am using JOGl based renderer in my application https://simphy.com/. How to get it featured on JOGL page? |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Understood Mahesh,
we can help refactoring as we go (i.e. use it ..), no problem. I understand the practical (fast) path fwd .. Your MIT lib is earmarked to be placed with a link to your commercial solution. Again, thank you .. I know how painful porting JavaScript to something useful can be. Especially manually .. a game of 'find the right type' :) |
Free forum by Nabble | Edit this page |