Author Topic: SGEngine  (Read 1326 times)

Offline SnooPI

  • Dr. Type
  • ****
  • Posts: 416
    • View Profile
SGEngine
« on: 2021-Feb-12 »
Get the latest version here:
https://www.mediafire.com/file/pcadn73ym1bii1n/SGEngine.rar/file
Password: snoopisge
« Last Edit: Today at 04:22 AM by SnooPI »

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 352
  • to program what I have todo how should I program?
    • View Profile
Re: SGEngine
« Reply #1 on: 2021-Feb-12 »
wonderful work and thanks for sharing.  :booze:
How long is it to complete?
ad maiora

Offline Steinbock

  • Mr. Drawsprite
  • **
  • Posts: 66
    • View Profile
    • Mountainsoft
Re: SGEngine
« Reply #2 on: 2021-Feb-12 »
Wow, great work  :good:
Time will come. It's just a matter of time...

Offline SnooPI

  • Dr. Type
  • ****
  • Posts: 416
    • View Profile
Re: SGEngine
« Reply #3 on: 2021-Feb-13 »
I don't know (I wasted a lot of time in my work) but I think I can work on it in parallel, I would say 1 month or 2 to make it complete with all the examples.
But during the development I will put the updates online so that you can test them.

Thank you for your support  :booze:

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5111
  • O Rly?
    • View Profile
Re: SGEngine
« Reply #4 on: 2021-Feb-14 »
Ah Irrlicht Engine.  :good:
I <3 DGArray's :D

PC:
AMD Ryzen 7 1700 @3.9GHz, 16GB HyperX Fury 3000MHz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline SnooPI

  • Dr. Type
  • ****
  • Posts: 416
    • View Profile
Re: SGEngine
« Reply #5 on: 2021-Feb-14 »
-The Irrlicht wrapper is not just a simple transcription of Irrlicht functions, it's a little more complex.
-The engine uses 2 wrappers, one for Irrlicht but also another for irrKlang (for 3D sound)
-In the future, I plan to add AI and then more advanced physics.
So it's not only Irrlicht Engine,  it's SGEngine  ;)

Thanks Schranz0r, as I know you worked on a wrapper for Irrlicht, you might be able to help me later when you have time.

Offline SnooPI

  • Dr. Type
  • ****
  • Posts: 416
    • View Profile
Re: SGEngine
« Reply #6 on: 2021-Nov-17 »
With a lot of delay (for lack of motivation I admit it :-[) here is a new update for SGE  :booze:
« Last Edit: 2021-Nov-17 by SnooPI »

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2747
    • View Profile
Re: SGEngine
« Reply #7 on: 2021-Nov-17 »
With a lot of delay (for lack of motivation I admit it :-[) here is a new update for SGE  :booze:

Only had a quick look but it's very imressive work SnooPI! Nicely structured code, with lots of remarks.

Well done!  :good:
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline Qedo

  • Dr. Type
  • ****
  • Posts: 352
  • to program what I have todo how should I program?
    • View Profile
Re: SGEngine
« Reply #8 on: 2021-Nov-17 »
this is a great job, congratulations SnooPI and thanks for sharing it

Offline SnooPI

  • Dr. Type
  • ****
  • Posts: 416
    • View Profile
Re: SGEngine
« Reply #9 on: 2021-Nov-19 »
Only had a quick look but it's very imressive work SnooPI! Nicely structured code, with lots of remarks.
The original Irrlicht wrapper was in this style, I kept it for clarity and to be able to understand it without difficulty even after years.
In addition, it saves me from having to write documentation ;) we understand perfectly the engine with only the examples.

this is a great job, congratulations SnooPI and thanks for sharing it
With pleasure  :booze:
Hope this engine will help to make quality 3D easily.

Thanks guys, I added 4 examples (from now on I would put "NEW" in the code for each new example).

Offline dreamerman

  • Global Moderator
  • Dr. Type
  • *******
  • Posts: 401
    • View Profile
    • my personal website
Re: SGEngine
« Reply #10 on: 2021-Nov-29 »
Very nice, clean coding and well structured. Looks very easy to use. Checked several things, they are working without issues even on iGPU.
I have some tech questions, as always :D I'm curious, as Irrlicht could use several render API's (OGL, DX, software), You most likely are using OpenGL, are you creating another OGL context or using that already made by GLB? Does Irrlicht have now something more advanced than basic collision detection? (years ago they wanted to include some physic lib like Newton or Bullet if I remember correctly).
Such engine gives much more opportunities for more advanced 3d from start, so it gives some nice possibilities, one thing that is how portable this will be, for moment GLB main platform is Windows, but what about Linux (most likely should be simple and just use other headers), HTML5 (this may be tricky). Still current state of Proton and x86 emulation on MacOS can mitigate possible problems with this. Really nice to have another rendering back-end, even If now I would use it just for testing some things.

Thing about motivation, yeah, specially for larger project where so many things need to be done it sometimes hard, but I'm glad that you found perseverance to finish this ;)
Check my source code editor for GLBasic - link Update: 20.04.2020

Offline SnooPI

  • Dr. Type
  • ****
  • Posts: 416
    • View Profile
Re: SGEngine
« Reply #11 on: Today at 04:00 AM »
Oh sorry Dreamerman, it's only now that I see your message  :(

Quote from: dreamerman
Very nice, clean coding and well structured. Looks very easy to use. Checked several things, they are working without issues even on iGPU.
Thanks  :booze: Yes, anyway I only have that at home and it's an old iGPU  :D
But if it's fast on my PC, it's normally fast everywhere, even on mobile  ;)

Quote from: dreamerman
I have some tech questions, as always :D I'm curious, as Irrlicht could use several render API's (OGL, DX, software), You most likely are using OpenGL, are you creating another OGL context or using that already made by GLB? Does Irrlicht have now something more advanced than basic collision detection? (years ago they wanted to include some physic lib like Newton or Bullet if I remember correctly).
You are right, the first version of SGE uses OGL and DX9 but I noticed a lot of issues with Windows 10, apparently Microsoft wants the developers to ditch DX9 completely  ;/
So I dropped DX9 and at the same time the software rendering, it's technically interesting but without much interest for serious development. The Irrlicht DLL has also been updated (so it's smaller).
No real physics engine for the moment but I plan to implement one soon (as well as an AI).
SGE uses its own OGL context.
The collision detection is great and even though the physics is basic it can do some interesting things (see example 12).

Quote from: dreamerman
Thing about motivation, yeah, specially for larger project where so many things need to be done it sometimes hard, but I'm glad that you found perseverance to finish this ;)
Your encouragement helps me  ;)

I did a big update, restructured the code, added / rewrote some functions, optimized others and removed DX9
With OGL it's a bit slower in windowed mode but in full screen it's almost as fast (tested on my old iGPU  =D)
I also added 5 examples.

I put the engine on MediaFire to allow me to update it more easily for small changes (like adding a comment for example).
For big updates like bug fixes, optimization, adding examples, ... I would put a message here.

If you have any problems or questions, don't hesitate.
Happy Christmas to all (despite the Covid  :sick:).
« Last Edit: Today at 04:37 AM by SnooPI »