Decisions Decisions….
Cathy Leung | 8 May, 2008 | 9:38
I decided to clean up my laptop a bit today. Too many different versions of things floating around makes it hard to tell what works with what. For now I am keeping two versions of minefield (one from way back in November and a new nightly from May 1. The older version uses the old canvas3d extentension and the newer version uses the addon that is now available from addons.mozilla.org.
I decided to go through all the examples one more time. Going over the 3 examples on Vlad’s example page, I found that the kmz viewer which also used the 1.1 context was also not working ( I had thought it was earlier but perhaps I was not looking at it with the latest extension) so its not just our stuff. I’m wondering if anyone else has had similar issues with their code.
The question I’m now faced with is this…We are planning to move the library back end to use the 2.0 context. Work into this has already begun. Our current library uses the 1.1 context and in the new addon its broken. If we fix it thats great… but that code will likely get replaced soon anyways. If we don’t fix it, the stuff we have now is basically broken. How much effort should we put into trying to fix what we have? If we do fix it, what is the benefit of it?

Have you asked Vlad for ideas?
David Humphrey | 8 May, 2008 | 12:54Have you asked Vlad for ideas?
Not yet... in the past Vlad had said that eventually
Cathy Leung | 8 May, 2008 | 12:59Not yet… in the past Vlad had said that eventually that everything will go to the 2.0 context. This might have just been sooner than I expect
I vote continuing to support OpenGL 1.1. many people
Jim Norman | 16 May, 2008 | 13:42I vote continuing to support OpenGL 1.1. many people have older video drivers (I have Nvidia 6150) which won’t work with OpenGL 2.0. That may be my problem. I made the following post in the forum a couple of days ago - apparently, that’s not being watched
When installing the latest in Minefield (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008051406 Minefield/3.0pre), I get the following:
Minefield could not install the file at
https://addons.mozilla.org/en-US/firefox/downloads/file/27635/canvas_3d__gecko_1.9_-0.1.20-fx.xpi
because: Invalid file hash (possible download corruption)
-261
Windows XP SP2, AMD Athlon 64 3800, Nvidia geForce 6150 LE with Forceware version 175.16 OpenGL Driver NVOGLENT.dll version 6.14.11.7516.
Any suggestions?
I’ve downloaded 0.2.0 and have the following in the error console:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLCanvasElement.getContext]” nsresult: “0×80004005 (NS_ERROR_FAILURE)” location: “JS frame :: http://people.mozilla.com/~vladimir/canvas3d/examples/simple/simple.html :: runTest :: line 6″ data: no]
Still stuck.
Sorry - I meant OpenGL 1.5 - is that the
Jim Norman | 16 May, 2008 | 13:49Sorry - I meant OpenGL 1.5 - is that the problem?
When downloading a nightly there are times when the nightly
Cathy Leung | 18 May, 2008 | 23:59When downloading a nightly there are times when the nightly is not in a good state and errors can occur. Try downloading minefield from May 1.
As for the addon, I did not encounter this problem when trying to download it so can’t really offer any advice.
In terms of video card support, you may want to download the opengl extension viewer from:
http://www.realtech-vr.com/glview/
to see if your vid card supports the full feature set of gl 1.5.
Currently canvas does not work on all video cards. However, from what I have read this should be changing soon.
Cathy, I've downloaded the nightly from April 28 (the one nearest
Jim Norman | 19 May, 2008 | 13:04Cathy,
I’ve downloaded the nightly from April 28 (the one nearest May 1). Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008042806 Minefield/3.0pre
I still have the problem downloading the addon. The opengl viewer shows full support through OpenGL 2.1.
Is there any information I can get to aid in debugging this issue?
Thank you for your assistance,
Jim Norman
I've also tried with 3.0 RC1 (Mozilla/5.0 (Windows; U; Windows
Jim Norman | 19 May, 2008 | 13:48I’ve also tried with 3.0 RC1 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008051206 Firefox/3.0) with no joy. It always gives the error when installing the addon.
The problem may be with the Windoze version of Firefox.
Jim Norman | 19 May, 2008 | 20:09The problem may be with the Windoze version of Firefox. I’ve installed Firefox 3.0 RC1 on my Ubuntu linux box, and I get an incompatability because you’re specifically looking for 3.0pre.
Jim, what is the error message you get
Andor Salga | 23 May, 2008 | 13:22Jim,
what is the error message you get when try to update? Is it the hash error or something else? I was getting a message “Canvas 3D (Gecko 1.9) 0.1.20 could not be installed because it is not compatible with Firefox 3.0.”. If you get this,
- Right-click on the “Add to Firefox” link and save the xpi file.
- Change the extension to .rar, open it in WinRar.
- Edit the install.rdf file by changing the value found in the tag to something higher ( I put in 6.0pre).
- Rename the file back to .xpi and drag it into Firefox.
- If that doesn’t work, try changing the minValue to something really small like 1.0
Andor, Thanks for the tip. I'll use it in future,
Jim Norman | 24 May, 2008 | 14:22Andor,
Thanks for the tip. I’ll use it in future, but in the meantime, the add-on has been updated tow ork with 3.0RC1.
Jim Norman