Jump to content


Solved: Blur attributes in surface shader


  • Please log in to reply
1 reply to this topic

#1 Ole

Ole

    Peon

  • Members
  • Pip
  • 53 posts
  • Joined: 10-November 07
  • Location:Oslo, Norway
  • Name:Ole G.

Posted 17 August 2012 - 12:34 AM

Hi,

I am creating some paths on a grid at render time using point clouds and need to be able to blur the result so the edges can fade into the underlaying color. I have attached an image that illustrates the paths I am talking about. I don't have enough experience with Point Clouds to solve this my self, and I have not been able to find any examples of point cloud attribute blurring in a shader.

Edit: I found a solution in a SideFX example file that blurs a volume based on a point cloud and transfered this to a shader. Attached is a hip file with the attribute blur shader.


Thanks,
Ole

Attached Thumbnails

  • pointCloudGroundPaths.jpg

Attached Files


Edited by Ole, 28 August 2012 - 11:47 PM.

Gimpville.no

#2 cpb

cpb

    Illusionist

  • Members
  • PipPipPip
  • 286 posts
  • Joined: 17-March 03
  • Name:craig brown

Posted 17 August 2012 - 02:35 PM

try including the ground when building the point cloud (give it an integer attribute of zero, paths a value of 1),
then in the shader use pcfilter to get the attribute, widen the search radius in pcopen to blur.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users