Skip to content

Some examples not working for me #498

Closed
ghost opened this Issue Sep 5, 2011 · 16 comments

3 participants

@ghost
ghost commented Sep 5, 2011

I suspect that I should be on a git branch or a git tag to run the three.js examples successfully.
Thanks!

@mrdoob
Owner
mrdoob commented Sep 5, 2011

which ones?

@ghost
ghost commented Sep 5, 2011

None of the car example are working for me.

@jsermeno
jsermeno commented Sep 5, 2011

In chrome you'll probably need the --allow-file-access-from-files flag to run those demos.

@ghost
ghost commented Sep 5, 2011
@jsermeno
jsermeno commented Sep 5, 2011

In Windows you can right click your desktop icon. Select properties. Then add it at the end of the target field. In Mac OS X you can run the application from the terminal.

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --allow-file-access-from-files --enable-webgl --ignore-gpu-blacklist %U

On Ubuntu you can right click your desktop icon. Select properties. Then add it at the end of the command field. Or you can just do the terminal thing.

@ghost
ghost commented Sep 5, 2011

Still not working.

@jsermeno
jsermeno commented Sep 5, 2011

Hm, not sure. I have the latest version of the source running on Mac OS X Chrome 13.0.782.220. I started chrome from the terminal using the command above. These files worked for me.

webgl_materials_cars_anaglyph.html
webgl_materials_cars_camaro_crosseyed.html
webgl_materials_cars_camaro.html
webgl_materials_cars.html

Do other WebGL related demos work?

Something like webgl_collisions_mesh.html should work without any flags.

@gengshenghong

Hi

It seems some of the "webgl_xxx" demos also cannot work on my machine, win7 with chrome browser.

Follow examples can work with the flag "--allow-file-access-from-files", :)
webgl_particles_billboards.html
webgl_particles_billboards_colors.html
...
Many demos need this flag to run. But the following example still cannot run, :(
webgl_panorama_equirectangular.html
I use the online url "http://mrdoob.github.com/three.js/examples/webgl_panorama_equirectangular.html" and still cannot run. It is a black screen.

Thanks,
Shenghong

@ghost
ghost commented Sep 5, 2011
@ghost
ghost commented Sep 5, 2011
@mrdoob
Owner
mrdoob commented Sep 5, 2011

@akatebi: So this one doesn't work? http://mrdoob.github.com/three.js/examples/webgl_materials_cars.html

What graphics card do you have? And, considering you're on Ubuntu, which driver are you using?

@gengshenghong: What graphics card do you have?

@ghost
ghost commented Sep 5, 2011
@mrdoob
Owner
mrdoob commented Sep 5, 2011

Well, this is more a browser issue rather than three.js then... if the online examples work but they do not locally, then it's definitely a browser issue or a missing flag.

Make sure you're always using the chrome you launched with the flag though. It may be that you're closing the browser and then clicking on an example that launches Chrome but without the flag.

@mrdoob mrdoob closed this Sep 5, 2011
@ghost
ghost commented Sep 5, 2011
@gengshenghong

@mrdoob

This is part of my graphics information, I think it is not the flag issue for me since all other examples can work well both with online or local URLs. But the "webgl_panorama_equirectangular.html" will display a black screen with online and local url. Is there any special requirement for this demo?

---------------
Display Devices
---------------
          Card name: Intel(R) HD Graphics
       Manufacturer: Intel Corporation
          Chip type: Intel(R) HD Graphics (Core i5)
           DAC type: Internal
         Device Key: Enum\PCI\VEN_8086&DEV_0046&SUBSYS_172A103C&REV_02
     Display Memory: 1696 MB
   Dedicated Memory: 64 MB
      Shared Memory: 1632 MB
       Current Mode: 1366 x 768 (32 bit) (60Hz)
       Monitor Name: Generic PnP Monitor
      Monitor Model: unknown
         Monitor Id: LGD0212
        Native Mode: 1366 x 768(p) (60.021Hz)
        Output Type: Internal
        Driver Name: igdumd64.dll,igd10umd64.dll,igdumdx32,igd10umd32
Driver File Version: 8.15.0010.2279 (English)
...
@mrdoob
Owner
mrdoob commented Sep 6, 2011

It uses a 5000x2500 image. Maybe your gfx card can't handle this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.