@jh71283: hmm, so your master plan to have a SL application that emulates an HTML5 canvas so that you can use WebGL on it? If you ever get it to work, I suspect you'll receive the Rube Goldberg Award. Repeatedly.
I was going to second fanbaby's suggestion (the JS one, the first one is just insane), but if you are constrained to stay within SL then things are getting hairier. Silverlight 3D libraries will probably not get much love now that SL5 is out, but that's the most straightforward way to go. Good luck.