[Bf-cycles] Volume patch rebased, added bidirectional experimental core.

Kel M kelvinshrek at gmail.com
Sat Jan 21 17:33:29 CET 2012


Hi, linux compile is working fine, but windows is failing:

29>------ Build started: Project: cycles_kernel, Configuration: Release
Win32 ------
29>Compiling...
29>kernel.cpp
29>f:\blender-volume\blender\intern\cycles\kernel\kernel_path.h(401) :
warning C4101: 'i' : unreferenced local variable
29>f:\blender-volume\blender\intern\cycles\kernel\kernel_path.h(397) :
warning C4101: 'isect' : unreferenced local variable
28>f:\blender-volume\lib\windows\openimageio\include\openimageio\ustring.h(610)
: warning C4251: 'OpenImageIO::v0::ustring::empty_std_string' : class
'std::basic_string<_Elem,_Traits,_Ax>' needs to have dll-interface to be
used by clients of class 'OpenImageIO::v0::ustring'
29>f:\blender-volume\blender\intern\cycles\kernel\kernel_mlt.h(1672) :
error C3861: 'isfinite': identifier not found
28>        with
29>f:\blender-volume\blender\intern\cycles\kernel\kernel_mlt.h(1672) :
error C3861: 'isfinite': identifier not found
29>f:\blender-volume\blender\intern\cycles\kernel\kernel_mlt.h(1672) :
error C3861: 'isfinite': identifier not found
29>f:\blender-volume\blender\intern\cycles\kernel\kernel_mlt.h(1672) :
error C3861: 'isfinite': identifier not found
29>f:\blender-volume\blender\intern\cycles\kernel\kernel_mlt.h(1683) :
error C3861: 'isfinite': identifier not found
28>        [
28>            _Elem=char,
28>            _Traits=std::char_traits<char>,
28>            _Ax=std::allocator<char>
28>        ]
28>F:\Blender-Volume\blender\..\lib\windows\openimageio\include\OpenImageIO/paramlist.h(199)
: warning C4251: 'OpenImageIO::v0::ParamValueList::m_vals' : class
'std::vector<_Ty>' needs to have dll-interface to be used by clients of
class 'OpenImageIO::v0::ParamValueList'
29>Build log was saved at
"file://f:\Blender-Volume\build\intern\cycles\kernel\cycles_kernel.dir\Release\BuildLog.htm"
28>        with
28>        [
28>            _Ty=OpenImageIO::v0::P107>Build log was saved at
"file://f:\Blender-Volume\build\source\blender\blenkernel\bf_blenkernel.dir\Release\BuildLog.htm"
107>bf_blenkernel - 0 error(s), 3 warning(s)
110>------ Build started: Project: blender, Configuration: Release Win32
------
110>Compiling...
110>buildinfo.c
110>creator.c
110>Generating Code...
110>Compiling resources...
110>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
110>Copyright (C) Microsoft Corporation.  All rights reserved.
110>Linking...
110>LINK : fatal error LNK1181: cannot open input file
'..\..\lib\Release\cycles_kernel.lib'
110>Build log was saved at
"file://f:\Blender-Volume\build\source\creator\blender.dir\Release\BuildLog.htm"
110>blender - 1 error(s), 0 warning(s)
111>------ Build started: Project: INSTALL, Configuration: Release Win32
------aramValue
28>        ]
29>cycles_kernel - 5 error(s), 2 warning(s)

and



On Fri, Jan 20, 2012 at 4:57 PM, storm <kartochka22 at yandex.ru> wrote:

> Minor change to volume patch, I enabled direct light, it help a lot in
> case my outdoor "fog street lights" test scenes, and now point lights
> work. Bug was related to MULTI_CLOSURE case that I handle wrong way, now
> it wrong too but work for simple cases. But direct light algorithm
> cannot handle shadow probe rays well (ok, I cannot integrate it proper
> way, and going to use bi-dir tracer for that) and point light cannot
> penetrate object boundary, even Transparent material or Glass. So, you
> can test point light only with Background volume. No "point light near
> wax canlde", only "glowing point light on myst street", sorry.
>
> I have first half(quarter?)-working bidirectional intergator, so share
> that code as well as promised. It can be selected by changing
> "integrator type" in Integrator settings panel to 1. I keep all in
> kernel_mlt.h. Please do not use it at all, it plain wrong, much slower
> (orders of magnitude) than path tracer and produce wrong colors (of
> course in a time it is not busy eating cats, hard disk data, you know).
> Brecht, do even open it pease, it more to myself, to stimulate myself to
> fix it when other ppl can see that sh*t.
>
> For all other curious : "Woring" part is light contribution
> connect_background(), it 1:1 as PT, and more interesting
> connect_both_paths(), it cost me a lot of nerve cells and some weeks
> until I figure that I not need to divide by (eye_bsdf_pdf *
> light_bsdf_pdf).
>
> Patch grow to 150+KB, I use bzip2.
>
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org
> http://lists.blender.org/mailman/listinfo/bf-cycles
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20120121/92314936/attachment.htm 


More information about the Bf-cycles mailing list