Canvas 3d JS Library

where 3D is born!
  • rss
  • What is C3DL?
  • Download
  • Tutorials
    • Tutorial #1: Installing Canvas 3D Addon
    • Tutorial #2: A Scene and a Cube
    • Tutorial #3: Update Callback
    • Tutorial #4: Models 101
  • Development News
  • Demos
    • Typing Game V2.1
    • Typing Game V3 (0.3 Release)
    • Explorer
    • Flickr - Picking
    • Ricochet
    • FSOSS Pictures
    • Puzzler
  • Resources
  • Contact
  • About

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?
Categories
c3dl development
Comments rss
Comments rss

« Added Bug List Subversion commands »

10 responses

Have you asked Vlad for ideas?

David Humphrey | 8 May, 2008 | 12:54

Have you asked Vlad for ideas?

Not yet... in the past Vlad had said that eventually

Cathy Leung | 8 May, 2008 | 12:59

Not 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:42

I 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:49

Sorry - 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:59

When 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:04

Cathy,

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:48

I’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:09

The 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:22

Jim,
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:22

Andor,

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

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Search

Demos

  • Explorer
  • Flickr - Picking
  • FSOSS Pictures
  • Puzzler
  • Ricochet
  • Typing Game V2.1
  • Typing Game V3 (0.3 Release)

C3DL Development News

Bounding Boxes on Collada Objects

I ran into a nasty bug that has left me scratching my head recently. It involved taking the work Patrick has done on picking, more specifically his bounding box code and integrating it with Collada objects. It seemed pretty straightforward when I first started working on it, but I have had little success. [...]

A hair away…

Alas, I have approached the summit. With my hands, I have created a Mac application, which runs, and has the customized chrome interface. This alone is an incredible feat for me, since I rarely create GUI-based programs, and I certainly haven’t developed them on a Mac before. The only problem is that the canvas element [...]

Tutorials

  • Tutorial #1: Installing Canvas 3D Addon
  • Tutorial #2: A Scene and a Cube
  • Tutorial #3: Update Callback
  • Tutorial #4: Models 101

Archives

C3DL Development News

Recent Comments

  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • Bounding Boxes on Collada Objects
  • A hair away…
  • Particle Systems
  • Welcome aboard
  • C3DL Namespace refactoring
  • Library Changes
  • Portable Canvas v0.2!
  • Namespaces and const
  • DAE Scenegraph
  • The Matrix Stack
  • That is absolutely a... - Cathy
  • I'm not so certain t... - Cathy Leung
  • For name spaces, my... - Jeremy Giberson
  • Great! Really really... - Edson Mattos
  • Beautiful!... - Funtomas
  • Was no need to conta... - Andrew Smith
  • Andrew, have you con... - Funtomas
  • Thanks for posting t... - Andrew Smith
  • Vlad was in town and... - Cathy Leung
  • the upside down issu... - Cathy Leung



Canvas 3d JS Library

©2007- 2008 Canvas 3d JS Library

Disclaimer: This website is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 Canada License.
The Canvas 3d JS Library and Demos found on this website are licenced under the MIT License

Creative Commons License