3D embedding using HTML5 canvas tag
- luis
- Greenskin
- Posts: 122
- Joined: Tue Mar 02, 2004 3:33 pm
- Location: Spain / Argentina
- x 7
- Contact:
3D embedding using HTML5 canvas tag
I'm not sure if it is possible, but would we nice to use Ogre in a browser without having to install plugins on client's machine.
I think if you can plug an Ogre app in a web page directly would be really nice. Since Ogre is cross platform has a nice license (MIT/and LPGL with static linking before), official port to IPhone, an "official" support for web on HTML5 would let you create deploys for multiple platforms very easely.
Web support could is a nice feature to convince bosses out there to use Ogre in commercial games/aplications. Specially now that many people is talking about the numbers (in $$) of facebook games (i.e. farmville).
I think if you can plug an Ogre app in a web page directly would be really nice. Since Ogre is cross platform has a nice license (MIT/and LPGL with static linking before), official port to IPhone, an "official" support for web on HTML5 would let you create deploys for multiple platforms very easely.
Web support could is a nice feature to convince bosses out there to use Ogre in commercial games/aplications. Specially now that many people is talking about the numbers (in $$) of facebook games (i.e. farmville).
- Wolfmanfx
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
- Contact:
Re: 3D embedding using HTML5 canvas tag
WebGL is not a feature is a javascript rewrite.
-
- Kobold
- Posts: 33
- Joined: Tue Mar 09, 2010 2:17 am
Re: 3D embedding using HTML5 canvas tag
I would be interested too in 3D embedding using HTML5.
What is the actual state of it? Meaning is it now possible to render an OGRE app on a browser?
What is the actual state of it? Meaning is it now possible to render an OGRE app on a browser?
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: 3D embedding using HTML5 canvas tag
What?
Ogre is already rendering in browsers - using various techniques.
Ogre is already rendering in browsers - using various techniques.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
-
- Kobold
- Posts: 33
- Joined: Tue Mar 09, 2010 2:17 am
Re: 3D embedding using HTML5 canvas tag
Well nice to know
I found out this one http://www.brighthub.com/hubfolio/matth ... 52773.aspx but it's based on Ogre4J.
Are there any other solutions for the normal c/c++ Ogre version available?
I found out this one http://www.brighthub.com/hubfolio/matth ... 52773.aspx but it's based on Ogre4J.
Are there any other solutions for the normal c/c++ Ogre version available?
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: 3D embedding using HTML5 canvas tag
OpenSpace3D:
http://www.openspace3d.com/
http://www.ogre3d.org/forums/viewtopic. ... 9&p=376330
Otakhi platform:
http://www.ogre3d.org/forums/viewtopic. ... 3&p=374927
NeoAxis:
http://www.ogre3d.org/forums/viewtopic. ... 3&p=366357
http://www.openspace3d.com/
http://www.ogre3d.org/forums/viewtopic. ... 9&p=376330
Otakhi platform:
http://www.ogre3d.org/forums/viewtopic. ... 3&p=374927
NeoAxis:
http://www.ogre3d.org/forums/viewtopic. ... 3&p=366357
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
-
- Kobold
- Posts: 33
- Joined: Tue Mar 09, 2010 2:17 am
Re: 3D embedding using HTML5 canvas tag
Thanks I'm having a look, but what I was actually asking was simply to render the output of an ogre application in a Mozilla/IE/Chrome browser.
These tools you linked seems more to use their own platforms or am I wrong?
These tools you linked seems more to use their own platforms or am I wrong?
- Matheus Martino
- Gremlin
- Posts: 164
- Joined: Mon Sep 07, 2009 10:44 pm
- Location: Brazil
- Contact:
Re: 3D embedding using HTML5 canvas tag
All of then need you to install some type of runtime environment (same as directx, java and others).
You can't render 3d in a web browser with just HTML code, so you need some type of runtime environment for it.
I think that you is asking to the ogre tean to add web browser rendering in the free open source release right?
You can't render 3d in a web browser with just HTML code, so you need some type of runtime environment for it.
I think that you is asking to the ogre tean to add web browser rendering in the free open source release right?
Excuse me if my english fail!
- AWM Mars
- Halfling
- Posts: 56
- Joined: Mon Apr 19, 2010 9:28 pm
- Location: Wiltshire, England
- x 1
- Contact:
Re: 3D embedding using HTML5 canvas tag
It that is what is being asked, I am also interested in this feature.
Hopefully, this will include the use of physics, javascript linking, network/multiplayer environments (albeit connecting to a collaboration server for chat/voip etc).
There is a environment that is native to the vast majority of computing platforms, including mobile devices, that is being adpated to include Virtual Environment capabilities. It uses established streaming protocols, so the main adaptation is making this streaming ability 2 way. MPEG is behind this format, everyone is familiar with mp3 and mp4 formats (wrapper and codec), keep your eyes and ears peeled for events taking place this year and next.
Hopefully, this will include the use of physics, javascript linking, network/multiplayer environments (albeit connecting to a collaboration server for chat/voip etc).
There is a environment that is native to the vast majority of computing platforms, including mobile devices, that is being adpated to include Virtual Environment capabilities. It uses established streaming protocols, so the main adaptation is making this streaming ability 2 way. MPEG is behind this format, everyone is familiar with mp3 and mp4 formats (wrapper and codec), keep your eyes and ears peeled for events taking place this year and next.
Politeness is priceless when recieved, cost nothing to own or give, yet some cannot afford.
-
- Kobold
- Posts: 33
- Joined: Tue Mar 09, 2010 2:17 am
Re: 3D embedding using HTML5 canvas tag
Yes basically what I ask to the ogre team is to add web browser embedding feature, maybe exploiting the HTML5 canvas features.
And I wanted to know whether there was already any available method online, but as far as I understood the only one is using Ogre4J while the other links posted before by jacmoe are more independent platforms.
And I wanted to know whether there was already any available method online, but as far as I understood the only one is using Ogre4J while the other links posted before by jacmoe are more independent platforms.
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: 3D embedding using HTML5 canvas tag
Since WebGL is based on OpenGL ES 2.0 specs, I can't see why not?
I have no idea how well Ogre supports es2, but it might be worth a shot.
I have no idea how well Ogre supports es2, but it might be worth a shot.
WebGL is based on OpenGL ES 2.0 and provides a programmatic interface for 3D graphics. It uses the HTML5 canvas element and is accessed using Document Object Model interfaces. Automatic memory management is provided as part of the JavaScript language.[1]
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- madmarx
- OGRE Expert User
- Posts: 1671
- Joined: Mon Jan 21, 2008 10:26 pm
- x 50
Re: 3D embedding using HTML5 canvas tag
I don't get the point. Ogre is written in C++.
As far as I know, Browsers execute (without plugins) javascript. Not C++. Even if you use DOM in webGL, you are still using javascript.
So I don't see at all where is the brigde / connection point ... I hope this is not a proposition to rewrite entirely the whole Ogre3D library in javascript?
As far as I know, Browsers execute (without plugins) javascript. Not C++. Even if you use DOM in webGL, you are still using javascript.
So I don't see at all where is the brigde / connection point ... I hope this is not a proposition to rewrite entirely the whole Ogre3D library in javascript?
Tutorials + Ogre searchable API + more for Ogre1.7 : http://sourceforge.net/projects/so3dtools/
Corresponding thread : http://www.ogre3d.org/forums/viewtopic. ... 93&start=0
Corresponding thread : http://www.ogre3d.org/forums/viewtopic. ... 93&start=0
- Wolfmanfx
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
- Contact:
Re: 3D embedding using HTML5 canvas tag
A better approach would to port Ogre to nacl (google native client plugin). Unity already ported to nacl