GLBasic forum

Main forum => Beta Tests => Topic started by: SnooPI on 2019-Aug-09

Title: 3D Demo
Post by: SnooPI on 2019-Aug-09
Up, down, left, right and (not space  :rant:) ctrl right for jump.

0.1 test version.

0.5 version, I hope that pleases you... this engine is based on my old engine and OB3D.
If you are interested, I will explain to you later.






Title: Re: Beta test 3D demo 0.1
Post by: Ian Price on 2019-Aug-09
Seems to work well, but seeing as my laptop doesn't have a Right CTRL, I can't jump! :P
Title: Re: Beta test 3D demo 0.1
Post by: erico on 2019-Aug-09
Neat! All working fine here.
Title: Re: Beta test 3D demo 0.1
Post by: SnooPI on 2019-Aug-20
Quote from: Ian Price on 2019-Aug-09
Seems to work well, but seeing as my laptop doesn't have a Right CTRL, I can't jump! :P
Damn ! I still have to work on that :P

Erico, first of all thank you for your support  :good:  I hesitate between a fantasy style demo or rather a WW2 style.
I would like your opinion before continuing.
Title: Re: Beta test 3D demo 0.1
Post by: erico on 2019-Aug-20
The current hero looks quite nice.
WW2 or WW1 dogfight, for example, could be easier on the code side since things are flying.

I guess it would really depend on the game type.
The current hero could fit a RYGAR arcade kind of game,mostly side scrolling bashing stuff.
WW1 could be a remake of wings from the atari lynx where one could even split screen in 4.

What is your intended gameplay?

edit: ww1 game´s name is Warbirds. I confuse it with amiga Wings as they are a bit similar on the dogfight part.
Title: Re: Beta test 3D demo 0.1
Post by: SnooPI on 2019-Aug-22
Although it is actually easier to code, I don't really intend to do a flight demo, but a more general demo.

For WW2, my idea would be a WW2 Doom but with the ability to switch between first-person view and third-person view.
For Fantasy, your idea of Rygar is a very good idea, but I'm having a big problem with 3D graphics :( Especially for monsters.

I think I'll start with a WW2 style and if it doesn't work, I'll come back to the idea of ​​Fantasy in the Rygar style (because it's true that the current hero could be in a game of this style).
I will try to make a 0.2 test version in WW2 style for this weekend ... with (yet) another key for the jump Ian :)

Thanks all.

Note : My dream would be to build a Refractor 1 style engine, so your idea Erico of ​​flying is not too far from mine, because in RE1, players can use cars, trucks, tanks and ... planes ;)
Unfortunately for this dream, the 3D rendering functions of GLB will no longer be sufficient and I should code mine (and the code will probably not be 100% portable :().
Title: Re: Beta test 3D demo 0.1
Post by: erico on 2019-Aug-22
Android arts should be a good reference. Can´t find the main page but an img these days, here it goes, there should be more.

Title: Re: Beta test 3D demo 0.1
Post by: SnooPI on 2019-Aug-23
I will take a look at it. Thanks.
Title: Re: Beta test 3D demo 0.1
Post by: bigsofty on 2019-Aug-23
Just tested, works well, really nice work here Snoopy. Very interested how this turns out!  :good:
Title: Re: Beta test 3D demo 0.1
Post by: SnooPI on 2019-Aug-27
I didn't work as planned, but I will start again soon.
Thank you for your support :)
Title: Re: 3D Demo
Post by: SnooPI on 2020-May-09
I'm sorry, I edited my main topic, but I didn't send a message to say that I updated it.

It's done  ;)
Title: Re: 3D Demo
Post by: Qedo on 2020-May-09
truly remarkable and fluid animation. On my PC 500 fps. :good:
One question: What is the advantage of the .b3d format?
and are you using a particular wrapper or is it customized?
Ciao
Title: Re: 3D Demo
Post by: SnooPI on 2020-May-11
Thks Qedo!

The advantage of the .b3d format is that the objects are animated by skeleton unlike the .ddd format which is animated by vertex.
This allows for much smaller files and greater interaction with a physics engine.

A long time ago, I used the old Bigsofty's wrapper and I had several bugs (but it was not only because of the wrapper but also because of OpenB3D version which was in beta version), and as Bigsofty decided to abandon it (due to a problem of porting on mobiles), I decided too abandon it.

But a few weeks ago (during the development of my demo) I decided to rewrite it entirely by coupling it with my old engine  :) 
Even if I think to switch completely to OpenB3D because its entity system is really very interesting (I would only keep the AI ​​of my old engine), especially since I haven't encountered any bugs.

-- EDIT ---
I forgot to point out that the other advantage of using this engine is that there is not the famous shadow/camera problem of the GLB 3D engine and that we can do a light mapping.
This is very important for 3D developers.

Another point, this wrapper is not in competition with the Schranz0r's wrapper of Raylib because OB3D is not for mobiles (even if it has an HTML5 port that I have not yet tested).
Title: Re: 3D Demo
Post by: Schranz0r on 2020-May-11
Hi, 3D in the Raylib-Wrapper is not even started.
The Core is complete in now, yesterday is started the "Shapes-Module" :)
Title: Re: 3D Demo
Post by: Qedo on 2020-May-11
OK thanks.
what are the problems that do not make OB3D compatible with the mobiles world?
Ciao
Title: Re: 3D Demo
Post by: SnooPI on 2020-May-11
Good news Schranz0r.

It's an interesting question Qedo!
The problem was that OB3D used only OpenGL, but the HTML5 port uses OpenGLES so a mobile version must be possible  ;)
Without forgetting that it is quite easy to transform an HTML5 application into a mobile application.
Title: Re: 3D Demo
Post by: dreamerman on 2020-May-11
One more thing about animation - skeleton based is faster/better than per vertex and simply allows to do more things. But generally I'm not in '3d mode' from a long time, yet it's good to see possible alternatives or libs that could bring additional features to GLB.
Demo looks nice, runs smooth, but I had some issue running it - two or three first runs were crashes with some error (din't make any dumps/error logs), after that demo runs properly. Don't know why but it style reminds me Half-Life.. ;)
Title: Re: 3D Demo
Post by: SnooPI on 2020-May-11
2 or 3 crashes?
Damn, yet I tested it on several computers (even on my dinosaur computer) without crashing  :(
Indeed I will have to make an error log.

Thank you for this reference to this cult game... Yes it's true that the style looks a bit like Half-Life.

I finish the wrapper, improve the IA, add enemies, shots, etc ... and the next demo will be a mini game (a mini FPS).