Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - SnooPI

#31
3D-snippets / Re: SGEngine
2021-Dec-21
 :booze:  Bigsofty

New update.
Some functions have been rewritten and renamed, examples that used them have been updated.
Only 2 examples have been added but they are important because they show how to load a scene and create collisions from it.

I've put a link to an old version of irrEdit (in fact I've not yet tested the compatibility with the latest version  :-[)

Good fun.

#32
3D-snippets / Re: SGEngine
2021-Dec-08
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:).
#33
Very interesting.
Thank you for this information Loftcat.
#34
Welcome to you  :booze:

Not easy to answer without a snippet of the code  ;)
Try that: Enable vsync with the LIMITFPS function.
https://www.glbasic.com/xmlhelp.php?lang=en&id=49&action=view
#35
No problemo  =D

Quote from: erico on 2021-Nov-16
Just to let you know I´m interested into it too, if I haven´t said that before :D
:D  I don't remember  ;)



#36
3D-snippets / Re: SGEngine
2021-Nov-19
Quote from: bigsofty on 2021-Nov-17
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.

Quote from: Qedo on 2021-Nov-17
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).
#37
3D-snippets / Re: SGEngine
2021-Nov-17
With a lot of delay (for lack of motivation I admit it :-[) here is a new update for SGE  :booze:
#38
I wanted to send it today but I just realized that I forgot an example with the GUI  ;/
So tomorrow probably.
Thank you for continuing to be interested in this project and your compliment, I have worked a lot on this engine and this demo this week  :good:

If you need a specific example let me know  ;)
#39
Off Topic / Re: Steam Deck
2021-Nov-14
 :D :D

Thanks for the info Dreamerman, it was long but very interesting  :good:
#40
Although I don't like Blender's interface it's a very good news.

Quote from: Kitty Hello on 2021-Nov-12
(reminder to myself: always comment code. Code you wrote 5 years ago is code someone else might have written...)
:D I confirm!

#41
Quote from: erico on 2021-Nov-11
I have a few ideas for 3d and the likes but it has been quite hard to get anything going.
If you need help don't hesitate  ;)

Quote from: Kitty Hello on 2021-Nov-12
Is there any way we can help you out?
Good idea :good:
#42
Beta Tests / Re: SGEngine
2021-Nov-14
New SGE Demo  :booze:
#43
Probably a problem with #include <unistd.h>

Add it with the INLINE function at the start of your code.

But there will surely be another problem because the ZLIB has an API C.
#44
Yes it is very impressive.
I have never liked and mastered the Blender interface.
Which impresses me all the more.
#45
Yes, we are often lost with this kind of code, especially if they are poorly commented.
Recently I took one of my codes in this style and I didn't understand what I had coded  :D

Even if there are bugs it's really starting to take shape :good: