Ogre3D in a browser

00000000000000000000000000000000
0
Anonymous Oct 19, 2009 at 14:00

09-10-19.jpg

Description
This is a screenshot taken from a new project that aims to embed Ogre 3D into a web browser. There are a number of live demos which you can view here, and you can read about the process of embedding Ogre3D into a browser here.

9 Replies

Please log in or register to post a reply.

Fd80f81596aa1cf809ceb1c2077e190b
0
rouncer 104 Oct 21, 2009 at 04:14

Id imagine if you were making an mmo, having it web based would be a good way to do it… and ogre3d is direct x isnt it?

4c0437df13368402945e12271b96a271
0
phyxx 101 Oct 21, 2009 at 06:53

Ogre supports both DirectX and OpenGL. The online demos use the OpenGL renderer.

Fd80f81596aa1cf809ceb1c2077e190b
0
rouncer 104 Oct 23, 2009 at 07:48

The only thing I dont get about web based applications is when do they choose to upload, every instantiantion of the program, or is it kept cached??

Cause youd like to keep your upload/download minimal.

And just uploading code is one thing, what do you do for the media? It loads all up once at the start?

36b416ed76cbaff49c8f6b7511458883
0
poita 101 Oct 25, 2009 at 08:44

It will be cached rouncer, both code and media, just like flash games are.

Fd80f81596aa1cf809ceb1c2077e190b
0
rouncer 104 Oct 26, 2009 at 12:01

So theres definitely no downloading during the game, just needed to get my head around that.

91d6e15ccfb6dfd192ab795477434157
0
CodeKrash 101 Jul 05, 2010 at 06:59

I can appreciate this.

I realize this is a stale thread but theres NO REALLY anything to get ur head around. It is a fundamental argument about the transfer of data.

36b416ed76cbaff49c8f6b7511458883
0
poita 101 Jul 05, 2010 at 07:07

@rouncer

So theres definitely no downloading during the game, just needed to get my head around that.

No downloading at all.

The way Unity does it is that you download the Unity player (a one off install, just like the Flash player). Then, to play a game, it downloads a .unity3d file, which contains the whole game. Once that’s downloaded once, it will be cached for future use. Of course, if you upload a new version then people will need to update, but there’s nothing you can do about that.

Unity can also be set up to stream different levels as you need them, so there could be downloading during the game, but only if you want to. I have no idea how caching works in that case.

91d6e15ccfb6dfd192ab795477434157
0
CodeKrash 101 Jul 05, 2010 at 07:21

@poita

No downloading at all.

The way Unity does it is that you download the Unity player (a one off install, just like the Flash player). Then, to play a game, it downloads a .unity3d file, which contains the whole game. Once that’s downloaded once, it will be cached for future use. Of course, if you upload a new version then people will need to update, but there’s nothing you can do about that.

Unity can also be set up to stream different levels as you need them, so there could be downloading during the game, but only if you want to. I have no idea how caching works in that case.

describe the different levels in unity

i am working on a similar tiered data transfer system

36b416ed76cbaff49c8f6b7511458883
0
poita 101 Jul 05, 2010 at 17:40

By “levels” I mean game levels, i.e. scenes, worlds, whatever you want to call them :)