Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spector js can not find my 3D canvas in my webpage #92

Closed
briangavin opened this issue Oct 22, 2018 · 3 comments
Closed

Spector js can not find my 3D canvas in my webpage #92

briangavin opened this issue Oct 22, 2018 · 3 comments

Comments

@briangavin
Copy link

Spector js works for me on other websites with webgl and the spector extension recognizies my webpage uses webgl but whey I try to choose a canvas there are none on the list. The canvas is buried fairly deeply in some html elements maybe that is part of the problem. Is there a way I can hack it to find my canvas so I can use this great tool.

@sebavan
Copy link
Member

sebavan commented Oct 22, 2018

Is it possible to access your page in order to check what is happening ? (of course if it is public)

Else you could use the code version (not the extension) as specified here: https://github.com/BabylonJS/Spector.js#use-as-a-module

@briangavin
Copy link
Author

I figure out the cause. I was running Firefox in a private window once I switched to non private window the canvas appear.

Unfortunately all it seemed to capture is the final rendered image. I using my own webgl engine not babylonjs. Not sure why I do not see the draw steps.

You might want to add something to your documentation saying not to run in private window mode in Firefox.

@sebavan
Copy link
Member

sebavan commented Oct 23, 2018

Thanks for the feedback, and yes I guess extension a bit intrusive might be disabled in private mode.

This is still pretty strange you are not capturing the full frame.

Let me know if I can help resolving this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants