GLBasic forum

Codesnippets => Inline / 3rd party => Topic started by: bigsofty on 2011-Sep-30

Title: OpenB3D - Blitz3D for GLBasic
Post by: bigsofty on 2011-Sep-30
Hi,

This is my wrapper for OpenBlitz 3D.

See "Air.app.rar" for .exe demo.
See "OpenB3D.rar" for lib source.

Have fun!


Ian


QuoteReadme for the GLBasic wrapper OB3D

This version is an alpha.

To install the extra compiler stuff that the lib requires...
1) Since this messes with your compiler dir, back it up (I just zipped the Compiler dir)

2) Download http://www.glbasic.com/files/headers.rar and decompress the compressed 'compiler' folder into your GLB compiler folder, overwrite any files of prompted.

3) Decompress the "platform.rar" folder, from the attached archive, into your GLB 'compiler/platform' folder, overwrite if prompted.


To configure your OB3D project settings...

1) Open your project options

2) Set "cmp" command line option to "-I"<my project folder>\OpenB3d 0.35_src\src" -O3" (Without start and end quotes)

3) Set "lnk" command line option to "-llibglu32 -lGLee" (Without start and end quotes)

4) Make sure your Graphics res/Hz match your OB3D "Graphics" command parameters.


Note: Make sure your project has OpenB3DLib.gbas in it for the OB3D command imports.

That's basically it!


There is a demo ("air") project, just remember to change the "cmp" option to match your own path to the "OpenB3d 0.35_src" dir. Best way to see how this works is to get this project working then examine the options.


OK, OpenB3D ( http://sourceforge.net/projects/minib3d/ ) is an open-source Obj C -> C++ conversion of miniB3D/iMiniB3D by angros47 over here( http://www.freebasic.net/forum/viewtopic.php?t=15409&start=0 I'm Veggie there BTW!) on the FreeBasic forum.
Its basically Blitz3D for OpenGL, so you can load .B3D, .3DS files directly. It so closely matches Blitz3D, you can use the manual for Blitz3D! It has full internal quaternion support, so no gimbal lock, an entity system, ROAM landscape object, an internal boned animation structure, really nice sliding collision support (Coldet Lib I believe) and other bit-n-bobs.

I converted it for my own use, and that is, I intend to get it running on iOS/Android again as most of the lib is VBO/OpenGLES backward compatible. Its a single pass lib, so in many ways the GLbasics internal 3D lib is better for your needs if your require two pass features (shadows for example). It 'should' work on Linux off the bat, I can't test it. It has no external dependencies to speak of. The Glee/Glu extension support is only needed for the windows version. In theory getting it to run on OSX should be a breeze too.

GLB 2D works fine, 3D seems to have a problem with frustum clipping (neg Z is fine, positive "Z" is clipped), still looking into getting them to play together though.

All the C files were altered using the GLB editor, which I have discovered works as a rather fine C++ source editor. That is the point of not using static libs yet is to allow the source to be on hand and modifiable right within the GLB IDE, compilation is a breeze(remember to double click the Debug icon though, to wake up incredibuild! :P) as its part of the project. So this is a dev version of the finished project. I am not a C programmer so any tips in this area will be very appreciated. I am only responsible for the wrapper and all lib source questions should be directed towards Angros(he's a very approachable guy BTW!). If you can, contribute to this worthy project with source fixes/updates, then please do.

Couple of bugs to squish yet, its an alpha remember, oh and your media needs to be in the same dir as the app .exe for now too.

Thanks go to...

Si Armstrong, angros47, Gernot, Schranz0r.


Ian Thompson(aka Bigsofty/Veggie)


P.S. If Gernot fulfils my request for default IMPORT param values, this lib can be simplified a lot further. Also an option to turn off incredibuild for editing C source, would be great too. ;)

[attachment deleted by admin]
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: bigsofty on 2011-Sep-30
List of commands in lib...

Click on command for more info.

AddAnimSeq (http://www.blitzbasic.com/b3ddocs/command.php?name=AddAnimSeq)
AddMesh (http://www.blitzbasic.com/b3ddocs/command.php?name=AddMesh)
AddTriangle (http://www.blitzbasic.com/b3ddocs/command.php?name=AddTriangle)
AddVertex (http://www.blitzbasic.com/b3ddocs/command.php?name=AddVertex)
AmbientLight (http://www.blitzbasic.com/b3ddocs/command.php?name=AmbientLight)
AntiAlias (http://www.blitzbasic.com/b3ddocs/command.php?name=AntiAlias)
Animate (http://www.blitzbasic.com/b3ddocs/command.php?name=Animate)
Animating (http://www.blitzbasic.com/b3ddocs/command.php?name=Animating)
AnimLength (http://www.blitzbasic.com/b3ddocs/command.php?name=AnimLength)
AnimSeq (http://www.blitzbasic.com/b3ddocs/command.php?name=AnimSeq)
AnimTime (http://www.blitzbasic.com/b3ddocs/command.php?name=AnimTime)
BrushAlpha (http://www.blitzbasic.com/b3ddocs/command.php?name=BrushAlpha)
BrushBlend (http://www.blitzbasic.com/b3ddocs/command.php?name=BrushBlend)
BrushColor (http://www.blitzbasic.com/b3ddocs/command.php?name=BrushColor)
BrushFX (http://www.blitzbasic.com/b3ddocs/command.php?name=BrushFX)
BrushShininess (http://www.blitzbasic.com/b3ddocs/command.php?name=BrushShininess)
BrushTexture (http://www.blitzbasic.com/b3ddocs/command.php?name=BrushTexture)
CameraClsColor (http://www.blitzbasic.com/b3ddocs/command.php?name=CameraClsColor)
CameraClsMode (http://www.blitzbasic.com/b3ddocs/command.php?name=CameraClsMode)
CameraFogColor (http://www.blitzbasic.com/b3ddocs/command.php?name=CameraFogColor)
CameraFogMode (http://www.blitzbasic.com/b3ddocs/command.php?name=CameraFogMode)
CameraFogRange (http://www.blitzbasic.com/b3ddocs/command.php?name=CameraFogRange)
CameraPick (http://www.blitzbasic.com/b3ddocs/command.php?name=CameraPick)
CameraProject (http://www.blitzbasic.com/b3ddocs/command.php?name=CameraProject)
CameraProjMode (http://www.blitzbasic.com/b3ddocs/command.php?name=CameraProjMode)
CameraRange (http://www.blitzbasic.com/b3ddocs/command.php?name=CameraRange)
CameraViewport (http://www.blitzbasic.com/b3ddocs/command.php?name=CameraViewport)
CameraZoom (http://www.blitzbasic.com/b3ddocs/command.php?name=CameraZoom)
ClearCollisions (http://www.blitzbasic.com/b3ddocs/command.php?name=ClearCollisions)
ClearSurface (http://www.blitzbasic.com/b3ddocs/command.php?name=ClearSurface)
ClearTextureFilters (http://www.blitzbasic.com/b3ddocs/command.php?name=ClearTextureFilters)
ClearWorld (http://www.blitzbasic.com/b3ddocs/command.php?name=ClearWorld)
CollisionEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionEntity)
Collisions (http://www.blitzbasic.com/b3ddocs/command.php?name=Collisions)
CollisionNX (http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionNX)
CollisionNY (http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionNY)
CollisionNZ (http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionNZ)
CollisionSurface (http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionSurface)
CollisionTime (http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionTime)
CollisionTriangle (http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionTriangle)
CollisionX (http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionX)
CollisionY (http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionY)
CollisionZ (http://www.blitzbasic.com/b3ddocs/command.php?name=CollisionZ)
CountChildren (http://www.blitzbasic.com/b3ddocs/command.php?name=CountChildren)
CountCollisions (http://www.blitzbasic.com/b3ddocs/command.php?name=CountCollisions)
CopyEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=CopyEntity)
CopyMesh (http://www.blitzbasic.com/b3ddocs/command.php?name=CopyMesh)
CountSurfaces (http://www.blitzbasic.com/b3ddocs/command.php?name=CountSurfaces)
CountTriangles (http://www.blitzbasic.com/b3ddocs/command.php?name=CountTriangles)
CountVertices (http://www.blitzbasic.com/b3ddocs/command.php?name=CountVertices)
CreateBrush (http://www.blitzbasic.com/b3ddocs/command.php?name=CreateBrush)
CreateCamera (http://www.blitzbasic.com/b3ddocs/command.php?name=CreateCamera)
CreateCone (http://www.blitzbasic.com/b3ddocs/command.php?name=CreateCone)
CreateCylinder (http://www.blitzbasic.com/b3ddocs/command.php?name=CreateCylinder)
CreateCube (http://www.blitzbasic.com/b3ddocs/command.php?name=CreateCube)
CreateMesh (http://www.blitzbasic.com/b3ddocs/command.php?name=CreateMesh)
CreateLight (http://www.blitzbasic.com/b3ddocs/command.php?name=CreateLight)
CreatePivot (http://www.blitzbasic.com/b3ddocs/command.php?name=CreatePivot)
CreateSphere (http://www.blitzbasic.com/b3ddocs/command.php?name=CreateSphere)
CreateSprite (http://www.blitzbasic.com/b3ddocs/command.php?name=CreateSprite)
CreateSurface (http://www.blitzbasic.com/b3ddocs/command.php?name=CreateSurface)
CreateTexture (http://www.blitzbasic.com/b3ddocs/command.php?name=CreateTexture)
DeltaPitch (http://www.blitzbasic.com/b3ddocs/command.php?name=DeltaPitch)
DeltaYaw (http://www.blitzbasic.com/b3ddocs/command.php?name=DeltaYaw)
EntityAlpha (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityAlpha)
EntityAutoFade (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityAutoFade)
EntityBlend (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityBlend)
EntityBox (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityBox)
EntityClass (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityClass)
EntityCollided (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityCollided)
EntityColor (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityColor)
EntityDistance (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityDistance)
EntityFX (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityFX)
EntityInView (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityInView)
EntityName (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityName)
EntityOrder (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityOrder)
EntityParent (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityParent)
EntityPick (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityPick)
EntityPickMode (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityPickMode)
EntityPitch (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityPitch)
EntityRadius (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityRadius)
EntityRoll (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityRoll)
EntityShininess (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityShininess)
EntityTexture (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityTexture)
EntityType (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityType)
EntityVisible (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityVisible)
EntityX (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityX)
EntityY (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityY)
EntityYaw (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityYaw)
EntityZ (http://www.blitzbasic.com/b3ddocs/command.php?name=EntityZ)
ExtractAnimSeq (http://www.blitzbasic.com/b3ddocs/command.php?name=ExtractAnimSeq)
FindChild (http://www.blitzbasic.com/b3ddocs/command.php?name=FindChild)
FindSurface (http://www.blitzbasic.com/b3ddocs/command.php?name=FindSurface)
FitMesh (http://www.blitzbasic.com/b3ddocs/command.php?name=FitMesh)
FlipMesh (http://www.blitzbasic.com/b3ddocs/command.php?name=FlipMesh)
FreeBrush (http://www.blitzbasic.com/b3ddocs/command.php?name=FreeBrush)
FreeEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=FreeEntity)
FreeTexture (http://www.blitzbasic.com/b3ddocs/command.php?name=FreeTexture)
GetBrushTexture (http://www.blitzbasic.com/b3ddocs/command.php?name=GetBrushTexture)
GetChild (http://www.blitzbasic.com/b3ddocs/command.php?name=GetChild)
GetEntityBrush (http://www.blitzbasic.com/b3ddocs/command.php?name=GetEntityBrush)
GetEntityType (http://www.blitzbasic.com/b3ddocs/command.php?name=GetEntityType)
ResetEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=ResetEntity)
GetParent (http://www.blitzbasic.com/b3ddocs/command.php?name=GetParent)
GetSurface (http://www.blitzbasic.com/b3ddocs/command.php?name=GetSurface)
GetSurfaceBrush (http://www.blitzbasic.com/b3ddocs/command.php?name=GetSurfaceBrush)
Graphics3D (http://www.blitzbasic.com/b3ddocs/command.php?name=Graphics3D)
HandleSprite (http://www.blitzbasic.com/b3ddocs/command.php?name=HandleSprite)
HideEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=HideEntity)
LightColor (http://www.blitzbasic.com/b3ddocs/command.php?name=LightColor)
LightConeAngles (http://www.blitzbasic.com/b3ddocs/command.php?name=LightConeAngles)
LightRange (http://www.blitzbasic.com/b3ddocs/command.php?name=LightRange)
LinePick (http://www.blitzbasic.com/b3ddocs/command.php?name=LinePick)
LoadAnimMesh (http://www.blitzbasic.com/b3ddocs/command.php?name=LoadAnimMesh)
LoadAnimTexture (http://www.blitzbasic.com/b3ddocs/command.php?name=LoadAnimTexture)
LoadBrush (http://www.blitzbasic.com/b3ddocs/command.php?name=LoadBrush)
LoadMesh (http://www.blitzbasic.com/b3ddocs/command.php?name=LoadMesh)
LoadTexture (http://www.blitzbasic.com/b3ddocs/command.php?name=LoadTexture)
LoadSprite (http://www.blitzbasic.com/b3ddocs/command.php?name=LoadSprite)
MeshDepth (http://www.blitzbasic.com/b3ddocs/command.php?name=MeshDepth)
MeshesIntersect (http://www.blitzbasic.com/b3ddocs/command.php?name=MeshesIntersect)
MeshHeight (http://www.blitzbasic.com/b3ddocs/command.php?name=MeshHeight)
MeshWidth (http://www.blitzbasic.com/b3ddocs/command.php?name=MeshWidth)
MoveEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=MoveEntity)
NameEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=NameEntity)
PaintEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=PaintEntity)
PaintMesh (http://www.blitzbasic.com/b3ddocs/command.php?name=PaintMesh)
PaintSurface (http://www.blitzbasic.com/b3ddocs/command.php?name=PaintSurface)
PickedEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=PickedEntity)
PickedNX (http://www.blitzbasic.com/b3ddocs/command.php?name=PickedNX)
PickedNY (http://www.blitzbasic.com/b3ddocs/command.php?name=PickedNY)
PickedNZ (http://www.blitzbasic.com/b3ddocs/command.php?name=PickedNZ)
PickedSurface (http://www.blitzbasic.com/b3ddocs/command.php?name=PickedSurface)
PickedTime (http://www.blitzbasic.com/b3ddocs/command.php?name=PickedTime)
PickedTriangle (http://www.blitzbasic.com/b3ddocs/command.php?name=PickedTriangle)
PickedX (http://www.blitzbasic.com/b3ddocs/command.php?name=PickedX)
PickedY (http://www.blitzbasic.com/b3ddocs/command.php?name=PickedY)
PickedZ (http://www.blitzbasic.com/b3ddocs/command.php?name=PickedZ)
PointEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=PointEntity)
PositionEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=PositionEntity)
PositionMesh (http://www.blitzbasic.com/b3ddocs/command.php?name=PositionMesh)
PositionTexture (http://www.blitzbasic.com/b3ddocs/command.php?name=PositionTexture)
ProjectedX (http://www.blitzbasic.com/b3ddocs/command.php?name=ProjectedX)
ProjectedY (http://www.blitzbasic.com/b3ddocs/command.php?name=ProjectedY)
ProjectedZ (http://www.blitzbasic.com/b3ddocs/command.php?name=ProjectedZ)
RenderWorld (http://www.blitzbasic.com/b3ddocs/command.php?name=RenderWorld)
ResetEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=ResetEntity)
RotateEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=RotateEntity)
RotateMesh (http://www.blitzbasic.com/b3ddocs/command.php?name=RotateMesh)
RotateSprite (http://www.blitzbasic.com/b3ddocs/command.php?name=RotateSprite)
RotateTexture (http://www.blitzbasic.com/b3ddocs/command.php?name=RotateTexture)
ScaleEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=ScaleEntity)
ScaleMesh (http://www.blitzbasic.com/b3ddocs/command.php?name=ScaleMesh)
ScaleSprite (http://www.blitzbasic.com/b3ddocs/command.php?name=ScaleSprite)
ScaleTexture (http://www.blitzbasic.com/b3ddocs/command.php?name=ScaleTexture)
SetAnimTime (http://www.blitzbasic.com/b3ddocs/command.php?name=SetAnimTime)
SetCubeFace (http://www.blitzbasic.com/b3ddocs/command.php?name=SetCubeFace)
SetCubeMode (http://www.blitzbasic.com/b3ddocs/command.php?name=SetCubeMode)
ShowEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=ShowEntity)
SpriteViewMode (http://www.blitzbasic.com/b3ddocs/command.php?name=SpriteViewMode)
TerrainHeight (http://www.blitzbasic.com/b3ddocs/command.php?name=TerrainHeight)
TerrainX (http://www.blitzbasic.com/b3ddocs/command.php?name=TerrainX)
TerrainY (http://www.blitzbasic.com/b3ddocs/command.php?name=TerrainY)
TerrainZ (http://www.blitzbasic.com/b3ddocs/command.php?name=TerrainZ)
TextureBlend (http://www.blitzbasic.com/b3ddocs/command.php?name=TextureBlend)
TextureCoords (http://www.blitzbasic.com/b3ddocs/command.php?name=TextureCoords)
TextureHeight (http://www.blitzbasic.com/b3ddocs/command.php?name=TextureHeight)
TextureFilter (http://www.blitzbasic.com/b3ddocs/command.php?name=TextureFilter)
TextureName (http://www.blitzbasic.com/b3ddocs/command.php?name=TextureName)
TextureWidth (http://www.blitzbasic.com/b3ddocs/command.php?name=TextureWidth)
TFormedX (http://www.blitzbasic.com/b3ddocs/command.php?name=TFormedX)
TFormedY (http://www.blitzbasic.com/b3ddocs/command.php?name=TFormedY)
TFormedZ (http://www.blitzbasic.com/b3ddocs/command.php?name=TFormedZ)
TFormNormal (http://www.blitzbasic.com/b3ddocs/command.php?name=TFormNormal)
TFormPoint (http://www.blitzbasic.com/b3ddocs/command.php?name=TFormPoint)
TFormVector (http://www.blitzbasic.com/b3ddocs/command.php?name=TFormVector)
TranslateEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=TranslateEntity)
TriangleVertex (http://www.blitzbasic.com/b3ddocs/command.php?name=TriangleVertex)
TurnEntity (http://www.blitzbasic.com/b3ddocs/command.php?name=TurnEntity)
UpdateNormals (http://www.blitzbasic.com/b3ddocs/command.php?name=UpdateNormals)
UpdateWorld (http://www.blitzbasic.com/b3ddocs/command.php?name=UpdateWorld)
VectorPitch (http://www.blitzbasic.com/b3ddocs/command.php?name=VectorPitch)
VectorYaw (http://www.blitzbasic.com/b3ddocs/command.php?name=VectorYaw)
VertexAlpha (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexAlpha)
VertexBlue (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexBlue)
VertexColor (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexColor)
VertexCoords (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexCoords)
VertexGreen (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexGreen)
VertexNormal (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexNormal)
VertexNX (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexNX)
VertexNY (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexNY)
VertexNZ (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexNZ)
VertexRed (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexRed)
VertexTexCoords (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexTexCoords)
VertexU (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexU)
VertexV (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexV)
VertexW (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexW)
VertexX (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexX)
VertexY (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexY)
VertexZ (http://www.blitzbasic.com/b3ddocs/command.php?name=VertexZ)
Wireframe (http://www.blitzbasic.com/b3ddocs/command.php?name=Wireframe)

Wouldn't fit in one post!  :S
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: Schranz0r on 2011-Sep-30
OPENB3D ????

WTF?!
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: bigsofty on 2011-Sep-30
Its really a conversion of iMiniB3D (see http://www.freebasic.net/forum/viewtopic.php?t=15409&start=0). Its not the full Blitz3D engine (BSPs for example are noticeably missing :() but 90% of it is in there and working.
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: ampos on 2011-Sep-30
Is this only for Win or any GLB target?
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: Marmor on 2011-Sep-30
 :nw: :nw: :nw: :nw: :nw: :nw: :nw: :nw: :nw: :nw: :nw: :nw: :nw: :nw: :-* :D
you are a mad dog  :good:
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: bigsofty on 2011-Oct-01
Thanks Marmor, I think! :P

Ampos, it ready for Windows and Linux(untested), it 'should' work, with some very small modifications, almost anywhere as its pretty platform neutral code.
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: Schranz0r on 2011-Oct-02
I like the mix between GLB and B3D !

Awesome work!
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: bigsofty on 2011-Oct-02
Thank you. Has one one tried a Linux build yet?
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: Marmor on 2011-Oct-02
no linux here .
we need ios android and webos !
who can ....
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: blackway on 2011-Oct-02
bigsofty, thank you very much for your work ! :good:
It's great!!!
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: bigsofty on 2011-Oct-03
Glad you like it Blackway!   :)
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: mentalthink on 2011-Oct-03
Big Softy, it´s really impresive. I take a look a another 3d engine, make for Blender, I think it´s called game Kit, it´s are in Google, and Use the Irricht or another engine(don´t remenber the name), it´s free and can use on iPhone, and now I look a developement about Android, the quality it´s very good.

I think this can be a good option, but well it´s a lot of work.

But the wrapper it´s awesoming, I hope this can use in mobile devices, if not, well for make PC games can be vey, vey usefulll, thanks Bigsofty.
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: bigsofty on 2011-Oct-04
Your very welcome Mentalthink.

I hope to start to try and get it going on iPhone as soon a Trucidare and Gernot release the Win32 iOS compile feature(I have no dev account at the moment), Android will hopefully follow after.
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: mentalthink on 2011-Oct-05
 :nw: :nw:

Ok Bigsofty, this can be absolutly awesome, I stay hallucinated the thing that made the Masters of GLbasic.
Simply impressible, and admirable yours knoledges. :nw: :nw:
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: mentalthink on 2012-Feb-17
Any news about this awesome lib?¿...
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: bigsofty on 2012-Feb-18
Sorry nothing substantial to report. I am hoping to try and get something up and running on iOS, if the Windows iOS compiler is made available though.
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: Ian Price on 2012-Feb-18
Excuse my ignorance, but what really is the benefit of having Blitz3D available to GLB? Is there something that B3D does/does better than GLB natively? I used to use B3D and there's nothing I miss from that that isn't available to me within GLB and in a more stable form (I remember MAVs, sound issues etc.).
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: bigsofty on 2012-Feb-18
This isn't really B3D, it's loosely based on iMiniB3D, even then it's got extra features that IMiniB3D does not have.

Basically it's a very easy to use 3D engine based on the B3D command set. I would say easier than GLB and in certain situations, more powerful. It is fully quaternion based, so no gimbal lock. It's entity based with full parent child locking. Theres a LOD (ROAM) landscape object... there's lots of little features in the command set. It's pretty well integrated into GLB, so sound, 2D, fonts etc. are all available too.

The real benefit, to me at least, is that it is open source, so if you want to mess about with something you can.  :)
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: Ian Price on 2012-Feb-18
Ah, OK. Sounds pretty good :)
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: mentalthink on 2012-Feb-19
Ok, Bigsofty, don´t care... If I don´t rebenber bad I found a 3D engine for blender... working in IOS and now I´m not sure... but I think in Android... it´s a open source project... and perhaps can be more powerfull than this... . Another point if this can be possible to port to GLBasic, but perhaps it´s a titanic Job... sorry, but how I always say... I don´t know too much about programming...

http://code.google.com/p/gamekit/
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: erico on 2012-Feb-19
blender 3d libs would sure rock! :good:
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: bigsofty on 2012-Feb-20
Quote from: mentalthink on 2012-Feb-19
Ok, Bigsofty, don´t care... If I don´t rebenber bad I found a 3D engine for blender... working in IOS and now I´m not sure... but I think in Android... it´s a open source project... and perhaps can be more powerfull than this... . Another point if this can be possible to port to GLBasic, but perhaps it´s a titanic Job... sorry, but how I always say... I don´t know too much about programming...

http://code.google.com/p/gamekit/

Gamekit looks very good, I am continuously impressed by the programming talent that exists within the Blender project.
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: mentalthink on 2012-Feb-22
Yes, Blender it´s awesoming tool, some Proffesional teachers in Barcelona, speak about it, it´s too much better than in example 3DS MAX... the people make things, that a 6000€ software can´t be do...

I told about the library, becuase I don´t have any idea to make a wrapper, I think this will be a huge work... but perhaps it´s something to take account... have this engine render in Glbasic can be awesome, and well I suppose when launchung devices whit the Open Source OS of WEbos, will be implemented in this devices... or not...

How I told you only it´s for advice... I suppose it´s a very hard work, take all the info and make runs ok in Glbasic, in the case can be do it...

Thanks in advance for your answer...
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: bigsofty on 2012-Feb-22
I had a look at the library but I don't think it's feasible for me to write a wrapper for GLB and gamekit, it's not just one library it's a collection of libraries, Bullet, Ogre, LUA etc. Too much for a single programmer I am afraid.
Title: Re: OpenB3D - Blitz3D for GLBasic
Post by: mentalthink on 2012-Feb-23
Don´t Care Bigsofty... I think this it´s a huge work... if I know something about C++, I was like help, but I don´t arrives to this level...

Don´t care... and well whit the default Glbasic 3D engine, can be do a lot of thing... but I always comment about Shaders... simple like specular brilltnest... the physics are important, but whit 2D Box, can make in a simple manner a fake 3D from 2D world... and don´t looks bad...