Comment 8 for bug 172151

Revision history for this message
Rafa Colunga (rafa-sinuhe) wrote :

The extrude effect already available in the menu is an excellent start for the tool, basically it copies the path in a background layer and then creates some poligons by joining respective points in both paths. This is a good way to obtain extruded solids in an orthogonal perspective, but it doesn't work well with circle objects ( circular paths are ok ).

To obtain a perspective like in a conical projection, the copy of the path could be reduced or augmented in the proportion that the depth handler indicates, and then again join the respective points to generate the "sides" of the solid.

The current extrude effect is a bit difficult to use, because you must colorize every poligon created to achieve good results, which is a very costly process.

The tool also needs options to determine the colors of the object's "sides" and the "light source" for the solid, which in the end would determine the fill of all the visible polygons (basically gradients going from this color to black or white oriented in the angle of this "light source").