[gameprogrammer] Re: World's first (?) 3d engine inside a browser
- From: "Triston O'Connor" <triston.oconnor@xxxxxxxxx>
- To: <gameprogrammer@xxxxxxxxxxxxx>
- Date: Tue, 16 Aug 2005 08:20:53 +1000
Thanks, I figured so much, I guess I just have to dust off my C++ skills :)
> -----Original Message-----
> From: gameprogrammer-bounce@xxxxxxxxxxxxx [mailto:gameprogrammer-
> bounce@xxxxxxxxxxxxx] On Behalf Of Kevin Jenkins
> Sent: Tuesday, 16 August 2005 2:39 AM
> To: gameprogrammer@xxxxxxxxxxxxx
> Subject: [gameprogrammer] Re: World's first (?) 3d engine inside a browser
>
> I'm not giving out the source since it's going to be a commercial game,
> but I'll tell you how I did it. You can create an MFC Active X control
> and use the regular drawing routines to output to a window. The problem
> is you cannot have any file dependencies, so you have to embed your data
> inside the control in a custom pak format. For Firefox, you need the
> plugin SDK. Here, you cannot embed anything but you could have
> dependencies if you had an installer. I opted to download the pak file
> specified by the SRC tag in the html. In both cases I then call a
> thread and pass it the necessary startup data, including the window
> handle. The thread is actually what runs the game.
>
> The hardest difficulty was doing everything with no DLL dependencies or
> local files other than what the user would or should already have.
>
> Triston O'Connor wrote:
> > Did you use ATL or MFC?
> >
> > I'd be interested in seeing the source. I've never written a plugin
> before
> > so not sure how to call the usual init, update, render, cleanup
> functions I
> > have in my engine.
> >
> > Very nice the way it works in FF too btw.
>
>
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- References:
- [gameprogrammer] Re: World's first (?) 3d engine inside a browser
- From: Kevin Jenkins
Other related posts:
- » [gameprogrammer] World's first (?) 3d engine inside a browser
- » [gameprogrammer] Re: World's first (?) 3d engine inside a browser
- » [gameprogrammer] Re: World's first (?) 3d engine inside a browser
- » [gameprogrammer] Re: World's first (?) 3d engine inside a browser
- » [gameprogrammer] Re: World's first (?) 3d engine inside a browser
- » [gameprogrammer] Re: World's first (?) 3d engine inside a browser
- » [gameprogrammer] Re: World's first (?) 3d engine inside a browser
- » [gameprogrammer] Re: World's first (?) 3d engine inside a browser
- [gameprogrammer] Re: World's first (?) 3d engine inside a browser
- From: Kevin Jenkins