After a few minutes of forum trolling and google searching, I'm unable to find out if there are any apps out there for photoshop that would make the cursor function something like that of Zbrush's Lazymouse function.
I don't think that there is anything out there yet - but I'd love to be shown otherwise!
cheers
adam
Replies
What i did was make a really large brush, say 1000x1000 and make a large black dot at one end, and a very small black dot at the other, you then stick the rotation on direction, so that the large dot follows the brush with a bit of distance. What this does is when you make it back down to normal sizes the small dot doesnt make a mark, but it makes the pivot point in the center of the brush, in a way making a hacky lazy brush.
The problem with this though is that it doesnt smooth out the stroke that well so you get random dots around the line when you go slowly... I dunno perhaps it might help, doubt it though.
Apparently it's quite easy to code for Paint and other apps, but Photoshop does some hardcore takeover on mouse input, making intercepting, changing and controlling it pretty tricky.
Will check if he doesn't mind me distributing it a bit, so you guys can give it a try.
Muzz, lol that's kind of a good idea, will have to try it.
Actually i began working on a lazy mouse for photoshop a couple of weeks ago. Funky Bunnies requested that id make one.
I haven't finished it yet, i haven't had the time, been working too much. But now ive got a vacation so im going to finish it. Unfortunately for you all though, i will be abroad for a week, but i promise that when i return i will finish the app.
Until then ill post it here so that you can try it out. Bare in mind though, that im not an artist, im a programmer and i haven't actually used the tool that ive been tasked to recreate. But based on what ive been able to tell from videos detailing its functionality made by funky bunnies i think im on the right track at least.
Details:
- Stepsize has been removed because in order to recreate the zbrush stepsize i would have to send mouse up and mouse down events, which ofc could be done. However this would seriously mess up the history list and work flow of most artists i would imagine. If you disagree then i can of course add this feature.
- Padding and Radius at the moment both work as a combined radius. As i mentioned before i don't know exactly how the lazy mouse works. From what i can tell the zbrush lazy mouse has a little give, whilst mine at the moment is strict. Im assuming that padding determines how generous this "give" is, and i will look into it when i get back from my vacation If you have any suggestions or ideas on how it should work then please post them here.
- Render outlines is a checkbox to toggle whether or not to draw red lines and circles on the screen just like in zbrush. And in here lies the problem.
Unlike what Bal wrote overriding mouse and keyboard events is fairly simple, and my app is a global hook so you can use it with any app you see fit. It will work well with mspaint for instance, but when it comes to photoshop it will not work as intended. And you will probably see what i am talking about if you toggle the render outlines options on and off. My app gets focus in order to render to screen. I haven't had time to resolve this yet, but it shouldn't be too difficult to fix.
Anyways, a week from now ill be back and i will start working on it again. Until then, please try it out and if you encounter any bugs/have any suggestions/or just have some feedback then post it here or mail me at rikard.svensson@gmail.com
Link to LazyMouse app: http://rajkard.se/LazyMouse/LazyMouse.rar
When funky bunnies first asked me to make a lazy mouse he assumed that i was familiar with the zbrush version. I began working on a version based on what he had told me. It wasn't until he made some videos that i finally understood how it worked. But at that time i had already made an app.
It used catmull-rom splines to smooth out the mouse moves. It continuously moved the mouse position to the modified mouse position at a specified stepsize. It worked pretty well imho.
Video to catmull-rom splines based lazy mouse: http://rajkard.se/LazyMouse/LazyMouse.avi
If any of you see any use for that app then ive got the source saved and can compile a version for you to try out.
Any ways, ill be back in a week. Have a good one.
You need to attach it to the software you want to use ( File > Attach to window ), it saves it in the .ini so you only need to do it once per software.
Radius is the lazy offset.
Noise adds noise (we were seeing if we couldn't add Alchemy style effects directly in photoshop).
There's a shortcut to toggle the Enabled checkbox, it's ctrl-F2, and no you can't change it at the moment...
As I said the only major prob is that the brush jumps to the cursor position at the end of the stroke.
Unfortunatly he's bashed his head against photoshop's mouse hijacking for quite a while and hasn't figured out why it does that (doesn't happen in MS Paint, if someone can try Painter that would be nice to see if it works correctly).
Maybe if enough people are interested I can pester him to look into it again.
This is a windows mouse hack, maybe if it was done as a Photoshop plugin instead it would be easier to accomplish, who knows.
Any feedback can be sent to me, I'll forward it to my brother if necessary.
Gonna test out your version, from what you described you seem to be doing it in a similar way as my brother.
EDIT : yeah so I tested it out a bit, yours doesn't really work like the Zbrush lazy mouse, but it seems interesting... The one I posted tries to replicate Zbrush's lazy mouse as much as possible.
(Don't know for rajkard's though.)
Yeah, i dont know how the zbrush lazy mouse works exactly, but replicating the functionallity is the easy part once the hook and drawing works as intended.
How To Use: Enter a value into Padding and Radius (for instance the default 50 and 10). This is a pixel value (unlike zbrush).
Check the Render outlines options and then draw in mspaint or photoshop (the latter will lagg a bit) Easy Peasy
I'm sorry but I don't have Vista and don't plan on switching to it (ever). This app is using some undocumented Windows tricks so I'm not surprised if it doesn't work at all in Vista.
When a window is hooked you will see a rectangle appear over its border. If you don't see this, then it isn't hooked. The ini file that comes with it should set it up so that it tries to automatically hook paint and photoshop, but if you want to hook new apps, use the menu like Bal said.
Let me know if you have any questions/comments about it.
--
kamih
Ignoring driver-issues, I don't really so much of a difference at all!
edit: didn't want this to be a strictly negative post, so: yay, lazymouse!
I'll try this at work tomorrow. I've been silently wishing for a Lazymouse solution for Photoshop for a while now. Sai and Inkscape have it, and it's just fantastic to work with.
Also if your using a older version of photoshop (cs2) will this run?
I liked LazyNezumi though..while using the other one i am not able to use any shortcuts but in case of LazyNezumi everything works,except it spills some extra ink at the end of the stroke...Well integrated...
Same setup here, LazyNezumi seems to work as advertised. Thanks!
So I'm using Bal's (or Bal's brother's) Lazymouse; is there supposed to be any kind of visual cue as to where the point is being referenced? For example in ZBrush you've got the circles and the line that Lazybrush will attempt to follow. I only see the mouse icon.
(hope this makes sense.)
Thanks again for creating such cool hacks!
In MS Paint (you know, the one real artists use!), you will always have the cursor in the real position of your mouse, so your stroke will never be under the cursor as you draw.
In photoshop, that's also the case if you're using the "Standard" painting cursor (which not many people use, as it sucks). With the other cursor types, the cursor (or the brush shape/circle/whatever) will stay above the stroke, so you can't actually see where you're actual mouse position is.
I don't really mind it, do you guys think it would be best to have something drawn where the mouse is, like in Zbrush?
Man, the potential this tool has... awesome.
how do I delete a post? grrr...
I used it with radius between 2 and 10, and with smoothing between 10 and 20, the effect is subtle, but great! My tablet would produce rather uneven lines without this (or maybe my hand is shaking a bit...)!
TheQiwiMan, I think my brother is looking into something like that...
is it because im on cs4? maybe i need to edit the appWindowHooks.ini but i can't see anything glaringly wrong in there
Did you do File > Attach to Window?
@Spinks: Try enabling LazyNezumi before launching CS4.
Stop the "TabletServiceWacom" service
Start LazyNezumi
Start Photoshop
Start "TabletServiceWacom" service again
The big downside is that Photoshop won't recognize the tablet because the background service was started after it launched, so it won't register pressure or tilt inputs. Otherwise it works for me.
I'll try and find an Intuos 3 to test it on at work.
In other news an update is coming that draws a red line in front of the stroke like in Zbrush, to know where you're real mouse position is.
I'm a dork, I know, but I don't care! This is gonna be awesome!!
here's the new version:
http://people.happycoders.org/kamih/lazyNezumi/lazyNezumi_20090725.zip
Please read the README.txt in there.
Hope you like it!
cheers,
kamih
I've changed the color to (255, 128, 0), so it won't cancel out with a gray background, but that will cancel out with some other color, there's nothing I can do about it.
In the next version I'll save all the parameters to the .ini file, and I'll add a color entry in there too, so you can set it up for a color that doesn't cancel out with your usual background color.
cheers,
kamih
http://people.happycoders.org/kamih/wordpress/?page_id=46
For some reason the latest version won't correctly connect with my photoshop window. The previous version (without the string) worked perfect in Photoshop, but now it doesn't look like its seeing my photoshop window. (theres no red border like in MS Paint)
Do I need to uninstall anything from the previous version? I didn't think so since isn't it just an .exe you run every time you wanna use it?
(I'm using Win XP SP3, photoshop CS2, and I even tried rebooting, still nothing)
I can't wait to use this in Photoshop! It looks amazing in MS Paint! Thanks again for creating this and letting us use it for free. (I'm gonna provide this link tomorrow at work for all the Artists, I'm sure you'll gain some more new fans! )
Did you try manually attaching it to the photoshop window?
I will look at the code to see if I changed anything that could cause it to stop working..
What I'm going to do also is put up a version that outputs debug info so people who can't get it running can send me the output so I can try to figure out what's wrong.
So since you only have to attach it once per program, I wonder if the fact that the last version was synched correctly is whats screwing this up now somehow?
As far as 'replacing' anything, I just deleted the folder with the previous version and double-clicked the newest with the guide-data included. Do I need to manually find some dlls and delete them or something ya think?
Thanks so much for the help with this!
Could you please try the following (if you haven't already):
1.Close Photoshop and LazyNezumi.
2.Open Photoshop, make a new canvas.
3.Open LazyNezumi.
It should attach to something in Photoshop, which window does it attach to in this case?
If it's still attaching to the wrong window, use Microsoft's Spy tool to figure out the class names of the canvas, and that of the brush bar it's attaching to and let me know.
If you don't have the Spy tool, you can download it here:
http://people.happycoders.org/kamih/lazyNezumi/spyxx.zip
Another thing you can try is deleting (keep a backup) the .ini file, so that it doesn't automatically attach to anything, and then manually attach with the menu.
Let me know what the results are of these two tests.
I have a debug version almost ready for you guys (with parameter saving too).
I even deleted the folder completely and re-downloaded the newest version, and right when I opened photoshop, before I even linked it manually it already grabbed the toolbox window, rather than the canvas, so its gotta be referencing some old bad info or something.
I downloaded the Spy tool, but I'm sorry man I have no idea what I'm looking at or how to use this thing. I'm not even a noob at programming since that implies I've at least started learning something and I haven't. Its all pixy-magic to me.
If you think it'd be at all helpful I could jump on messenger or skype or something?
I just checked in Photoshop, and that toolbar and the main canvas have the same class name. That's a very good clue... I should be able to fix this.
http://people.happycoders.org/kamih/wordpress/?page_id=46
If you have trouble with it, run dbgView before LazyNezumi, and send me the log.
DbgView can be found here:
http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx
cheers,
kamih