Skip to main content
↑
↓
Spherical forums
Community for the
Sphere game engine
New?
Contact Us
to register an account!
1 Hour
1 Day
1 Week
1 Month
Forever
Community
Help
Search
Recent Posts
Log in
Contact Us
News
Spherical
Facebook
-
Twitter
-
Discord chat
New?
Contact us
to register an account!
Sphere Development
Sphere General
Galileo improvements
1
Print
Topic: Galileo improvements
(Read 3988 times)
previous topic
-
next topic
0 Members and 1 Guest are viewing this topic.
Fat Cerberus
Big Chungus
Posts: 2,774
*MUNCH*
Logged
Global Moderator
Sphere Developer
Galileo improvements
May 03, 2016, 03:38:12 am
So I took a second look at the Galileo API (I pretty much haven't touched it since implementing it in one of the 1.x versions), and noticed there were a lot of warts to it that made it awkward to use or too rigid. I came up with what I think is a more robust and usable design which will debut in minisphere 3.1.
The new API supports a transformation matrix per-Group, coordinates in 3D space (XYZ) as well as the ability to set uniforms for a Group's shader. Here's the API documentation for what's in the git repo now:
https://github.com/fatcerberus/minisphere/blob/master/docs/sphere-api.txt#L729-L949
In theory it should also be possible to do basic 3D rendering by using a projection matrix, but I haven't tested that yet. In any case it's not that far away from the original design as stolen from TurboSphere
, but is much more flexible.
neoSphere 5.9.2
-
neoSphere
engine -
Cell
compiler -
SSj
debugger
forum thread
|
on GitHub
Rahkiin
Medium Poster
Posts: 152
Mac OSX Developer
Logged
Re: Galileo improvements
Reply #1
–
May 03, 2016, 08:51:25 am
Could you update the pegasus spec while you experiment? So that the spec is always up to date?
Pegasus API:
https://github.com/sphere-group/pegasus
Delphinus:
https://github.com/joskuijpers/delphinus
Fat Cerberus
Big Chungus
Posts: 2,774
*MUNCH*
Logged
Global Moderator
Sphere Developer
Re: Galileo improvements
Reply #2
–
May 03, 2016, 02:31:22 pm
I will, once I adapt the new stuff to my Sphere 2.0 fork. What I showed above is the Sphere 1.x compatible API, so it needs to be adapted first.
neoSphere 5.9.2
-
neoSphere
engine -
Cell
compiler -
SSj
debugger
forum thread
|
on GitHub
1
Print
Sphere Development
Sphere General
Galileo improvements