Jump to content


Read illumination from a point cloud


  • Please log in to reply
2 replies to this topic

#1 chimeric

chimeric

    Peon

  • Members
  • Pip
  • 36 posts
  • Joined: 03-August 11
  • Location:Poland
  • Name:Dawid Skrodzki

Posted 23 July 2012 - 12:42 AM

Hi guys,

I am trying to read a illumination information from a point cloud I have previously generated using custom shader. Basically I am trying to do the same thing as in Renderman. The difference is that I am trying to use Point Cloud VOPs for this and I only need direct illumination read back. The writing seems pretty straight forward since I could generate the point cloud without any problem. However when I am trying to read it I get only back render and I am not entirely sure what is wrong there. I am attaching the example file.

Thanks in advance,
Dawid

Attached Files


Edited by chimeric, 23 July 2012 - 12:43 AM.


#2 anim

anim

    Houdini Master

  • Members
  • PipPipPipPip
  • 986 posts
  • Joined: 23-August 07
  • Location:Slovakia, Bratislava
  • Name:Tomas Slancik

Posted 28 July 2012 - 09:07 PM

to read it back you can just use pcfilter, it doesn't require to be in while loop as you have it now
just plain pcopen-pcfilter-color
but important part, as a channel in pcfilter put just Cd, instead of yours Cd:color, since as you can see when you open your pcloud as points the name is just Cd
then it should work
Tomas Slancik
Generalist
Slovakia

#3 chimeric

chimeric

    Peon

  • Members
  • Pip
  • 36 posts
  • Joined: 03-August 11
  • Location:Poland
  • Name:Dawid Skrodzki

Posted 06 August 2012 - 01:17 AM

Thank you Tomas, I will try this out soon!

P.S.: It is a pity we didn't have opportunity to meet at the uni, hope your project going well :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users