View topic - Photonmaping black dots on 2.65 ubuntu x64

Photonmaping black dots on 2.65 ubuntu x64

Users-contributed CVS development builds. Post here your questions about compiling the source code.

Photonmaping black dots on 2.65 ubuntu x64

Post Mon Jan 07, 2013 9:30 pm

Hi,

I am glad that website is back again.
I noticed that 2.65 exporter on ubuntu x64 produces lots of black dots with bg portals and ibl lighting.
You can test this scene, but any scene with ibl and portals will produce same black dots even with difuse grey material.
It's interesting that 2.63 exporter didn't produced that bug.
Don't know about 2.64 because I changed directly to 2.65.

Here is the test scene with difusemat and portal. Please add hdr.
TESTE.blend.zip
test scene
(80.88 KiB) Downloaded 501 times


Here the result of the scene on 2.65.
265cube.png
2.65


Here the nice result on 2.63 with textures
263.png
2.63


Here the same model tested with 2.65
265.png
2.65 dots


Hope this is easy to solve since bg portals give us beautifull photons! :wink:
Arquitecto can be contacted here:
Arquitectos
Arquitecto
 
Posts: 249
Joined: Mon Jul 27, 2009 8:42 am
Location: Portugal

Re: Photonmaping black dots on 2.65 ubuntu x64

Post Tue Jan 08, 2013 11:28 am

post the scene please
User avatar
Samo
 
Posts: 3089
Joined: Tue Dec 20, 2005 10:39 am
Location: Spain

Re: Photonmaping black dots on 2.65 ubuntu x64

Post Tue Jan 08, 2013 9:01 pm

Samo wrote:post the scene please


Did you read my post?
It's already there. :roll:

The only thing missing is hdr but all of my hdr show same result.
You can add any of yours.
More passes = more black dots

untitled4.png
3


untitled3.png
2


untitled2.png
1
Arquitecto can be contacted here:
Arquitectos
Arquitecto
 
Posts: 249
Joined: Mon Jul 27, 2009 8:42 am
Location: Portugal

Re: Photonmaping black dots on 2.65 ubuntu x64

Post Tue Jan 08, 2013 9:30 pm

Code: Select all
Did you read my post?
It's already there. :roll:


sorry
User avatar
Samo
 
Posts: 3089
Joined: Tue Dec 20, 2005 10:39 am
Location: Spain

Re: Photonmaping black dots on 2.65 ubuntu x64

Post Tue Jan 08, 2013 10:29 pm

I tested your scene and see no black dots.

EDIT:- Are these environment maps angular or spherical ?
User avatar
stoneage
 
Posts: 1240
Joined: Sun Dec 23, 2007 1:06 pm

Re: Photonmaping black dots on 2.65 ubuntu x64

Post Wed Jan 09, 2013 10:26 am

stoneage wrote:I tested your scene and see no black dots.

EDIT:- Are these environment maps angular or spherical ?


Sphere.
How can I help you detect the issue?
Arquitecto can be contacted here:
Arquitectos
Arquitecto
 
Posts: 249
Joined: Mon Jul 27, 2009 8:42 am
Location: Portugal

Re: Photonmaping black dots on 2.65 ubuntu x64

Post Wed Jan 09, 2013 10:59 am

Anyone can check this scene with the 32-bit version of Ubuntu?
I think it may be a problem with Ubuntu x64 libraries..

http://www.graphicall.org/1027

Thanks...
povmaniac
 
Posts: 173
Joined: Wed Dec 12, 2012 10:01 am

Re: Photonmaping black dots on 2.65 ubuntu x64

Post Wed Jan 09, 2013 1:31 pm

Arquitecto wrote:Sphere.
How can I help you detect the issue?

There is an issue with spherical maps. When mapped to sphere they produce no illumination. I also had some black dots when reworking a file for 2.65 that used sphere maps. Try angular maps instead.
User avatar
stoneage
 
Posts: 1240
Joined: Sun Dec 23, 2007 1:06 pm

Re: Photonmaping black dots on 2.65 ubuntu x64

Post Wed Jan 09, 2013 2:51 pm

stoneage wrote:
Arquitecto wrote:Sphere.
How can I help you detect the issue?

There is an issue with spherical maps. When mapped to sphere they produce no illumination. I also had some black dots when reworking a file for 2.65 that used sphere maps. Try angular maps instead.


Hi stoneage,

Confirmed.
The issue only affects sphere maps on blender 2.65.
Changing the hdr mappping to angmap eliminates the black dots even using the previous hdr. (But the bg will of course be wrongly mapped)
Is it any library on blender 2.65?
Arquitecto can be contacted here:
Arquitectos
Arquitecto
 
Posts: 249
Joined: Mon Jul 27, 2009 8:42 am
Location: Portugal

Re: Photonmaping black dots on 2.65 ubuntu x64

Post Wed Jan 09, 2013 5:57 pm

Is it any library on blender 2.65?


I meant a Ubuntu x64 library ..
Any 'black dots' using 'spherical' mapping in win32.
hdri_env_blend.png


Although I also believe that we should review the code of 'backgrounds settings'. There are some options that are not used for YafaRay and yet, missing some as 'rotation'.
Code: Select all
if( params.getParam("mapping", mapping) )
   {
      if(*mapping == "probe" || *mapping == "angular") pr = angular;
   }
   params.getParam("ibl", IBL);
   params.getParam("ibl_samples", IBL_sam);
   params.getParam("power", power);
   params.getParam("rotation", rot);
   params.getParam("with_caustic", caust);
   params.getParam("with_diffuse", diffuse);
   
   background_t *texBG = new textureBackground_t(tex, pr, power, rot);
   
   if(IBL)
   {
      paraMap_t bgp;
      bgp["type"] = std::string("bglight");
      bgp["samples"] = IBL_sam;
      bgp["shoot_caustics"] = caust;
      bgp["shoot_diffuse"] = diffuse;
      bgp["abs_intersect"] = (pr == angular);
      
      light_t *bglight = render.createLight("textureBackground_bgLight", bgp);
      
      bglight->setBackground(texBG);
      
      if(bglight) render.getScene()->addLight(bglight);
   }
povmaniac
 
Posts: 173
Joined: Wed Dec 12, 2012 10:01 am

Re: Photonmaping black dots on 2.65 ubuntu x64

Post Wed Jan 09, 2013 9:58 pm

Hi povmaniac,

Thank you very much for your answer.

If it's a ubuntu x64 issue why with blender 2.63 sphere maps are perfectly working?
Arquitecto can be contacted here:
Arquitectos
Arquitecto
 
Posts: 249
Joined: Mon Jul 27, 2009 8:42 am
Location: Portugal

Re: Photonmaping black dots on 2.65 ubuntu x64

Post Wed Apr 08, 2015 2:56 am

I can see no problems with the latest versions. If it still happens to you, please provide an example of .blend and the hdr file as well so we can replicate it the same way you did.
User avatar
David Bluecame
 
Posts: 456
Joined: Mon Jan 21, 2013 12:42 pm
Location: Spain


Return to Testing Builds



Who is online

Users browsing this forum: No registered users and 3 guests