1
$\begingroup$

I'm trying to make a wall disappear. Does freestyle support alpha? I mean there is an alpha for strokes but all it does is making my lines disappear but I still can't see strokes behind the wall

FreeStyleTest2

And here is the blend file: http://www.pasteall.org/blend/29200

$\endgroup$
2
  • $\begingroup$ thx for the edit, it is more obvious now ;) $\endgroup$
    – Vitaliy
    Commented May 16, 2014 at 1:21
  • $\begingroup$ I have just got a result with layering and compositing, I'm making 1 layer to slowly disappear and 2nd to draw the final picture with insides. Then blending them with alphaover. For my particular problem it works but I'm still wondering if there is any better way. $\endgroup$
    – Vitaliy
    Commented May 16, 2014 at 1:40

2 Answers 2

9
$\begingroup$

Yes, you can do this easily from the Freestyle settings. Blender/Freestyle gives you a lot of control. The parameter you want to change is QI Range. This specifies a range of face occlusion to render strokes for. So if you have a cube like in the example below you would set the range Start at 1, and End at 1 or higher and that would render strokes for the edges of the back of the cube.

Blender Freestyle QI Range

However if you had a second cube behind your first one, a range of Start:1~End:1 will cause the second cube not to have strokes rendered in the areas which are occluded by the foreground cube. Here is an example:

Freestyle QI Range Start1 End1

And if we up the values to Start:2~End:2 the foreground cube's back edges are not rendered but the front edges of the background cube are:

Freestyle QI Range Start2 End2

Here is your scene rendered with values of Start:1~End:100 and Alpha set to 0.5 for the occluded stroke set:

Your example scene with QI Range and Alpha

Here is the .blend: http://www.pasteall.org/blend/31648

And finally, here is the section of the Blender manual which explains this if you want to read further: https://www.blender.org/manual/render/freestyle/parameter_editor/line_set.html

$\endgroup$
3
  • $\begingroup$ Yeah, Mentalist, I have no clue where to find any of those settings. $\endgroup$
    – Jimbo
    Commented Jun 26, 2016 at 22:11
  • 1
    $\begingroup$ Everything I think "this won't be possible in Blender" I'm proven wrong. Amazing answer, thank you, helped me so much. $\endgroup$
    – Owen
    Commented Feb 13, 2020 at 17:09
  • $\begingroup$ @Owen I'm glad I could help! Yeah, Blender is amazing. Let's keep growing and supporting the community to keep it amazing. ;-) $\endgroup$
    – Mentalist
    Commented Feb 13, 2020 at 17:12
0
$\begingroup$

QI Is indeed the answer but the featured response doesn't tell you where it is: I found it in

Blender Properties Tab\View Layer Properties\Freestyle\Visibility:

Set Visible to Quantitative Invisibility, and only then can you adjust the depth.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .