[Bf-cycles] Bevel shader

Stefan Werner stewreo at gmail.com
Sun Aug 20 12:35:45 CEST 2017


Maybe I’m overlooking something, but why is ray tracing necessary for beveled edges? Wouldn’t it be more accurate and quicker to store per-face, per-vertex and per-edge normals and blend between them based on the current point’s distance to the nearest edge and vertex?

-Stefan

> On 20. Aug 2017, at 11:17, Brecht Van Lommel <brechtvanlommel at pandora.be> wrote:
> 
> There is no support for baking this yet, there's a bunch of issues to resolve for that still.
> 
> On Sun, Aug 20, 2017 at 2:42 AM, Alberto Velázquez <alberto3d.1984 at gmail.com <mailto:alberto3d.1984 at gmail.com>> wrote:
> WOW, It works really great and speedy that OSL solution. It's really exciting. Which is the workflow to bake it?
> 
> warm regards
> 
> 2017-08-20 1:55 GMT+02:00 Brecht Van Lommel <brechtvanlommel at pandora.be <mailto:brechtvanlommel at pandora.be>>:
> Here's a patch for a bevel shader node:
> https://developer.blender.org/D2803 <https://developer.blender.org/D2803>
> 
> It's using a raytraced sampling algorithm that's different than other rounded edge implementations I've heard of, derived from BSSRDF sampling.
> 
> On Fri, Aug 18, 2017 at 2:11 PM, Stefan Werner <stewreo at gmail.com <mailto:stewreo at gmail.com>> wrote:
> Hi,
> 
> > On 18. Aug 2017, at 09:40, Alberto Velázquez <alberto3d.1984 at gmail.com <mailto:alberto3d.1984 at gmail.com>> wrote:
> >
> > Actually we have a workaround to try bevels with OSL, but it don't work properly, it's really slow (x5-10 times in render time from CPU) and it is really complex to use. And It's worst baking.
> 
> Without having tried it, I wouldn’t expect much better performance without OSL. A rounded edge shader requires tracing several extra rays, which are costly regardless of the shader language.
> 
> If anyone wants to try their luck implementing it directly in Cycles, these modifications made by Chaos Group could be helpful:
> http://on-demand.gputechconf.com/gtc/2016/presentation/s6345-taskov-blagovest-advances-in-v-ray.pdf <http://on-demand.gputechconf.com/gtc/2016/presentation/s6345-taskov-blagovest-advances-in-v-ray.pdf>
> 
> -Stefan
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org <mailto:Bf-cycles at blender.org>
> https://lists.blender.org/mailman/listinfo/bf-cycles <https://lists.blender.org/mailman/listinfo/bf-cycles>
> 
> 
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org <mailto:Bf-cycles at blender.org>
> https://lists.blender.org/mailman/listinfo/bf-cycles <https://lists.blender.org/mailman/listinfo/bf-cycles>
> 
> 
> 
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org <mailto:Bf-cycles at blender.org>
> https://lists.blender.org/mailman/listinfo/bf-cycles <https://lists.blender.org/mailman/listinfo/bf-cycles>
> 
> 
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org
> https://lists.blender.org/mailman/listinfo/bf-cycles

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-cycles/attachments/20170820/1a49eb85/attachment.html>


More information about the Bf-cycles mailing list