PDA

View Full Version : chromium not working in local?



mugan
07-22-2010, 05:40 AM
Hi,
I have issues using chromium on local examples.

I downloaded the GLGE pack. Inside it I found some examples, if I try them using chromium it does not work, showing me only the html doc but no scene.

The examples work in minefield but there are other issues concerning texture loading and light (everything is permeated with a red light)

Any suggestion on what can I do to make it work?

My notebook has a nvidia 9600M GT and everything is up to date.

D.

giles
07-28-2010, 01:30 PM
Chromium has some issues with its security restrictions when loading stuff from files, in particular when using XmlHttpRequest; Minefield is a little less strict. I suspect you're hitting that problem.

I don't know whether this means that Chrome is too paranoid or Minefield too relaxed, but it does mean that if you want to use Chrome for testing your code you'll need a local web server of some kind. If you're on Windows, you might want to take a look at Xampl -- it's a lightweight installation of Apache plus related stuff, all nicely packaged for Windows. If you're on Linux, you probably already have Apache installed. If you're on the Mac... then I've no idea what your options are, but I'm sure you can find something.


Cheers,

GIles