From billconan at gmail.com Mon Mar 10 20:32:25 2008 From: billconan at gmail.com (Bill Conan) Date: Mon, 10 Mar 2008 17:32:25 -0700 Subject: [Pbrt-discuss] access violation with photon mapping scenes Message-ID: <555ee1790803101732l581ebd9ci5b27da6eb228e054@mail.gmail.com> hi there, i got access violation errors when rendering scenes requiring photon mapping. i'm wondering if this is a known bug and if there is any solution. i tried the binary on the CD, it works fine. but the one i compiled from the source code posted on the web page is always problematic. i'm using visual studio 2005 under windows xp. thank you. -- Dept. of Computer Science University of California, Davis Homepage:http://wwwcsif.cs.ucdavis.edu/~yans/ From slavomir.kaslev at gmail.com Tue Mar 11 06:33:04 2008 From: slavomir.kaslev at gmail.com (Slavomir Kaslev) Date: Tue, 11 Mar 2008 12:33:04 +0200 Subject: [Pbrt-discuss] access violation with photon mapping scenes In-Reply-To: <555ee1790803101732l581ebd9ci5b27da6eb228e054@mail.gmail.com> References: <555ee1790803101732l581ebd9ci5b27da6eb228e054@mail.gmail.com> Message-ID: <171dfd0a0803110333x7b419cb4qaae6fafc79178c74@mail.gmail.com> Hey, The problem is actually in core/kdtree.h. Change line 96 from std::nth_element(&buildNodes[start], &buildNodes[splitPos], &buildNodes[end], CompareNode(splitAxis)); to std::nth_element(buildNodes.begin() + start, buildNodes.begin() + splitPos, buildNodes.begin() + end, CompareNode(splitAxis)); Cheers! On Tue, Mar 11, 2008 at 2:32 AM, Bill Conan wrote: > hi there, > > i got access violation errors when rendering scenes requiring photon > mapping. i'm wondering if this is a known bug and if there is any > solution. > i tried the binary on the CD, it works fine. but the one i compiled > from the source code posted on the web page is always problematic. > > i'm using visual studio 2005 under windows xp. > > thank you. > > -- > Dept. of Computer Science > University of California, Davis > Homepage:http://wwwcsif.cs.ucdavis.edu/~yans/ > _______________________________________________ > pbrt-discuss mailing list > pbrt-discuss at pbrt.org > http://six.pairlist.net/mailman/listinfo/pbrt-discuss > -- Slavomir Kaslev From billconan at gmail.com Tue Mar 11 13:17:03 2008 From: billconan at gmail.com (Bill Conan) Date: Tue, 11 Mar 2008 10:17:03 -0700 Subject: [Pbrt-discuss] access violation with photon mapping scenes In-Reply-To: <171dfd0a0803110333x7b419cb4qaae6fafc79178c74@mail.gmail.com> References: <555ee1790803101732l581ebd9ci5b27da6eb228e054@mail.gmail.com> <171dfd0a0803110333x7b419cb4qaae6fafc79178c74@mail.gmail.com> Message-ID: <555ee1790803111017s7203eaa2k5bd5dc0982293946@mail.gmail.com> thx a lot. On Tue, Mar 11, 2008 at 3:33 AM, Slavomir Kaslev wrote: > Hey, > > The problem is actually in core/kdtree.h. Change line 96 from > std::nth_element(&buildNodes[start], &buildNodes[splitPos], > &buildNodes[end], CompareNode(splitAxis)); > to > std::nth_element(buildNodes.begin() + start, buildNodes.begin() + splitPos, > buildNodes.begin() + end, CompareNode(splitAxis)); > > Cheers! > > > > On Tue, Mar 11, 2008 at 2:32 AM, Bill Conan wrote: > > hi there, > > > > i got access violation errors when rendering scenes requiring photon > > mapping. i'm wondering if this is a known bug and if there is any > > solution. > > i tried the binary on the CD, it works fine. but the one i compiled > > from the source code posted on the web page is always problematic. > > > > i'm using visual studio 2005 under windows xp. > > > > thank you. > > > > -- > > Dept. of Computer Science > > University of California, Davis > > Homepage:http://wwwcsif.cs.ucdavis.edu/~yans/ > > _______________________________________________ > > pbrt-discuss mailing list > > pbrt-discuss at pbrt.org > > http://six.pairlist.net/mailman/listinfo/pbrt-discuss > > > > > > -- > Slavomir Kaslev > _______________________________________________ > pbrt-discuss mailing list > pbrt-discuss at pbrt.org > http://six.pairlist.net/mailman/listinfo/pbrt-discuss > -- Dept. of Computer Science University of California, Davis Homepage:http://wwwcsif.cs.ucdavis.edu/~yans/ From billconan at gmail.com Sun Mar 16 16:06:48 2008 From: billconan at gmail.com (Bill Conan) Date: Sun, 16 Mar 2008 13:06:48 -0700 Subject: [Pbrt-discuss] comic rendering attempt Message-ID: <555ee1790803161306x57d5e887jffff4d9ba862ccce@mail.gmail.com> hello guys, i bought a book called noir comic introducing a drawing technique that uses only black and white. as the author says, black is the most vibrant. here is a picture of the book: http://bp0.blogger.com/_FFJb9I4O1_8/R91302uKwjI/AAAAAAAAAzg/my6JFyamWuI/s1600-h/IMG_1533.JPG i tried to render the same comic sytle via pbrt. here are some results i got: http://bp1.blogger.com/_FFJb9I4O1_8/R915uGuKwkI/AAAAAAAAAzo/alxY5jb1Pkk/s1600-h/pbrt.png http://bp2.blogger.com/_FFJb9I4O1_8/R916KWuKwlI/AAAAAAAAAzw/8h_aAgq3ibE/s1600-h/pbrt1.png http://bp1.blogger.com/_FFJb9I4O1_8/R916gGuKwmI/AAAAAAAAAz4/IBLesbLOnSk/s1600-h/pbrt3.png http://bp2.blogger.com/_FFJb9I4O1_8/R916vWuKwnI/AAAAAAAAA0A/NhQ6sJ8idEc/s1600-h/pbrt6.png still has some problems. thank you. -- Dept. of Computer Science University of California, Davis Homepage:http://wwwcsif.cs.ucdavis.edu/~yans/