Canvas 3d JS Library

WebGL made easy!
  • rss
  • What is C3DL?
  • Download
  • Tutorials
    • Tutorial #1: WebGL Browsers
    • Tutorial #2: A simple scene
    • Tutorial #3: Callback
    • Tutorial #4: Models
    • Tutorial #5: Light effects
    • Tutorial #6: Picking
    • Tutorial #7: Materials
    • Tutorial #8: Particle Systems
    • Tutorial #9: Camera Basics
    • Tutorial #10: Advanced FreeCamera
    • Tutorial #11: OrbitCamera
    • Tutorial #12: Advanced Camera Functions
  • Development News
  • Documentation
  • Community
  • Resources
  • Contact
  • About

Orbiter 1.1

Andor Salga | 12 October, 2009 | 14:03
As promised, I posted the updated orbiter demo which works with the 1.1 version of our library. The old version of the demo used a zoom() method which I thought should be divided into two functions: goCloser() and goFarther().
Categories
c3dl development
Comments rss
Comments rss
Trackback
Trackback

« WebGL Point Progress instanceof issues »

10 responses

This demo behaves differently on mac vs windows. On windows,

Cathy Leung | 13 October, 2009 | 8:04

This demo behaves differently on mac vs windows. On windows, there appears to be a sun, and the shadow of how the earth is facing shows. On the mac, the light is just one big light (always daytime everywhere).

On OS X and Windows is seems to be the

Andor Salga | 13 October, 2009 | 15:55

On OS X and Windows is seems to be the same for me. I’ll have to look at your mac.

Some questions: How do I find out which version

DemonDuck | 14 October, 2009 | 21:11

Some questions:

How do I find out which version of your library I have? I have a version and it works with some bugs but it works. But your library changes so fast I guess I should always stay current with the latest release.

I noticed that you have a Minefield release (FF 3.7) Does that version of your library work with WebGL yet?

...also, Orbiter 1.1 does not work on my system.

DemonDuck | 14 October, 2009 | 21:25

…also, Orbiter 1.1 does not work on my system. Is it expected that I have your 1.1 library on my system to run your demo? Your Orbiter 1.1 page uses relative file path to your library so I assume that it is somewhere on your system. But it doesn’t run.

var SCRIPT_PATH = ‘../canvas3dapi/’

I have Canvas3d 0.4.3 in FF 3.5.2

I get this error:
19:22:1 Error: Fragment shader uses varying gl_FrontFacing but vertex shader does not write to it.

1.1 of c3dl is available via download section. It

Cathy Leung | 15 October, 2009 | 1:51

1.1 of c3dl is available via download section. It is NOT webGL compliant. It still works with Canvas 3D addon for FF 3.5.x. This is the version that the orbiter demo is working with. We are currently working on porting over to WebGL though so stay tuned :D .

So the question remains -- do I need c3dl 1.1

DemonDuck | 15 October, 2009 | 7:39

So the question remains — do I need c3dl 1.1 resident on MY computer to run Orbiter 1.1?

I understand that c3dl 1.1 is not WebGL compliant. I am trying to run Orbiter 1.1 using FF 3.5.2 and Canvas 3d 0.4.3.

If I understand your comment correctly — I need to download and install c2dl 1.1 somewhere on my computer to run Orbiter 1.1. Right?

...downloaded c3dl 1.1 -- still get the same error -- 19:22:1

DemonDuck | 15 October, 2009 | 7:47

…downloaded c3dl 1.1 — still get the same error –

19:22:1 Error: Fragment shader uses varying gl_FrontFacing but vertex shader does not write to it.

BTW: I'm running the Intel GMA4500 video chip. I

DemonDuck | 16 October, 2009 | 13:51

BTW: I’m running the Intel GMA4500 video chip. I think there was another thread addressing this problem with the GMA4500 video chip.

If you are viewing off the website (ie just following

Cathy | 19 October, 2009 | 17:45

If you are viewing off the website (ie just following andor’s link: http://www.c3dl.org/wp-content/blog_demos/orbiter1.1/orbiter/orbiter.html) all you need is the canvas 3D addon installed.

If you downloaded the code and want to see it locally you will need to get the library.

[sigh] I wrote that I had Canvas3D 0.4.3 installed

DemonDuck | 20 October, 2009 | 13:59

[sigh] I wrote that I had Canvas3D 0.4.3 installed in FF 3.5.2 Read your own blog…

The error is the same:

11:59:37 Error: Fragment shader uses varying gl_FrontFacing but vertex shader does not write to it.

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>

Videos

Demos

  • Asteroids-3D
  • RTS Prototype
  • Particle Systems Demo
  • Cross-Browser Orbiter
  • Mocap Demo With Spheres
  • Google Maps-3D

C3DL Development News

A spec change that keeps coming back to haunt me

At some point, the way firefox handles keyboard events changed. I’m not sure exactly when it happened, all I know is that it broke how I was dealing with keyboard interaction on almost every demo I’ve written (for example,the mocap demo and MotionView). When I wrote the demos, the keydown event would be fired once, [...]

Release 2.2

The 2.2 Release of the Canvas 3D Library includes a number of new features, updates to old features and fixes for several bugs along with the requisite changes to meet the evolving WebGL spec. Some of the things included (in no particular order) are: Better picking code. The ability to swap textures as a scene [...]

Tutorials

  • Tutorial #1: WebGL Browsers
  • Tutorial #2: A simple scene
  • Tutorial #3: Callback
  • Tutorial #4: Models
  • Tutorial #5: Light effects
  • Tutorial #6: Picking
  • Tutorial #7: Materials
  • Tutorial #8: Particle Systems
  • Tutorial #9: Camera Basics
    • Tutorial9-YawPitchRoll
  • Tutorial #10: Advanced FreeCamera
  • Tutorial #11: OrbitCamera
  • Tutorial #12: Advanced Camera Functions

Documentation

Archives

Archives

C3DL Development News

Recent Comments

  • June 2011
  • March 2011
  • October 2010
  • July 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • 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
  • A spec change that keeps coming back to haunt me
  • Release 2.2
  • 2.1 Release and things to come
  • Level Up! An Open Web Game Jam
  • Site moved!
  • SceneCreator0.3
  • WWW2010 in Raleigh
  • Motionview
  • On the train to Mountainview
  • C3DL 2.0-WebGL and beyond
  • That depends on what... - peter
  • This application is ... - Haisens
  • I think that example... - peter
  • The above links are ... - Atash
  • Hi there, just wante... - Patrick H. Lauke
  • Firefox 4 was releas... - Cathy Leung
  • In order to access l... - peter
  • I am not able to dis... - preksha
  • "JavaScript can’t di... - Joe Hocking
  • I should point out t... - peter



Canvas 3d JS Library

©2007- 2010 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