stephomi / sculptgl

DEVELOPMENT STOPPED I'm now working on Nomad Sculpt instead
https://stephaneginier.com/sculptgl/
MIT License
1.4k stars 362 forks source link

Wacom Pressure Sensitivity not working #19

Closed ndee85 closed 7 years ago

ndee85 commented 10 years ago

I use a wacom Intuous 4. Pen Pressure doesn't seem to work under windows 7.

disjukr commented 10 years ago

i think you haven't installed wacom tablet browser plugin yet. meanwhile, since Chrome will be phasing out NPAPI support in late 2014, that used in wacom plugin, sculptgl may have to drop pen pressure support :(

ndee85 commented 10 years ago

ah.. sorry for that.. Didn't know there was a browser plugin... Will try it! Thanks for the comment!

ndee85 commented 10 years ago

ok.. pressure is working now for me... the only problem I have now is that the brush is not displayed when working with the pen... :-( Or it is somehow displayed veeeery small.. don't know what the exact issue is..

stephomi commented 10 years ago

Once you start sculpting the brush radius disappear and then there's only a dot, maybe it's that. As @disjukr said, if it is using NPAPI then I'll have to drop it somedays. Hopefully, they'll be alternatives... but I don't think there's a lot of web application that needs pen tablet support (for now at least). https://code.google.com/p/chromium/issues/detail?id=344181

ndee85 commented 10 years ago

@stephomi ok.. the problems seems to be when I release the pen the default size of the brush doesn't gets restored. It stays the last size it had. Which can be almost 0 when releasing the pen. Thats why the brush is not visible.

stephomi commented 10 years ago

Ah I see. But with Chrome dropping NPAPI and me not owning a pen tablet, I think I'll keep that way for now :(.

stephomi commented 9 years ago

9a9f03c5d76707082fd8c854de121750b18a49c9 :(

ghost commented 7 years ago

so wacom can't be used now anymore? there's no way to enable it?

disjukr commented 7 years ago

@naomik chrome now supports PointerEvent (since chrome 55. current stable version is 56). so we can make sculptgl to support tablet pen pressure by using PointerEvent instead of NPAPI.

stephomi commented 7 years ago

Thanks for the heads up! I had no idea it was released, I just added the support :).

I don't have a wacom tablet, so I can't really test. But I tested it on my nexus 5x, and it does work! (though the pressure is infered from the surface area rather than true pressure)