Tag Archive for 'Open Source'

Page 2 of 3

Blending Inkscape and Blender

One of the things I’ve always wanted to do is to work on an image in a 3D environment but then export the resultant image to an svg. Being the open source nut that I am my main weapons of choice are Blender for 3D work and Inkscape for vector. These programs have their advantages and their disadvantages. The main advantage they have over many similar programs is that they’re open source and free. They’re very capable products and are used quite widely and are being actively developed. In fact, Inkscape is getting ready to release version 0.47 (I’ve used a prerelease and it’s awesome)

For my task of exporting 3D models to SVG Blender falls slightly short because it doesn’t natively support this. There are a few plugins that have attempted to offer this and do well, but sometimes crash or give unexpected output. That, and for some users going through the hassle of finding the plugin might be too much.

The disadvantage Inkscape has is it’s handling of lots of nodes. The moment you hit around 10,000 nodes the program begins to noticeably slow down. For most simple logo work this isn’t a problem, but when you come to illustration and highly detailed artwork it gets in the way. This was the main thing stopping me from using the SVG that can be generated from Blender. To test it yourself, import an SVG into Blender and then export it as an SVG using either Pantograph or VRM. You’ll notice that it is now made up of about several hundred smaller shapes.

Before Import to Blender: 11 Objects, 124 nodes

Before Import to Blender: 11 Objects, 124 nodes

inkscapeblendertext

After Blender import: 2264 objects with 6792 nodes

This makes colouring or modifying the shape really hard. Sometimes, in Inkscape you can just highlight all of the shapes, go to Path > Union (Ctrl + Shift + +) to combine them all but sometimes it makes it all disappear.

Luckily there is a technique to get this to work. If you import an SVG be sure to apply the Ninja Decimate modifier to the shape and drag the Ratio slider down (thanks to heathenx for this tip). Please note that this only work if you shape is a mesh, so hit Alt + C and convert your shape to a mesh.

If you’re working with text you may notice that after you’ve applied the Decimate modifier and dragged the slider down all of your text looks… crap.

screenshot_15_01:24:52

This is because the modifier is treating the text as a whole shape and thus reducing the face count of the whole combine shape rather than treating each character as an individual shape. You need to separate them. To do this, in Edit mode (hit TAB to get there) hit P (don’t do this in normal mode. It runs the Blender game engine and will most likely crash Blender).

Separate menu

Separate menu

From the Separate menu choose All Loose Parts and now each character is an individual shape. Now, if you run the Decimate modifier on each individual character you have a lot more control over its final appearance.

After Modifications: 324 objects, 972 nodes

After Modifications: 324 objects, 972 nodes

I exported the text to an SVG using VRM but you can do so using that script, Pantograph or the 3D Polyhedron extension in the Render extension menu in Inkscape. Here’s another render showing exactly why you might want to go through this procedure:

70 objects, 36601 nodes

70 objects, 36601 nodes

After basic modification (text from an upcoming project)

After basic modification, 4042 nodes (text from an upcoming project)

The Decimate modifier has its limits. Where a human would simply combine two big triangular faces into a rectangle the modifier sometimes misses this and just over-complicates things and sometimes completely destroys a shape. This is where I ask the Blender community for assistance. Is there a script to easily reduce the face count of an object?

I think native SVG export is something that Blender should work towards in the future. There’s just too many possibilities and opportunities!

Linux Multimedia Studio

Whenever I’ve come across open source audio programs on people’s computers it’s always the same two, Audacity and VLC. Those two are great if you just want to play media files and do sound editing but what about composing full songs? That’s where I found Linux Multimedia Studio to be quite useful. It’s been compared to the likes of FL Studio (or Fruityloops) and for a good reason.

So far I’ve found it to be a really good program, despite not being at version 1 yet.

I’ve yet to make a full song in it, but that’s down to my knowledge of audio!

Open Source Art Zine on The Pool

I mentioned previously how I wanted to start an Open Source Art Zine (or something similar) and I’m still looking for any input! My idea is also up on The Pool. In case you didn’t know the pool is:

…an experiment in sharing art, text, and code–not just sharing digital files themselves, but sharing the process of making them. In place of the single-artist, single-artwork paradigm favored by the overwhelming majority of studio art programs and collection management systems, The Pool stimulates and documents collaboration in a variety of forms, including multi-author, asynchronous, and cross-medium projects.

Once you work your way around the interface why not add your thoughts to it!

Free Art Or Free Design

Reading Floss+Art really has got me wondering if art should be free. By free I don’t mean public domain, but rather in a way that ensures the work stays free, such as releasing their work under Creative Commons or some similar Copyleft licence?

When I approached this question I split it into two questions, should art be free and should design be free. To clarify, I see art as something more aesthetic, more pleasing to the eye. I don’t think it strictly is there to answer questions, but more to raise them. It’s like a fiction book, which isn’t there to provide facts, but to entertain.

I see design as something that solves problems. Need to push something up a hill? Design created the wheel. Need to make a mark on a paper? Design created the pen and pencil. It is true that there is some artistic (as I’m defining it here) concepts that went into it’s design, but primarily I see it as design.

Overall, of the two I feel that it is design that should be set free, especially when it can benefit so many people. On the screen a UI design may make a program easier to use but on a wider scale it sets the scale for other programs. If all other/similar programs followed the same design principles those programs in turn would become easier to use and everyone would benefit. However, too often I read of stories where companies patent whatever aspects of their program they can. Doing this does give them the upper hand over their rivals, but it prevents others from improving on their work and benefiting the users.