Comments (10)
@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.
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.
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.
ah.. sorry for that.. Didn't know there was a browser plugin... Will try it!
Thanks for the comment!
from sculptgl.
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.
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.
@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.
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.
9a9f03c :(
from sculptgl.
so wacom can't be used now anymore? there's no way to enable it?
from sculptgl.
Related Issues (20)
- Save diffuse from cylinder or torus
- Why windows only for standalone HOT 1
- special request HOT 5
- Allow PWA functionality. HOT 1
- How to add simple point ?
- Updated standalone version HOT 1
- Typescript migration HOT 2
- WebGL GUI Dependency HOT 2
- Go to Sketchfab ! HOT 1
- How to import multi obj and merge combined into one obj HOT 1
- Scale size of object changes after remesh operation. HOT 2
- Cut 3d object feature in old-sculptgl Branch HOT 3
- Getting the angle of 3d object HOT 4
- Cut Feature in Sculpt-GL HOT 3
- Enter VR Button
- Updating 3D model position by giving user input
- Set pivot point to centre in exportOBJ file HOT 1
- Import issue HOT 1
- Certain Materials don't export to sketchfab.com HOT 2
- glTF import-export HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sculptgl.