Giter Club home page Giter Club logo

Comments (10)

disjukr avatar disjukr commented on August 19, 2024 2

@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.

from sculptgl.

stephomi avatar stephomi commented on August 19, 2024 1

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)

from sculptgl.

disjukr avatar disjukr commented on August 19, 2024

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 :(

from sculptgl.

ndee85 avatar ndee85 commented on August 19, 2024

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

from sculptgl.

ndee85 avatar ndee85 commented on August 19, 2024

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..

from sculptgl.

stephomi avatar stephomi commented on August 19, 2024

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

from sculptgl.

ndee85 avatar ndee85 commented on August 19, 2024

@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.

from sculptgl.

stephomi avatar stephomi commented on August 19, 2024

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

from sculptgl.

stephomi avatar stephomi commented on August 19, 2024

9a9f03c :(

from sculptgl.

 avatar commented on August 19, 2024

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

from sculptgl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.