pressure shapes dont work even in latest release 008

Report bugs and errors

Re: pressure shapes dont work even in latest release 008

Postby Nirmal on Tue, 09 Feb 2010 23:49:01 GMT

I changed the way jpen resolves the tablet input device type. Now it should detect the '3 buttons stylus pen (pressure)' as a stylus by default (instead of cursor).

OMG it works!....you the man Nicolas!....it works!!!...it works!!!...Hurray! :D
A HUGE thank you for all your time Karl and Nicolas, Alchemy ftw!
Nirmal
 
Posts: 9
Joined: Wed, 03 Feb 2010 23:51:40 GMT

Re: pressure shapes dont work even in latest release 008

Postby Nicolas on Wed, 10 Feb 2010 01:14:51 GMT

nice! :)
Nicolas
 
Posts: 26
Joined: Fri, 21 Aug 2009 13:23:43 GMT

Re: pressure shapes dont work even in latest release 008

Postby crowline on Wed, 10 Feb 2010 04:29:51 GMT

I ran jpen-2-100121, and (when i set the ld_library_path) my wacom device showed up in the input devices list, and the pressure sensitivity worked. I only had a minute tonight to work on it, but when I tried to run Alchemy with the command you listed, and the new jpen jar, pressure didnt work... Ill try again, and post more when i get a chance...

Here is my JPen Status report (when pressure had started working. Dont know if it is still useful or not...)

===== JPen - Status Report =====
JPen Version: 2-100121
Date: Tue Feb 09 22:11:02 CST 2010
Providers:
Constructor: XInput
Construction Exception: none
Native Version-Build(Expected): 3-383(383)
Device: Wacom Intuos3 4x6 (Wacom Intuos3 4x6@XInput)
Enabled: true
Kind: (type=STYLUS)
Device: Wacom Intuos3 4x6 pad (Wacom Intuos3 4x6 pad@XInput)
Enabled: true
Kind: (type=IGNORE)
Device: Wacom Intuos3 4x6 cursor (Wacom Intuos3 4x6 cursor@XInput)
Enabled: false
Kind: (type=CURSOR)
Device: Wacom Intuos3 4x6 eraser (Wacom Intuos3 4x6 eraser@XInput)
Enabled: true
Kind: (type=ERASER)
Constructor: System
Construction Exception: none
Device (System Mouse): Mouse (Mouse@System)
Enabled: true
Kind: (type=CURSOR)
Constructor: JPen
Construction Exception: none
Device: Emulation (Emulation@JPen)
Enabled: true
Kind: (type=IGNORE)
System Properties:
file.encoding: UTF-8
file.encoding.pkg: sun.io
file.separator: /
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.awt.printerjob: sun.print.PSPrinterJob
java.class.path: jpen-2.jar
java.class.version: 50.0
java.endorsed.dirs: /usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/endorsed
java.ext.dirs: /usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/ext:/usr/java/packages/lib/ext
java.home: /usr/lib/jvm/java-6-sun-1.6.0.16/jre
java.library.path: /usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/../lib/i386:.:/usr/java/packages/lib/i386:/lib:/usr/lib
java.runtime.name: Java(TM) SE Runtime Environment
java.runtime.version: 1.6.0_16-b01
java.specification.name: Java Platform API Specification
java.specification.vendor: Sun Microsystems Inc.
java.specification.version: 1.6
java.vendor: Sun Microsystems Inc.
java.vendor.url: http://java.sun.com/
java.vendor.url.bug: http://java.sun.com/cgi-bin/bugreport.cgi
java.version: 1.6.0_16
java.vm.info: mixed mode, sharing
java.vm.name: Java HotSpot(TM) Client VM
java.vm.specification.name: Java Virtual Machine Specification
java.vm.specification.vendor: Sun Microsystems Inc.
java.vm.specification.version: 1.0
java.vm.vendor: Sun Microsystems Inc.
java.vm.version: 14.2-b01
os.arch: i386
os.name: Linux
os.version: 2.6.28-15-generic
path.separator: :
sun.arch.data.model: 32
sun.boot.class.path: /usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/classes
sun.boot.library.path: /usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386
sun.cpu.endian: little
sun.cpu.isalist:
sun.io.unicode.encoding: UnicodeLittle
sun.java.launcher: SUN_STANDARD
sun.jnu.encoding: UTF-8
sun.management.compiler: HotSpot Client Compiler
sun.os.patch.level: unknown
user.country: US
user.language: en
user.timezone: America/Indiana/Tell_City
===== ===== =====
testing build of swatchified/undo alchemy > https://spideroak.com/browse/share/crowline_spidershare/public
alchemy sketches > http://al.chemy.org/forum/sketches/topic433.html#p1712
character/color inspiration > http://characterwell.blogspot.com
User avatar
crowline
 
Posts: 73
Joined: Wed, 23 Dec 2009 06:37:35 GMT

Re: pressure shapes dont work even in latest release 008

Postby Nicolas on Wed, 10 Feb 2010 16:21:23 GMT

Edit your "Alchemy" script file (found on Alchemy (linux) application directory). Change it to:
---
#!/bin/sh
cd `dirname $0`
export LD_LIBRARY_PATH="./lib"
if [ -n "$JAVA_HOME" ]; then
$JAVA_HOME/bin/java -jar ./Alchemy.jar $*
else
java -jar ./Alchemy.jar $*
fi
cd $OLDPWD
---
Then run it and hopefully pressure shapes will work as expected. If not then copy/paste Alchemy output here.

Cheers!
Nicolas
Nicolas
 
Posts: 26
Joined: Fri, 21 Aug 2009 13:23:43 GMT

Re: pressure shapes dont work even in latest release 008

Postby Karl DD on Sat, 13 Feb 2010 14:03:49 GMT

Hi Nicolas,

Thanks for helping out with this.
Would it be better to make this the default "Alchemy" script?

Karl
User avatar
Karl DD
Site Admin
 
Posts: 592
Joined: Sun, 20 Jan 2008 02:45:28 GMT
Location: Pittsburgh, PA

Re: pressure shapes dont work even in latest release 008

Postby Nicolas on Sun, 14 Feb 2010 05:52:45 GMT

hey Karl, yes... and the same for AlchemyOpenGL. BTW there is a new public jpen release containing the fix for the problem described by Nirmal: http://sourceforge.net/projects/jpen/files/jpen/2-100213/jpen-2-100213-lib.zip/download .
Cheers!
Nicolas
Nicolas
 
Posts: 26
Joined: Fri, 21 Aug 2009 13:23:43 GMT

Re: pressure shapes dont work even in latest release 008

Postby Karl DD on Sun, 14 Feb 2010 13:45:08 GMT

Thanks for that.
I've updated that for the next release.
User avatar
Karl DD
Site Admin
 
Posts: 592
Joined: Sun, 20 Jan 2008 02:45:28 GMT
Location: Pittsburgh, PA

Re: pressure shapes dont work even in latest release 008

Postby maharg on Thu, 11 Mar 2010 01:03:58 GMT

Well, I have the same problem with pressure as well. My debug console output is this:

Code: Select all
Mar 10, 2010 4:58:58 PM org.java.plugin.registry.xml.ManifestParser <init>
INFO: got SAX parser factory - com.sun.org.apache.xerces.internal.jaxp.SAXParser
FactoryImpl@1a918d5
Mar 10, 2010 4:58:58 PM org.java.plugin.registry.xml.PluginRegistryImpl configur
e
INFO: configured, stopOnError=false, isValidating=true
Mar 10, 2010 4:58:59 PM org.java.plugin.registry.xml.PluginRegistryImpl register

INFO: plug-in and fragment descriptors registered - 25
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.core@1.0.5 (active/total: 1 of 25)
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.affect.smooth@1.0.0 (active/total: 2 of 25)
org.alchemy.affect.smooth
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.affect.gradient@1.0.1 (active/total: 3 of 25
)
org.alchemy.affect.gradient
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.affect.limit@1.0.0 (active/total: 4 of 25)
org.alchemy.affect.limit
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.affect.blindness@1.0.6 (active/total: 5 of 2
5)
org.alchemy.affect.blindness
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.affect.mirror@1.0.11 (active/total: 6 of 25)

org.alchemy.affect.mirror
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.affect.colorSwitcher@1.0.5 (active/total: 7
of 25)
org.alchemy.affect.colorSwitcher
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.affect.displace@1.0.5 (active/total: 8 of 25
)
org.alchemy.affect.displace
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.affect.micExpand@1.0.7 (active/total: 9 of 2
5)
org.alchemy.affect.micExpand
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.affect.repeat@1.0.6 (active/total: 10 of 25)

org.alchemy.affect.repeat
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.affect.random@1.0.6 (active/total: 11 of 25)

org.alchemy.affect.random
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.scrawlShapes@1.0.4 (active/total: 12
of 25)
org.alchemy.create.scrawlShapes
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.pressureShapes@1.0.1 (active/total: 1
3 of 25)
org.alchemy.create.pressureShapes
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.ribbonShapes@1.0.0 (active/total: 14
of 25)
org.alchemy.create.ribbonShapes
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.pullShapes@1.0.2 (active/total: 15 of
25)
org.alchemy.create.pullShapes
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.splatterShapes@1.0.0 (active/total: 1
6 of 25)
org.alchemy.create.splatterShapes
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.xShapes@1.0.5 (active/total: 17 of 25
)
org.alchemy.create.xShapes
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.medianShapes@1.0.6 (active/total: 18
of 25)
org.alchemy.create.medianShapes
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.inverseShapes@1.0.6 (active/total: 19
of 25)
org.alchemy.create.inverseShapes
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.shapes@1.0.11 (active/total: 20 of 25
)
org.alchemy.create.shapes
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.typeShapes@1.0.9 (active/total: 21 of
25)
org.alchemy.create.typeShapes
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.micShapes@1.0.6 (active/total: 22 of
25)
org.alchemy.create.micShapes
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.speedShapes@1.0.5 (active/total: 23 o
f 25)
org.alchemy.create.speedShapes
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.traceShapes@1.0.6 (active/total: 24 o
f 25)
org.alchemy.create.traceShapes
Mar 10, 2010 4:58:59 PM org.java.plugin.standard.StandardPluginManager activateP
lugin
INFO: plug-in started - org.alchemy.create.detachShapes@1.0.4 (active/total: 25
of 25)
org.alchemy.create.detachShapes
Number of Plugins: 24
Mar 10, 2010 4:58:59 PM jpen.provider.NativeLibraryLoader$4 run
INFO: loading JNI library: jpen-2-2 ...
Mar 10, 2010 4:58:59 PM jpen.provider.NativeLibraryLoader$4 logOnFail
INFO: jpen-2-2 couldn't be loaded
Mar 10, 2010 4:58:59 PM jpen.provider.NativeLibraryLoader load
INFO: no suitable JNI library found
Java Version: 1.6.0_18
Platform: Windows 7
OS Version: 6.1
Architecture: x86
Language: en
Country: US


And when I tried using the Jpen app, no pressure would be deteced when I set the input device to stylus so nothing would draw. I have a latitude xt with a n-trig digitizer.
maharg
 
Posts: 7
Joined: Fri, 15 Jan 2010 02:47:08 GMT

Re: pressure shapes dont work even in latest release 008

Postby Karl DD on Thu, 11 Mar 2010 02:45:21 GMT

Nicolas might be able to give you an answer as to whether your hardware is supported.
User avatar
Karl DD
Site Admin
 
Posts: 592
Joined: Sun, 20 Jan 2008 02:45:28 GMT
Location: Pittsburgh, PA

Re: pressure shapes dont work even in latest release 008

Postby Nicolas on Thu, 11 Mar 2010 05:41:03 GMT

jpen does not support n-trig digitizers, it currently supports only wintab digitizers.

It looks like the n-trig team is (finally!) working on wintab support:
Certain industry-standard applications such as Photoshop can Painter cannot register pressure of the pen.

This problem appears to be related to the WinTab API not being able to communicate properly with the digitizer output.

Our solution for issues related to the pressure sensitivity and the WinTab API are currently under development and is due to be released in mid-May 2010. If possible we may post Beta versions for testing earlier.

(Copied verbatim from http://www.n-trig.com/Content.aspx?Page=Bulletin_Board)

I guess we will have to wait and see...

Cheers!
Nicolas
Nicolas
 
Posts: 26
Joined: Fri, 21 Aug 2009 13:23:43 GMT

PreviousNext

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests