Does MiniB3D can work in HTML5Monkey Forums/Monkey Beginners/Does MiniB3D can work in HTML5
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 : http://www.monkey-x.com/Community/posts.php?topic=8691
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.
| Searching in the forum i found an "Import gametarget". I am going to try it. |
| 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 :
#If Not BRL_OS_IMPLEMENTED
' #Error "Native OS Module not implemented"
Can somebody help ?
| 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. |
| No more result...|
| so your PC can run webgl? |
| You can check this using get.webgl.org |
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...
| 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 (https://code.google.com/p/jsc3d/), but if you really want to do 3D on a web browser, I recommend sticking with WebGL. Much less pain involved. |
| 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.
| That's interesting. Chrome is OK, but for IE 11 get.webgl.org 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.