BlitzMax and 3D

BlitzMax Forums/BlitzMax Beginners Area/BlitzMax and 3D

Takis76(Posted 2013) [#1]
Hello,

I would like to ask, if BlitzMax is capable to create 3D, load 3D models, which model formats are supported, create 3D objects and do anything about 3D, cameras, translation, 3D Particles , collisions and all 3D stuff.

I am not speaking about Blitz3D I am speaking about BlitzMax only.

Also is there any nice library which do this?

Thank you :)


dynaman(Posted 2013) [#2]
First off check this thread.

http://www.blitzbasic.com/Community/posts.php?topic=72893

Max by itself does not do 3D, you will need one of the modules listed (many of which are now dead, I would suggest looking at minib3d first). I would also suggest rooting through the minib3d board for more information on using it.

Each 3D module does things differently so you will need to play aroud with each to see if any do what you need.


Hardcoal(Posted 2013) [#3]
Yes you can do 3D and i recommand blitzmax above all other options here.
By using command import you can add a library (module)
So it doesnt matter at all that blitzmax is not a 3d language in its core.
First option is minib3d as dynaman said.

I personly love xors3d because its also include physics
And all the commands are similar to blitz3d.
But! Its development has seezd and ppl say its buggy.

Bottom line if you know blitz3d minib3d is a good start.


Takis76(Posted 2013) [#4]
Thank you very much for your very quick answer.
I tried MiniB3D and compiled correctly.
where do I will find some documentation?

I tried some commands from tutorials and I would like to ask, is it possible to have 2D and 3D commands?

When I am using Graphics3D all 2D disappears.
I tried to create one camera and one rectangle, but I wasn't able to draw 2D when I put RenderWorld command.

Is it possible to have 2D and 3D simultaneously?

Thank you :)


Hardcoal(Posted 2013) [#5]
when you turn on minib3d you must only use blitz3d
commands.
all the blitzmax commands for graphics are gone.

so use blitz3d manual in order to get 2d commands

thats the price

at least thats as far as i know.


Kryzon(Posted 2013) [#6]
MiniB3D sets up the "3D mode" of OpenGL to draw 3D objects, so using Max2D's commands directly won't work.
That's why it comes with a BeginMax2D() and EndMax2D() functions so you can encapsulate your Max2D code for drawing and handling 2D graphics.


Takis76(Posted 2013) [#7]
This BeginMax2D() and EndMax2D() helps a little allows me to draw 2D and have images or sprites with 3D environment simultaneously.

Thank you very very much, now I am one step further to build and the 3D version of my engine or create a 3D game in the future. (But is very early yet).