Customise dial, slider etc by modding/specifying dial.svg – vector images?

Oct 28, 2010 at 7:51am

Customise dial, slider etc by modding/specifying dial.svg – vector images?

Is there a way to modify the appearance of UI objects by modifying the .svg vector file, and preferably specifying which one should be used in the object itself so that I can choose which ones I want to look different?

I tried opening the .svg files located in object-palettes with Adobe Illustrator, modifying and saving them. So far no problem, but Max still shows the default appearance.

Building a pictctrl with 300 rotated images for 300 degrees of a dial seems lame compared to the flexibility and smoothness of a vector-based control.

#52967
Nov 2, 2010 at 9:42am

Nobody?

#190511
Nov 2, 2010 at 10:07am

Sorry I don’t know, but I’m interested in trying it out. I’ll give it a go later today. There’s no reason I would get different results to you, but it’s worth a try anyway :)

It would be really cool if it was possible to custom mod the UI elements in this way, even more so if there could be multiple mods you could choose from.

edit – although I don’t have Illustrator…..I might not be able to do it

#190512
Nov 2, 2010 at 9:05pm

I wonder how the .svg files are used internally—when you rotate a dial, how would it do the animation part? I have a hunch that the .svg files are just to show up in the object palette, but I don’t know.

anyway, Knobman is a good place to try making some custom controls without doing everything manually. You can also hack together your own with jit.gl.gridshape, some rotation commands, and putting all the states into a long, thin jit.matrix. Would take a bit of patching but is totally doable.

#190513

You must be logged in to reply to this topic.