[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Backface culling in cycles renders

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 18
Thread images: 8

File: ss+(2017-08-22+at+01.06.38).png (39KB, 578x736px) Image search: [Google]
ss+(2017-08-22+at+01.06.38).png
39KB, 578x736px
I'm a blender babby who makes models for games, not art, and I've got a model I'm actually using for an art project for once

I'm trying to make geometry-based outlines (akin to GGXRD or JSRF) and I want to render these outlines in Cycles

the outlines themselves are just a fattened duplicate of the mesh with the normals inverted, but no method I've been able to find works for the problem I'm having and the render always ends up rendering the backfaces of the outline leaving me a black silhouette of the character

pic related, how would I go about making geometry-based outlines render properly in cycles? Am I just too babby for this?
>>
I too tried recently to render a character with the inverted normal hull method in Cycles, but i failed.
Might be my lack of knowledge of Cycles, or it isn't possible.
It works however flawless in Blenders old Internal render.
>>
File: testan.png (84KB, 960x540px) Image search: [Google]
testan.png
84KB, 960x540px
>>578671
i want to avoid using blenders internal render since i already have shaders set up for the cartoon-like shading im going for

pic related, old render but all of the shader settings are in place

if nothing else works, what I could do is render the outlines as an alpha layer in Blender internal (white outline mesh, black duplicated makoto mesh, black background) and then superimpose that over the outline-less cycles render, I just want to know if theres a way that requires less work
>>
>>578674
Lets just hope somebody with more knowledge comes around and tells us.
I am really interested in an NPR anime like style, but if all fails i just render in C4d's sketch and toon or Mental Ray.
>>
well great, now I'm having an equally impossible time figuring out how the fuck to accomplish this in blender's internal render

I guess the fucking blender staff are too brainfucked to understand that there maybe might be a desire for this sort of functionality from more people than just shader genies
>>
Why not use a different renderer?
>>
haven' you heard about freestyle rendering?
>>
>>578674
you better use the blender internal because cycles is a ray trace engine and it makes the shadows too soft.
the toon shader in both cycles in internal is the same thing, you have to adjust the shader sliders in order to get good results.
and this >>578722
>>
>>578683
i know all about internal, just ask
>>
File: blender_2017-08-22_23-46-33.png (136KB, 1004x649px) Image search: [Google]
blender_2017-08-22_23-46-33.png
136KB, 1004x649px
Very possible, anon.
>>
File: blender_2017-08-22_23-48-06.png (16KB, 321x268px) Image search: [Google]
blender_2017-08-22_23-48-06.png
16KB, 321x268px
>>578727
And your result.
>>
File: 3324.png (138KB, 1171x656px) Image search: [Google]
3324.png
138KB, 1171x656px
here is a quick rundown (blender internal)

>make duplicate of your model
>give it a black material
>inflate the new mesh with alt+d a little bit
>invert normals of new mesh
>click on use nodes in on the black material
>go to composition nodes
>put geometry node
>put front/back into alpha

no need to use nodes for your main material
>>
>>578729
meant material nodes*
>>
Is it possible to make an outline of the model without the fattened and flipped normals method, like with a shader? Super new here, sorry if its a very simple question.
>>
>>578722
freestyle looks like sin, i aint touching that shit
>>
File: ss+(2017-08-22+at+06.20.43).png (2KB, 191x61px) Image search: [Google]
ss+(2017-08-22+at+06.20.43).png
2KB, 191x61px
>>578728
>>578727
dont worry, by this point i already figured it out

I had... ONE setting tweaked to the wrong values, and I had no clue it was a setting problem or which setting it was until i stumblrd upon it

these two were set to zero

I'm a little babby
>>
>>578743
>freestyle looks like sin, i aint touching that shit
It's extremely powerful, which means default results look like garbage. You can't just fuck with settings to try and get a good result, you have to read the documentation (or watch some videos) and then spend a fair bit of time understanding and tweaking and setting it up.
It might seem like a huge pain, and it is, but you can get some really excellent results particularly with animations once you put in the time to master it.

Incidentally, the Cycles toon shader is the same way. Totally garbage useless results if you just slap it on a mesh; you have to setup the proper lights (to get hard shadows) and render settings (low or zero light bounces)
>>
File: ss+(2017-08-23+at+10.31.44).png (225KB, 754x918px) Image search: [Google]
ss+(2017-08-23+at+10.31.44).png
225KB, 754x918px
>>578770
already got the toon shader up and runnin
Thread posts: 18
Thread images: 8


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.