First VU refresh problem AKA crazy LATK stuff

Hints, tips and discussion about graphics and user interface elements

Moderators: electrogear, exonerate

Postby Nu Audio Science on Mon May 09, 2005 11:13 pm

http://uk.geocities.com/flexinoodle/gui/LATKu.zip

I'm trying to do a version of this for Unkargherth that doesn't have a knob in the middle, Seemed an easy thing to do but, When i try to change the mouse area to be the full size of the LATKs i cant, I tried changing the height width and the scale but nothing, Any ideas ?
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby unkargherth on Tue May 10, 2005 12:54 am

I've made a knobless knob a days ago and the trick should be include teh leds in the mouse area and erase the knob bitmap and knob tick, while maintaining the KNob control. Simply as that
User avatar
unkargherth
smanatic
 
Posts: 605
Joined: Fri Apr 08, 2005 8:46 pm

Postby Nu Audio Science on Tue May 10, 2005 1:05 am

Yeah i did that but the mouse area is still exactly the same as when the knob was there, Just the size of the knob that is now gone ?
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby Tom7777 on Tue May 10, 2005 8:04 am

Um maybe leave everything the same and set the alpha to 0 so it looks like its not there. That might work :) Then make the knob larger in size so it will go behind the other part too.
Tom7777
smychopath
 
Posts: 3936
Joined: Wed Mar 16, 2005 10:46 pm

Postby sonicfire on Sun May 15, 2005 12:11 pm

unkargherth wrote:Is that (crude basic version) what you are talking NAS?

Image


how have you done these "rings" (circular leds) around the knob??? this is what i dont understand for years now :o
User avatar
sonicfire
essemist
 
Posts: 67
Joined: Fri Jul 23, 2004 12:07 am
Location: berlin, germany

Postby Nu Audio Science on Sun May 15, 2005 1:35 pm

Open the LATK osm and have a look, You will find a more upto date version in the projects part of the forum under Definitive Knob :)
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby unkargherth on Sun May 15, 2005 3:26 pm

I'm the guilty of this circular leds

Basically implmented as a collection of near-continuous small arcs that change color ( off-color to on-color) depending on the ratio value of the knob
User avatar
unkargherth
smanatic
 
Posts: 605
Joined: Fri Apr 08, 2005 8:46 pm

Postby malc on Mon May 16, 2005 1:32 pm

Hi NAS,

Does this do what you want?
http://www.synthmaker.com/docs/uploads/2005/may/16/LATK%20no%20knob.osm

I think the reason you might have been having problems is down to the way that mouse messages are clipped to the parent module. In your example the mouse area is inside the Knob Dial module which itself is inside the Shadow Knob module which is then on the main module panel.

Mouse messages are only received by a module if they fall within the module's active area. The Knob Dial is 4x4 squares in size so it doesn't matter how big you set the mouse area, you'll only receive messages in that 4x4 square.

Might be clearer in a diagram:
Image
Here your Knob Dial area is shown as 'A'. This equates to the yellow dotted area in the main knob (also labeled 'A'). To make the mouse area bigger you need to resize the modules concerned as well as change the inputs to the Mouse Area component, which is exactly what I did. The knob dial module needs to be 8x7 in size to get the effect you want.
User avatar
malc
smychopath
 
Posts: 3111
Joined: Tue Sep 07, 2004 11:17 pm
Location: UK

Postby Nu Audio Science on Mon May 16, 2005 7:43 pm

Cheers ;)
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Previous

Return to Graphics

Who is online

Users browsing this forum: No registered users and 0 guests