Re: [linux-audio-dev] Programming Synth Knobs?
Am Sonntag, 12. Februar 2006 04:24 schrieb peter: For example, this shot shows a work in progress interface for a DSSI synth plugin. I rendered the knobs in blender with an alpha channel to get translucent shadows. The widget uses generic gtk functions to render each frame over the background as the knob is turned. It looks pretty nice in action, even if it's an eye candy overdose for some tastes. (if you dispense with the alpha and transparency, it's naturally faster) http://www.zenadsl6252.zen.co.uk/purgatory.png Ok, so the knobs where rendered with Blender. Whatabout the rest? It's been a while since the last time I used Blender. I was a bit disappointed that I had to find workarounds for so many things which were not (directly) supported, like rendering glass material for example. Since then I emulated 3D pix with a vector graphic drawing tool like Inkscape. Which sometimes brings you faster to get what you want and sometimes not. But hey, doesn't Qt4 finally support .svg rendering? Aliasing free scaling of skins / themes, isn't that cool? CU Christian
Re: [linux-audio-dev] Programming Synth Knobs?
On Sun, 2006-02-12 at 14:21 +0100, Christian Schoenebeck wrote: Ok, so the knobs where rendered with Blender. Whatabout the rest? i've been using blender, inkscape and the gimp. (BIG? =) the knobs and a basic button in blender, everything else in the gimp and inkscape (mainly the gimp) It's been a while since the last time I used Blender. I was a bit disappointed that I had to find workarounds for so many things which were not (directly) supported, like rendering glass material for example. This could still be the case but I'm largely ignorant of blender outside of basic modelling and animation. Since then I emulated 3D pix with a vector graphic drawing tool like Inkscape. Which sometimes brings you faster to get what you want and sometimes not. yeah, i hear that. true 3D work often looks a bit.. _dead_ somehow too. i wanted a tactile knob for this UI though, and blender did the job well enough. (i don't think you could create a comparable knob with a vector or 2d tool) but for the rest, vector and 2d pixel work is easier and perhaps even the better option. But hey, doesn't Qt4 finally support .svg rendering? Aliasing free scaling of skins / themes, isn't that cool? sure is. although svg doesn't work well for low res detail for the same reason that blender doesn't. which is why i used the gimp's sharpen tool on the knobs and touched up the keyboard. If you need HQ scalability then svg is the way to go but i'd expect anything based on svg to be less detailed and more expensive. neither are necessarily bad and creative application can help a lot but it's suitability depends on your requirements. the fact that i'm crap at vector GFX meant that i didn't really consider using it much either ;) so.. i Cheers, Pete. -- == paugh on irc.freenode.org in #sweep, #lad [EMAIL PROTECTED] ==
Re: [linux-audio-dev] Programming Synth Knobs?
2006/2/11, [EMAIL PROTECTED] [EMAIL PROTECTED]: Does anyone know a good way to write code that renders synth knobs/potis/controllers? I was looking around to rotate an image which only worked in opengl... Creating a circle took too much time in sdl. Thanks for your help. grtz Scar This is a fancy Knob Widget for FLTK, I'm sure it's drawing code can be adapted to other toolkits. http://www-timc.imag.fr/Yves.Usson/personnel/Widgets/knob.html -Richard
Re: [linux-audio-dev] Programming Synth Knobs?
Thank you for your fast response. I'll look into it :D -- After a number of decimal places, nobody gives a damn.
Re: [linux-audio-dev] Programming Synth Knobs?
On Sat, 2006-02-11 at 02:29 +0100, [EMAIL PROTECTED] wrote: Does anyone know a good way to write code that renders synth knobs/potis/controllers? I was looking around to rotate an image which only worked in opengl... Assuming for a moment that you don't have strict memory requirements, you might want to consider loading an animation and swapping the frames when the controller is moved. There are a few implementations in qt and gtk that use this method and i've created some animations in blender (http://www.blender.org/cms/Home.2.0.html) for one based on this widget (from galan): http://cvs.sourceforge.net/viewcvs.py/galan/galan/src/gtkknob.c?rev=1.8view=markup The benefits: easy eye candy (pretty and complex prerendered knobs) with little or no custom drawing code (depends on the toolkit your using) easy to change the appearence by changing the animation fairly easy on the cpu The downsides: static images == a finite step resolution memory usage (probably 100K at least for a smoothly animated knob) learning to use or finding someone to use a 3d modeller or animation tool. For example, this shot shows a work in progress interface for a DSSI synth plugin. I rendered the knobs in blender with an alpha channel to get translucent shadows. The widget uses generic gtk functions to render each frame over the background as the knob is turned. It looks pretty nice in action, even if it's an eye candy overdose for some tastes. (if you dispense with the alpha and transparency, it's naturally faster) http://www.zenadsl6252.zen.co.uk/purgatory.png If you're holding out for an algorithmic solution of some kind.. ..i just wasted your time ;) Cheers, Pete. -- == paugh on irc.freenode.org in #sweep, #lad [EMAIL PROTECTED] ==
Re: [linux-audio-dev] Programming Synth Knobs?
On Sun, Feb 12, 2006 at 03:24:57AM +, peter wrote: For example, this shot shows a work in progress interface for a DSSI synth plugin. I rendered the knobs in blender with an alpha channel to get translucent shadows. The widget uses generic gtk functions to render each frame over the background as the knob is turned. It looks pretty nice in action, even if it's an eye candy overdose for some tastes. (if you dispense with the alpha and transparency, it's naturally faster) http://www.zenadsl6252.zen.co.uk/purgatory.png This is not really as overkill as you'd think - it's kind of the defacto way things look on Windows/Mac plugins. Shadows and all.
[linux-audio-dev] Programming Synth Knobs?
Does anyone know a good way to write code that renders synth knobs/potis/controllers? I was looking around to rotate an image which only worked in opengl... Creating a circle took too much time in sdl. Thanks for your help. grtz Scar -- It is now quite lawful for a Catholic woman to avoid pregnancy by a resort to mathematics, though she is still forbidden to resort to physics and chemistry. -- H.L. Mencken
Re: [linux-audio-dev] Programming Synth Knobs?
On Sat, 2006-02-11 at 02:29 +0100, [EMAIL PROTECTED] wrote: Does anyone know a good way to write code that renders synth knobs/potis/controllers? I was looking around to rotate an image which only worked in opengl... Creating a circle took too much time in sdl. the gimp has/had an animation tool that worked well for this (a few years ago), although it takes a little playing with it to understand how to use it.
Re: [linux-audio-dev] Programming Synth Knobs?
[EMAIL PROTECTED] writes: Does anyone know a good way to write code that renders synth knobs/potis/controllers? http://cairographics.org -- Esben Stien is [EMAIL PROTECTED] s a http://www. s tn m irc://irc. b - i . e/%23contact [sip|iax]: e e jid:b0ef@n n