[Bf-cycles] Building OSL for Blender

Sergey Sharybin sergey.vfx at gmail.com
Sat Jan 31 11:23:34 CET 2015


Hi,

That's a bit vague information. Is it OSL which has issues with compilation
or it's blender which fails to link against OSL library you built?

In any case, having an exact error messages would help.

On Sat, Jan 31, 2015 at 7:41 AM, Kevin Atkinson <kevin.atkinson at gmail.com>
wrote:

> I'm using OSL gabor noise for displacements in Blender, and I've been
> noticing nasty circle artifacts, coming from the rather coarse thresholding
> of the gaussian kernel.  I've been doing experiments with the gabor noise
> code outside of blender, and got very good results by simply changing the
> line
>
> static const float Gabor_Truncate = 0.02f;
>
>
> to
>
>
> static const float Gabor_Truncate = 0.0002f;
>
>
> This causes the search radius for impulses to be about half again as large, at some performance cost.  But not bad for reducing the artifact magnitude by a factor of a hundred.
>
>
> I'd like to get this working in Blender just for my own use and further testing, but I'm having trouble building OSL for blender.  I've checked out the "blender-fixes" branch, but I get linking errors because for some reason it doesn't link to the C++ standard library.
>
>
> I don't know much about CMake, and I am under the gun a bit, so I'm trying to to get in touch with whoever built the mac OSL library for blender to see if they have any suggestions.  Would that be Lukas Tönne?
>
>
> Many thanks, and any help much appreciated,
>
>
> Kevin Atkinson
>
>
>
>
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org
> http://lists.blender.org/mailman/listinfo/bf-cycles
>
>


-- 
With best regards, Sergey Sharybin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20150131/0e0ed51e/attachment.htm 


More information about the Bf-cycles mailing list