Ambiera ForumDiscussions, Help and Support. |
|
[ 1 2 ] Page 1 of 2 |
|
|||||
|
running through hello world, startCopperLichtFromFile can't find the ccbjs -- it's in both copperlichtdata and (manually copied to) the dir with the test .html. tried prepending ./ to the path: <script type="text/javascript"> <!-- startCopperLichtFromFile('3darea', './copperlichtdata/solarTest.ccbjs'); --> </script> and still doesn't see it when test publishing through coppercube. . would troubleshoot copperlicht.js but it's minified. any ideas? |
||||
|
Usually, you don't need / or ./ at the beginning. What operating system and browser are you using? |
||||
|
win7 32, seems to be a problem with the chromium nightly build (apr10) -- firefox/minefield nightly does find and load, but everything's black. checked out your demos, quake loads on both chrome and minefield, but it's black with grey terrain, no textures. most other webGL demos around the net seem to work OK (a few haven't), so I'm not sure what the hangup is. any recommended alpha browser versions that should work with copperlicht? |
||||
|
aside from chrome not finding the ccbjs, it may be a driver issue on my end: http://learningwebgl.com/blog/?p=1569 once I'm updated I'll report back. |
||||
|
driver update sorted textures. chromium still doesn't find the ccbjs though. |
||||
|
The latest build of Chromium changed the security policy. It doesn't allow loading local files anymore. the bug entry for Chromium for this is http://code.google.com/p/chromiu..., blog entry: http://blog.chromium.org/2008/12..., looks like lots of developers now suffer from this. You can disable this by adding the parameter --allow-file-access-from-fileswhen starting chrome |
||||
|
I can't get local files to work either. When starting Chrome I added '--enable-webgl' and '--allow-file-access-from-files' but this still doesn't fix the problem. I know the 'enable-webgl' parameter is working because I'm able to load the WebGL demos, but when I load my project it errors out on the .ccbj file. |
||||
|
The --allow-file-access-to-files is working now (don't ask me why), however all I'm getting now is a black box. The panoramic worked fine in all other export settings. Any help here? Thanks! |
||||
|
So what is the exact error message you get then? |
||||
|
I'm not getting any error messages. The project appears to be running fine, except that my .jpg files are not loading to build the panorama. I get a black box instead. Maybe these .jpg files need to be .png files? |
||||
|
I'm not getting any error messages. The project appears to be running fine, except that my .jpg files are not loading to build the panorama. I get a black box instead. Maybe these .jpg files need to be .png files? |
||||
|
This is working now, but I'm having an issue with the skyBox. When I add my own textures the screen is black, but the default skyBox works fine. I'll try and find a different post for this. |
||||
|
Solved. My textures were too large. Maybe there is a maximum size? |
||||
|
Interesting. Maybe there is, but I haven't heard of this before. How big was your texture? |
||||
|
It appears your textures need to be either 64x64, 128x128, 256x256, 512x512, and 1024x1024. My original textures were 584x584 and they would not render, but when I dropped them down to 512x512 they rendered fine. |
[ 1 2 ] Page 1 of 2 |
|