Help save net neutrality! Learn more.
Close

Pixie 1.4.3: environment map bugged yet

MaxG
2005-07-13
2013-04-25
  • MaxG

    MaxG - 2005-07-13

    Hi Okan! Hi George!
    I tried Pixie 1.4.3: improvements and fixes are nice, but environment map bug is still here.
    See: http://www.george-graphics.co.uk/pixiewiki/cgi-bin/wiki.pl?ProblemRIBS
    (Ambient Occlusion with Environment Map)

    Best regards,

    Massimiliano_g

     
    • George Harker

      George Harker - 2005-07-13

      Sorry about that, missed out that one.

      Both occlusion() and indirectdiffuse() now support the environment map directly.  Ie.

          float occ = occlusion(P, Ns, samples, "environmentmap", envmap,
          "irradiance", envcolor);

      Will give you irradiance (surface color only, single bounce) which includes the environment lookups.

      I noticed that PRMan has a "environmentcol",col argument to occlusion which returns the environment color only, not the occluded hit colors (as "irradiance" does) if that's any use to you, I'll probably add it for the next release.  For now, it is possible to retrieve a smoother result (though affected by occluding object colors) using the environment map in occlusion() ..  I'll also try to fix the environment lookup issue for next time.

      Cheers

      George

       
    • MaxG

      MaxG - 2005-07-14

      Thanks, George.

      Good work,

      Massimiliano_g

       

Log in to post a comment.