VCVRack / AudibleInstruments

VCV Rack plugin based on Mutable Instruments Eurorack modules
https://vcvrack.com/AudibleInstruments.html
Other
387 stars 84 forks source link

Low resolution module layouts #23

Closed ccerhan closed 6 years ago

ccerhan commented 6 years ago

Hello,

As you can see, the modules below are in different resolution. I only tested in macOS. I have mac book pro with retina display and I guess that causes the problem.

Do you plan to upload svg or high resolution png files for the modules? or is there any possible solution for this issue?

vcrack_low_res
manresa commented 6 years ago

I would love to help with this! I have all the Adobe Illustrator files from the MI repository and can convert to high-res PNG or SVG—I just need to know preferred format, sizes, etc. and where to upload them (I’m new to GitHub & open-source development).

evmaki commented 6 years ago

@AndrewBelt will this be in the next update? I'm about halfway through converting the faceplates from PNG to SVG but figure I might as well hold off if you're already including it.

AndrewBelt commented 6 years ago

No, the SVG renderer is not yet capable of rendering the flourishes on the Mutable panels. PNG to SVG is not the way to go. I'll convert from AI to SVG myself, under certain technical constraints when the SVG renderer is capable.

evmaki commented 6 years ago

@AndrewBelt works fine on my end. The flourishes aren't rendering correctly using the original AI files because they're built with compound paths. I converted them to regular shapes (with a bit of handiwork in illustrator) and they look just fine.

edit: sorry if I wasn't clear in my original comment. I'm not "converting" but rather rebuilding them as SVG using the original Mutable illustrator files. Anything that's a compound path (the paisley on Braids, for instance) has to be manually redrawn/hacked into a shape as opposed to a compound path, as the SVG renderer doesn't support compound paths.

AndrewBelt commented 6 years ago

If you're converting from AI to SVG instead of PNG to SVG, and the titles are there ("Modal Synthesizer", etc), I'll take a look.

AndrewBelt commented 6 years ago

Oh, I'll need one more thing. Create a layer called "widgets" in Inkscape (assuming you're using that), and place rectangles around each knob, slider, button, port, LED, and LED display, such that the sizes of the rectangles match the sizes in the respective Component Library widgets. If you want to save me work, this will be required because otherwise, I'd have to go through and re-export everything from scratch to get the bounding boxes onto the SVG so I can run my script to generate the correct positions (in mm).

evmaki commented 6 years ago

No problem, I can do that. Is there any specific naming convention needed for the rectangles in the "widgets" layer?

AndrewBelt commented 6 years ago

No, I don't bother, too much effort.

AndrewBelt commented 6 years ago

Fixed by #48 I'll realign knobs after realigning the panels themselves. As you probably discovered as well, the Mutable panels aren't perfectly consistent in alignment.

AndrewBelt commented 6 years ago

...or not. I don't see a widgets layer in the SVG. Can you document your procedure so I can reproduce?

evmaki commented 6 years ago

It's certainly there...though maybe Illustrator didn't export it as a "layer" in the way your script might use. It's in a top-level <g> tag with id="widgets"

AndrewBelt commented 6 years ago

Ah, I'll check that.