From yengui.yessine at gmail.com Fri Oct 30 17:14:37 2009 From: yengui.yessine at gmail.com (Mohamed Yessine Yengui) Date: Fri, 30 Oct 2009 22:14:37 +0100 Subject: [Pbrt-discuss] problem with the sphere Message-ID: <57eb5b500910301414s6605f5cbk6090642c8a190916@mail.gmail.com> Hello! When I tried to render the sphere model with pbrt, I noticed that there was a dark point in the resulting image, normally, this point must be illuminated. After analyzing, I perceived that the normal vector computed on the sphere is not continuous. Could anyone help me to resolve this problem? This is my .pbrt file and you find in attached the resulting image. The dark point is in the red circle. Film "image" "string filename" ["sphere.exr"] "integer xresolution" [500] "integer yresolution" [500] Sampler "bestcandidate" "integer pixelsamples" [4] LookAt -12 -3 12 0 0 0 0 1 0 Camera "orthographic" WorldBegin AttributeBegin CoordSysTransform "camera" LightSource "distant" "color I" [ 3 3 3 ] "point from" [0 0 0] "point to" [-1 -1 1] AttributeEnd AttributeBegin Material "plastic" "color Kd" [1.0 1.0 1.0] "color Ks" [8 8 8] "float roughness" [.006] Shape "sphere" "float radius" [.3] AttributeEnd WorldEnd Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sphere.png Type: image/png Size: 14020 bytes Desc: not available Url : From john.danks at gmail.com Fri Oct 30 17:23:51 2009 From: john.danks at gmail.com (John Danks) Date: Fri, 30 Oct 2009 14:23:51 -0700 Subject: [Pbrt-discuss] problem with the sphere In-Reply-To: <57eb5b500910301414s6605f5cbk6090642c8a190916@mail.gmail.com> References: <57eb5b500910301414s6605f5cbk6090642c8a190916@mail.gmail.com> Message-ID: <209910870910301423p14672535r22e92ceaa7deac60@mail.gmail.com> Which version of pbrt are you using? I was not able to reproduce the problem with version 2. On Fri, Oct 30, 2009 at 2:14 PM, Mohamed Yessine Yengui wrote: > Hello! > > When I tried to render the sphere model with pbrt, I noticed that there was > a dark point in the resulting image, normally, this point must be > illuminated. After analyzing, I perceived that the normal vector computed on > the sphere is not continuous. Could anyone help me to resolve this problem? > > This is my .pbrt file and you find in attached the resulting image. ?The > dark point is in the red circle. > > > > ?Film "image" "string filename" ?["sphere.exr"] > ??? ??? "integer xresolution" [500] "integer yresolution" [500] > ???Sampler ?"bestcandidate" ?"integer pixelsamples" [4] > ???LookAt -12 -3 12 0 0 0 0 1 0 > ??? Camera "orthographic" > ??? WorldBegin > ???AttributeBegin > ?? CoordSysTransform "camera" > ???? LightSource "distant"? "color I" [ 3 3 3 ] "point from" [0 0 0] "point > to" [-1 -1 1] > ??? AttributeEnd > ??? AttributeBegin > ???? Material "plastic" "color Kd" [1.0 1.0 1.0] "color Ks" [8 8 8] "float > roughness" [.006] > ??? Shape "sphere" "float radius" [.3] > ???? AttributeEnd > ??? WorldEnd > > Thanks > _______________________________________________ > pbrt-discuss mailing list > pbrt-discuss at pbrt.org > http://six.pairlist.net/mailman/listinfo/pbrt-discuss > > From yengui.yessine at gmail.com Fri Oct 30 17:29:43 2009 From: yengui.yessine at gmail.com (Mohamed Yessine Yengui) Date: Fri, 30 Oct 2009 22:29:43 +0100 Subject: [Pbrt-discuss] problem with the sphere In-Reply-To: <209910870910301423p14672535r22e92ceaa7deac60@mail.gmail.com> References: <57eb5b500910301414s6605f5cbk6090642c8a190916@mail.gmail.com> <209910870910301423p14672535r22e92ceaa7deac60@mail.gmail.com> Message-ID: <57eb5b500910301429n61be3d82x6e5a7854b299c928@mail.gmail.com> the version is pbrt-1.03. 2009/10/30 John Danks > Which version of pbrt are you using? I was not able to reproduce the > problem with version 2. > > On Fri, Oct 30, 2009 at 2:14 PM, Mohamed Yessine Yengui > wrote: > > Hello! > > > > When I tried to render the sphere model with pbrt, I noticed that there > was > > a dark point in the resulting image, normally, this point must be > > illuminated. After analyzing, I perceived that the normal vector computed > on > > the sphere is not continuous. Could anyone help me to resolve this > problem? > > > > This is my .pbrt file and you find in attached the resulting image. The > > dark point is in the red circle. > > > > > > > > Film "image" "string filename" ["sphere.exr"] > > "integer xresolution" [500] "integer yresolution" [500] > > Sampler "bestcandidate" "integer pixelsamples" [4] > > LookAt -12 -3 12 0 0 0 0 1 0 > > Camera "orthographic" > > WorldBegin > > AttributeBegin > > CoordSysTransform "camera" > > LightSource "distant" "color I" [ 3 3 3 ] "point from" [0 0 0] > "point > > to" [-1 -1 1] > > AttributeEnd > > AttributeBegin > > Material "plastic" "color Kd" [1.0 1.0 1.0] "color Ks" [8 8 8] > "float > > roughness" [.006] > > Shape "sphere" "float radius" [.3] > > AttributeEnd > > WorldEnd > > > > Thanks > > _______________________________________________ > > pbrt-discuss mailing list > > pbrt-discuss at pbrt.org > > http://six.pairlist.net/mailman/listinfo/pbrt-discuss > > > > > _______________________________________________ > pbrt-discuss mailing list > pbrt-discuss at pbrt.org > http://six.pairlist.net/mailman/listinfo/pbrt-discuss > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yengui.yessine at gmail.com Sat Oct 31 11:24:57 2009 From: yengui.yessine at gmail.com (Mohamed Yessine Yengui) Date: Sat, 31 Oct 2009 16:24:57 +0100 Subject: [Pbrt-discuss] problem with the sphere In-Reply-To: <57eb5b500910301429n61be3d82x6e5a7854b299c928@mail.gmail.com> References: <57eb5b500910301414s6605f5cbk6090642c8a190916@mail.gmail.com> <209910870910301423p14672535r22e92ceaa7deac60@mail.gmail.com> <57eb5b500910301429n61be3d82x6e5a7854b299c928@mail.gmail.com> Message-ID: <57eb5b500910310824g2ea161e5ld57752c8df9fc9b1@mail.gmail.com> Hello! I tried with three linux versions of pbrt: version 1.04 and 1.03 from pbrt web site and version 1.03 from https://graphics.stanford.edu/wikis/cs348b-07/PBRTInfo. I reproduce the same problem with all these versions. But, I don?t understand what do you mean by version 2? Sorry, I?m new user of pbrt. Thanks 2009/10/30 Mohamed Yessine Yengui > the version is pbrt-1.03. > > 2009/10/30 John Danks > > Which version of pbrt are you using? I was not able to reproduce the >> problem with version 2. >> >> On Fri, Oct 30, 2009 at 2:14 PM, Mohamed Yessine Yengui >> wrote: >> > Hello! >> > >> > When I tried to render the sphere model with pbrt, I noticed that there >> was >> > a dark point in the resulting image, normally, this point must be >> > illuminated. After analyzing, I perceived that the normal vector >> computed on >> > the sphere is not continuous. Could anyone help me to resolve this >> problem? >> > >> > This is my .pbrt file and you find in attached the resulting image. The >> > dark point is in the red circle. >> > >> > >> > >> > Film "image" "string filename" ["sphere.exr"] >> > "integer xresolution" [500] "integer yresolution" [500] >> > Sampler "bestcandidate" "integer pixelsamples" [4] >> > LookAt -12 -3 12 0 0 0 0 1 0 >> > Camera "orthographic" >> > WorldBegin >> > AttributeBegin >> > CoordSysTransform "camera" >> > LightSource "distant" "color I" [ 3 3 3 ] "point from" [0 0 0] >> "point >> > to" [-1 -1 1] >> > AttributeEnd >> > AttributeBegin >> > Material "plastic" "color Kd" [1.0 1.0 1.0] "color Ks" [8 8 8] >> "float >> > roughness" [.006] >> > Shape "sphere" "float radius" [.3] >> > AttributeEnd >> > WorldEnd >> > >> > Thanks >> > _______________________________________________ >> > pbrt-discuss mailing list >> > pbrt-discuss at pbrt.org >> > http://six.pairlist.net/mailman/listinfo/pbrt-discuss >> > >> > >> _______________________________________________ >> pbrt-discuss mailing list >> pbrt-discuss at pbrt.org >> http://six.pairlist.net/mailman/listinfo/pbrt-discuss >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: