hacking undo, color palette

Questions/discussion about contributing to Alchemy

Re: hacking undo, color palette

Postby crowline on Fri, 11 Nov 2011 12:40:52 GMT

another quick commit... I think i got all those text strings migrated into the resource file, and reused already defined strings where possible.
testing build of swatchified/undo alchemy > https://docs.google.com/open?id=0B8RcV-g3_nP-VHFwZnMtaGNYajQ
alchemy sketches > http://al.chemy.org/forum/sketches/topic433.html#p1712
character/color inspiration > http://characterwell.blogspot.com
User avatar
crowline
 
Posts: 94
Joined: Wed, 23 Dec 2009 06:37:35 GMT

Re: hacking undo, color palette

Postby smudo on Tue, 15 Nov 2011 03:39:06 GMT

and you made this for us windows-morons too
pure awesome !
just starting out with alchemy, i almost got the impression that nobody seemed to care too much about this app anymore
the color palette was the thing i really missed
thank you sooo much
smudo
 
Posts: 12
Joined: Mon, 03 Oct 2011 01:34:07 GMT

Re: hacking undo, color palette

Postby crowline on Tue, 15 Nov 2011 12:44:01 GMT

thanks smudo, so encouraging to hear that it is working well for people! :D

Tonight i implemented a basic zoom functionality. It works, but needs some refining. Should be able to fix it up and get a video/build up before too long.
testing build of swatchified/undo alchemy > https://docs.google.com/open?id=0B8RcV-g3_nP-VHFwZnMtaGNYajQ
alchemy sketches > http://al.chemy.org/forum/sketches/topic433.html#p1712
character/color inspiration > http://characterwell.blogspot.com
User avatar
crowline
 
Posts: 94
Joined: Wed, 23 Dec 2009 06:37:35 GMT

Re: hacking undo, color palette

Postby crowline on Fri, 18 Nov 2011 11:00:19 GMT

Got the zoom feature (almost) all working. current code committed Here is a video...

http://vimeo.com/32311425

The main (only?) remaining issue is that it doesnt work as expected with the mirror module. the zoom axis remains consistent in the window space when zooming rather than the larger canvas location. Not sure how to exchange the zoom state/location between the mirror module and the alchemy canvas...
testing build of swatchified/undo alchemy > https://docs.google.com/open?id=0B8RcV-g3_nP-VHFwZnMtaGNYajQ
alchemy sketches > http://al.chemy.org/forum/sketches/topic433.html#p1712
character/color inspiration > http://characterwell.blogspot.com
User avatar
crowline
 
Posts: 94
Joined: Wed, 23 Dec 2009 06:37:35 GMT

Re: hacking undo, color palette

Postby crowline on Fri, 18 Nov 2011 11:26:49 GMT

I suppose a little explanation of the implementation of the zoom feature would be useful...

currently there are two routes of access, quick-key(z) and a toolbar button.

the quick key instantly zooms/unzooms, keeping the location under the mouse consistant when zooming.

the toolbar button (if currently unzoomed) starts the mouse in a zoom selection mode. the next (left) click on the canvas selects the location to zoom (as in the quick key), any other click, toolbar access or keypress cancels zoom selection mode.

if currently zoomed, the toolbar button instantly zooms back to 1:1 view.

zooming zooms in a set (currently 4x) magnification, does not allow scrolling, or further zooming. The amount of zoom magnification could be made moddable in the options panel, but i think that otherwise limiting in this way follows the spirit of alchemy, allowing you to pop in and out very quickly. It prevents you from scrolling around always zoomed in, forcing you to step back and view the whole image before doing any detail work in another area. It keeps the area under the mouse, under the mouse so that you can quickly begin working on the area that you are interested in.
testing build of swatchified/undo alchemy > https://docs.google.com/open?id=0B8RcV-g3_nP-VHFwZnMtaGNYajQ
alchemy sketches > http://al.chemy.org/forum/sketches/topic433.html#p1712
character/color inspiration > http://characterwell.blogspot.com
User avatar
crowline
 
Posts: 94
Joined: Wed, 23 Dec 2009 06:37:35 GMT

Re: hacking undo, color palette

Postby crowline on Sat, 19 Nov 2011 07:01:23 GMT

ok feel a little silly, the syntax for accessing the canvas object was sitting right there in the mirror module's existing code :oops:

Zoom/mirror mod is working now (in svn version, not updated in my builds yet).

Using zoom/gradients also seems broken however...
testing build of swatchified/undo alchemy > https://docs.google.com/open?id=0B8RcV-g3_nP-VHFwZnMtaGNYajQ
alchemy sketches > http://al.chemy.org/forum/sketches/topic433.html#p1712
character/color inspiration > http://characterwell.blogspot.com
User avatar
crowline
 
Posts: 94
Joined: Wed, 23 Dec 2009 06:37:35 GMT

Re: hacking undo, color palette

Postby smudo on Sun, 20 Nov 2011 15:04:30 GMT

truly cool :)
if i may make a request, ive been using the colorpalettes a lot and the transparency resets to full opacity everytime i flip between the colors, would it be possible to have an option to keep the specified opacity level when switching between colors
anyway the features youve added so far has really made alchemy much more enjoyable, cant wait to try the zooming thing :D
smudo
 
Posts: 12
Joined: Mon, 03 Oct 2011 01:34:07 GMT

Re: hacking undo, color palette

Postby crowline on Sun, 20 Nov 2011 17:47:39 GMT

Did you try engaging the "lock" next to the transparency bar?
testing build of swatchified/undo alchemy > https://docs.google.com/open?id=0B8RcV-g3_nP-VHFwZnMtaGNYajQ
alchemy sketches > http://al.chemy.org/forum/sketches/topic433.html#p1712
character/color inspiration > http://characterwell.blogspot.com
User avatar
crowline
 
Posts: 94
Joined: Wed, 23 Dec 2009 06:37:35 GMT

Re: hacking undo, color palette

Postby smudo on Mon, 21 Nov 2011 02:35:19 GMT

ok i really should have my iq and/or sight tested
thanx :D
smudo
 
Posts: 12
Joined: Mon, 03 Oct 2011 01:34:07 GMT

Re: hacking undo, color palette

Postby crowline on Mon, 21 Nov 2011 10:05:38 GMT

No problem. :-)

I realize its not particularly clear, but saved swatch colors retain the transparency setting from when you add them. The lock is to let you override their saved transparency value. the (stored) transparency values for the whole swatch can be adjusted via the "modulate swatch" dialog.
testing build of swatchified/undo alchemy > https://docs.google.com/open?id=0B8RcV-g3_nP-VHFwZnMtaGNYajQ
alchemy sketches > http://al.chemy.org/forum/sketches/topic433.html#p1712
character/color inspiration > http://characterwell.blogspot.com
User avatar
crowline
 
Posts: 94
Joined: Wed, 23 Dec 2009 06:37:35 GMT

PreviousNext

Return to Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron