ogre look great on browser https://github.com/joeyview/ogre/wiki/document
unfortunately, this is only a demo and is unoptimized/buggy/unsupported/works only on chrome 33....only ogre 1.9....
so i've seen that ogre 1.10 and 2.0 have an official emscripten backend...( replaced flashcc backend...did that ever work??? )
does anybody know if it's usable?
can be nice if someone can direct me on how to build and link it to a some c++ code...
edit: ok,now i understand that i need to use emcmake( correct me if i'm wrong... ) to build ogre...
Status of emscripten backend?
-
- Orc Shaman
- Posts: 737
- Joined: Fri May 31, 2013 2:28 am
- x 65
Status of emscripten backend?
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..
coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..
coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
- Wolfmanfx
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
- Contact:
Re: status of emscripten backend???
Yes emscripten is working fully and the code is pushed into 1.10 - build docs are missing and the sample is not pushed.
-
- Orc Shaman
- Posts: 737
- Joined: Fri May 31, 2013 2:28 am
- x 65
Re: status of emscripten backend???
thanks man, good to know - now i have a reason to move to 1.10...and a new toy to mess with...
appriciate your work...thanks again...
appriciate your work...thanks again...
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..
coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..
coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
-
- Gnoblar
- Posts: 6
- Joined: Mon Sep 10, 2012 8:38 pm
- x 1
Re: status of emscripten backend???
Wolfmanfx, thx for you efforts! You rock....!
Edit: Just for info,WindowEventUtilities doesn't notify its listeners about WindowResize...! Not that important,yet! More Important, it really does work! Yeah,yeah,yeah
Edit2: Here, my first test with my engine (and also a very 'personal' birthday-present ) http://thomas.trocha.com/misc/boris/release.html
Edit: Just for info,WindowEventUtilities doesn't notify its listeners about WindowResize...! Not that important,yet! More Important, it really does work! Yeah,yeah,yeah
Edit2: Here, my first test with my engine (and also a very 'personal' birthday-present ) http://thomas.trocha.com/misc/boris/release.html
- Mind Calamity
- Ogre Magi
- Posts: 1255
- Joined: Sat Dec 25, 2010 2:55 pm
- Location: Macedonia
- x 81
Re: status of emscripten backend???
Welp, happy birthday, Boris!
How did you compile that though ? I found the code in OgreMain/Emscripten, but I didn't see a CMake option to enable it.
How did you compile that though ? I found the code in OgreMain/Emscripten, but I didn't see a CMake option to enable it.
BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
-
- Orc Shaman
- Posts: 737
- Joined: Fri May 31, 2013 2:28 am
- x 65
Re: status of emscripten backend???
you need to use the emscripten cmake tool chain file...only then the emscripten option will show up...( in cmake options )How did you compile that though ? I found the code in OgreMain/Emscripten, but I didn't see a CMake option to enable it.
instructions on windows with msvc:( only msvc10 is supported by emscripten )
after installing the off-line emscripten full version and updating the sdk to 1.27 using instructions on emscripten.org....
dropped "opgredeps" to ogreSDK folder...
at configure i used msvc10 target compiler with the emscripten.cmake tool chain file...( located at /emscripten/1.2X/cmake ... )
then disabled build samples, enabled unity builds.....hit configue twice...generate... nmake...nmake install..
Last edited by frostbyte on Tue Jan 13, 2015 7:57 am, edited 3 times in total.
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..
coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..
coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
-
- Orc Shaman
- Posts: 737
- Joined: Fri May 31, 2013 2:28 am
- x 65
Re: status of emscripten backend???
Wolfmanfx : your prebuild ogre version doesn't link with demo project on the "downloaded emscripten installer" version....
i guess you used 1.28 sdk to build ogre while "downloaded sdk" is still at 1.27...
maybe its better to compile prebuild ogre against sdk 1.25/1.27( or just wait for kripken's to update... )
most people would probably prefer using the installer(sdk1.27) rather then building emscripten from source(sdk1.28)...
thanks man...ogreJS for sure made some people happy
i guess you used 1.28 sdk to build ogre while "downloaded sdk" is still at 1.27...
maybe its better to compile prebuild ogre against sdk 1.25/1.27( or just wait for kripken's to update... )
most people would probably prefer using the installer(sdk1.27) rather then building emscripten from source(sdk1.28)...
thanks man...ogreJS for sure made some people happy
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..
coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..
coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
- Wolfmanfx
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
- Contact:
Re: status of emscripten backend???
Hi,
yes I have build against 1.28 (atm 1.29.1 is the latest) - I would say its really easy to build the emscripten source
I have no plans to build against the older version.
yes I have build against 1.28 (atm 1.29.1 is the latest) - I would say its really easy to build the emscripten source
I have no plans to build against the older version.
-
- Orc Shaman
- Posts: 737
- Joined: Fri May 31, 2013 2:28 am
- x 65
Re: status of emscripten backend???
sorry my bad...
it seems "./emsdk install latest"," and "./emsdk activate latest"... actualy installs the latest stable branch sdk( currently 1.27 )
to work with prebuild ogre, one should use "/emsdk install sdk-incoming-64bit" and "./emsdk activate sdk-incoming-64bit" for latest development branch
as stated here... http://kripken.github.io/emscripten-sit ... e_sdk.html
party on...
it seems "./emsdk install latest"," and "./emsdk activate latest"... actualy installs the latest stable branch sdk( currently 1.27 )
to work with prebuild ogre, one should use "/emsdk install sdk-incoming-64bit" and "./emsdk activate sdk-incoming-64bit" for latest development branch
as stated here... http://kripken.github.io/emscripten-sit ... e_sdk.html
party on...
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..
coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..
coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos