Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#121 hair shader not working?!?

open
nobody
None
5
2010-02-25
2010-02-25
Anonymous
No

I have a basic hair shader that workes with prman and 3delight, but not with Pixie.
Included is the shader and the source of a dso to generate some fur.

Discussion

  • hair shader and demo files

     
    Attachments
  • Bob Mercier
    Bob Mercier
    2010-02-25

    This is the original submitter. I've localized the bug to the 'pow()' call in the illuminance loop, when I replace
    it I get similar results on prman, 3delight and pixle. btw, pixie sure as hell can render RiCurves quickly!!!

     
  • Bob Mercier
    Bob Mercier
    2010-02-26

    This may not be a bug... The shader is passing negative values to pow(). which "does the right thing".
    Not sure why it looks ok on the other platforms. Print statements in shaders seem to kill pixie...

     
  • Okan Arikan
    Okan Arikan
    2010-02-26

    Hi Bobmercier

    This is good feedback, I will make sure the pow call is protected.

    BTW, I was unable to compile your DSO on Windoze due to some undefined symbols.

    Okan

     
  • Okan Arikan
    Okan Arikan
    2010-02-26

    This problem is fixed in the trunk

    Okan