Picking Problems

43 views
Skip to first unread message

ashgavs

unread,
Sep 13, 2011, 2:56:00 PM9/13/11
to PhiloGL
Hey all,
I tried running the picking example both on my file system and on a
local server on my computer.

Neither work. Is it related to this problem:
http://groups.google.com/group/philogl/browse_thread/thread/c445962c38be8841/707ad8a624c1c85f?#707ad8a624c1c85f
? If so is there a fix?

Thanks!
--Ashley

Nicolas Garcia Belmonte

unread,
Sep 13, 2011, 8:40:13 PM9/13/11
to phi...@googlegroups.com
Are you using a windows machine? I thought I fixed that bug a while
ago. Could you describe your setup?

Thanks,

--
Nicolas Garcia Belmonte - http://philogb.github.com/

ashgavs

unread,
Sep 13, 2011, 9:03:48 PM9/13/11
to PhiloGL
I am using windows 7, tried it in chrome and firefox. Running on an
apache local server.
--Ashley

On Sep 13, 8:40 pm, Nicolas Garcia Belmonte <phil...@gmail.com> wrote:
> Are you using a windows machine? I thought I fixed that bug a while
> ago. Could you describe your setup?
>
> Thanks,
>
> On Tue, Sep 13, 2011 at 11:56 AM, ashgavs <ashg...@gmail.com> wrote:
> > Hey all,
> > I tried running the picking example both on my file system and on a
> > local server on my computer.
>
> > Neither work. Is it related to this problem:
> >http://groups.google.com/group/philogl/browse_thread/thread/c445962c3...

Nicolas Garcia Belmonte

unread,
Sep 13, 2011, 9:05:18 PM9/13/11
to phi...@googlegroups.com
Any errors logged into the console? What is the exact behavior you're
having? Elements do not get selected or they can't be unselected?

--

ashgavs

unread,
Sep 13, 2011, 9:34:13 PM9/13/11
to PhiloGL
Its the same behavior as in the previous post. Only one item gets
highlighted, and not when you mouse over it, but rather when you mouse
over the canvas generally. On mouse out it turns off. Always the same
shape. I will tell you the console output tomorrow when I get into
work.
--Ashley

ashgavs

unread,
Sep 14, 2011, 1:53:36 PM9/14/11
to PhiloGL

In Firefox it just doesn't load at all but it prints this in the
console:

uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLCanvasElement.getContext]"
nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
http://localhost/philoGL/build/PhiloGL.js :: <TOP_LEVEL> :: line 660"
data: no]
-----
hasWebGL( )
PhiloGL.js (line 660)
-----
picking()
picking (line 34)

[Break On This Error]
return !!(window.WebGLRender...s.getContext('experimental-
webgl'))); PhiloGL.js (line 660)



uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLCanvasElement.getContext]"
nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
http://localhost/philoGL/build/PhiloGL.js :: <TOP_LEVEL> :: line 293"
data: no]
-----
getContext()
PhiloGL.js (line 293)
-----canvas = canvas#surface-explorer-canvas
-----opt = Object {}

-----
PhiloGL()
PhiloGL.js (line 80)
----canvasId = "surface-explorer-canvas"
-----opt = Object { context={...}, camera={...}, more...}
-----init()balls.js (line 137)

[Break On This Error]
ctx = canvas.getContext('experimental-webgl',
opt); PhiloGL.js (line 293)


No errors in the console in chrome.
--Ashley

Nicolas Garcia Belmonte

unread,
Sep 14, 2011, 2:00:42 PM9/14/11
to phi...@googlegroups.com
Do any of the other webgl examples (in PhiloGL or even other
frameworks) work in FF for you?

--

ashgavs

unread,
Sep 14, 2011, 6:15:46 PM9/14/11
to PhiloGL
Yes, both webGL and philoGL in FF work. I haven't recently tried all
the examples, but I worked up to tutorial 8 and they all worked.
--Ashley
Reply all
Reply to author
Forward
0 new messages