fjenett / coffeescript-mode-processing

CoffeeScript mode for Processing 2.0
52 stars 2 forks source link

P3D not working #17

Closed skilfullycurled closed 11 years ago

skilfullycurled commented 11 years ago

not even near the list of high priorities for me as a user, but i just happened to be creating a sketch from Shiffman's Nature of Code which uses it. I could not get it to work so I started to comment out certain parts. Even the slightest usage does not work. I do have webGL enabled on both Firefox 20.1 and Safari 5.1.7. Using P 2.09b

Firebug returns:

#TypeError: 'undefined' is not a function (evaluating 'curContext.save()') processing.js: 3823

Example:

setup: ->
    size 400, 400, P3D
    noLoop()

draw: ->
    background 0

Again, not a huge priority to me personally but, if true, might save people some trouble to see it on the issue list, and the readme.md. In the future, I'll try to fork the code so that I can at least help out by suggesting additions to the readme.md.

fjenett commented 11 years ago

Hm, which OS are you on?

Can you check the perspective example? ... Examples --> Basics --> Camera --> Perspective

fjenett commented 11 years ago

I checked your example code and it works fine for me in Safari, Chrome, FF ...

skilfullycurled commented 11 years ago

OSX 10.7

That's the one thing I cannot test for unfortunately.

skilfullycurled commented 11 years ago

Oh, and also, I checked the examples and they do not work either. Neither camera nor lights.

skilfullycurled commented 11 years ago

Also should mention, that Java and JS examples do work for me.

Restarting computer just to rule out.

skilfullycurled commented 11 years ago

Restarted computer, all examples work. For the record I had restarted browsers.

Still, rookie move.

I am ashamed.

If possible, please delete this thread from existence.

fjenett commented 11 years ago

Closed and burried forever. :) Don't worry. ... go search up my questions / comments on the old Processing Alpha forum for a laugh.