OpenGL Small Engine3D (opensource)

Advanced game related topics
Anonymous

OpenGL Small Engine3D (opensource)

Post by Anonymous »

Hello !

Firstly, sorry for my bad english :oops:
Secondly, i make a small engine3D using OpenGL (not subsystem, he don't work)
This is a simple Engine, i don't envisage a make a big Engine for create HL3 or Doom 14 :D
he's not finaly, it misses Light or volumetric shadow (i work on)
With this , you can move with a FreeFly Camera type, using keyboard(ZSQD) and mouse.
The engine can load a simple mesh file (.ase), i work too for load other file type.
The engine is OpenSource :

File:2->B3D.rar
Image


Known bug :

- Strafe don't work when the angle of camera is at -90 or + 90
- Camera Fluidity is not very good.




And here , you can download a demo of Stencil & Reflection (Original code from NeHe)


File:1->ReflectionStencil.rar
Image



Enjoy !
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Looks pretty nice!!!
Include an .obj and a .b3d loader and you got a nice engine!

Ehehe... HL2 dog ;)
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Very cool. Look into milkshape 3d too =D
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Another thought: You may want to take the route of other engines these days and create your own mesh format, and just make converters for the other formats. That way you aren't spending 99% of your time making importers for all the 3d formats out there.
Anonymous

Post by Anonymous »

I have got my own mesh format, he's B3D :D ,you can't see him in this release , because i work on for mesh animation. Maybe on next release :wink:
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

Well I am more than impressed.

Thank you for sharing the code.
Dare2 cut down to size
Heathen
Enthusiast
Enthusiast
Posts: 498
Joined: Tue Sep 27, 2005 6:54 pm
Location: At my pc coding..

Post by Heathen »

very nice, look forward to future updates.
I love Purebasic.
andreyu
User
User
Posts: 16
Joined: Sun Oct 01, 2006 7:12 pm
Location: Belarus
Contact:

Re: OpenGL Small Engine3D (opensource)

Post by andreyu »

Cpl.Bator wrote:Firstly, sorry for my bad english :oops:
Secondly, i make a small engine3D using OpenGL (not subsystem, he don't work)
This engine not cross-platform. It works only on Windows :(
Regards, _Andrey_
http://www.wegroup.org
Anonymous

Post by Anonymous »

Firstly, sorry for my bad english Embarassed
Secondly, i make a small engine3D using OpenGL (not subsystem, he don't work)

This engine not cross-platform. It works only on Windows
Yes, if you wan't use this on linux, you must modify Window.pbi in include file.
Heathen
Enthusiast
Enthusiast
Posts: 498
Joined: Tue Sep 27, 2005 6:54 pm
Location: At my pc coding..

Post by Heathen »

Cpl.Bator wrote:
Firstly, sorry for my bad english Embarassed
Secondly, i make a small engine3D using OpenGL (not subsystem, he don't work)

This engine not cross-platform. It works only on Windows
Yes, if you wan't use this on linux, you must modify Window.pbi in include file.
Are you still working on this?
I love Purebasic.
Anonymous

Post by Anonymous »

no, i stoped this because i lost codes , my old hard disk is broken... :?
i haven't courage for restart it at this point.

@++
Post Reply