Does MiniB3D can work in HTML5

Monkey Forums/Monkey Beginners/Does MiniB3D can work in HTML5

golomp(Posted 2014) [#1]

I would like to use MiniB3D with HTML5.

I have extracted the library, copy it in Monkey's modules directory and rename it minib3d.

When i try to run for example animation_test i encounter the error :
"Native OS Module not implemented."

In the source code i watch it seems to work only with TARGET="stdcpp" or TARGET="glfw".

But when i read this post :
I read there is an html5 release. Effectively in historic it's mentionned :
"v0.30 - new targets, Html5, XNA, opengl2.0, GPU shaders".

Can somebody tell how to try examples in html5 ?

Do i need something else than the main archive ?
I am lost.

Thank you

golomp(Posted 2014) [#2]
Searching in the forum i found an "Import gametarget". I am going to try it.

golomp(Posted 2014) [#3]
Well, it compile but the error i have now is :
"Monkey Runtime Error : Can't create WebGL"
For information in os.monkey i made this modification :
' #Error "Native OS Module not implemented"
Import gametarget
Can somebody help ?

golomp(Posted 2014) [#4]
Finally i cancelled my modification. I found a post where it said the modification have to be done in monkeyutility.monkey a file in minib3d directory. I have no more the error but it does nothing. Grey screen... I am going to try to delete my build folder.

golomp(Posted 2014) [#5]
No more result...


slenkar(Posted 2014) [#6]
so your PC can run webgl?

skape(Posted 2014) [#7]
You can check this using

golomp(Posted 2014) [#8]

Thank you ! The website said my PC can't use webgl...

I tought MiniB3D was using a 3D->2D projection...

Well, i think i am going to work on 3D/2D matrix conversions this week...

Hopefully i like mathematics...


AdamRedwoods(Posted 2014) [#9]
If you can't use WebGL, you're going to have a terrific time creating a software renderer. You could find one already built on-line somewhere (, but if you really want to do 3D on a web browser, I recommend sticking with WebGL. Much less pain involved.

skid(Posted 2014) [#10]
If your computer doesn't support webgl you need to turn it off and replace it with another computer.

On Windows, even IE supports webgl these days.

Floyd(Posted 2014) [#11]
That's interesting. Chrome is OK, but for IE 11 says:

Your browser supports WebGL

However, it indicates that support is experimental; Not all WebGL functionality may be supported, and content may not run as expected.