Jump to content


How to blur point colors?


  • Please log in to reply
8 replies to this topic

#1 magneto

magneto

    Grand Master

  • Members
  • PipPipPipPipPip
  • 1,302 posts
  • Joined: 04-October 11
  • Location:Canada
  • Name:Ryan K

Posted 27 June 2012 - 06:18 AM

I have a Grid with some point colors. Is there a way to blur them so the point colors get blurred like an image?

I couldn't think of anything, but here is how they look right now:

Posted Image


Thanks :)

#2 ehsan parizi

ehsan parizi

    Illusionist

  • Members
  • PipPipPip
  • 253 posts
  • Joined: 18-May 10
  • Location:San Francisco, CA
  • Name:E. Par.

Posted 27 June 2012 - 06:20 AM

have you tried smooth sop? (apply to color)

Edited by ehsan parizi, 27 June 2012 - 06:21 AM.


#3 eetu

eetu

    Illusionist

  • Members
  • PipPipPip
  • 479 posts
  • Joined: 30-May 07
  • Location:Helsinki, Finland
  • Name:eetu m

Posted 27 June 2012 - 06:21 AM

How about the oddly enough named Smooth SOP set to Color? :)

edit: ohh, ehsan won :)

Edited by eetu, 27 June 2012 - 06:22 AM.

A shitty theory is better than no theory at all

#4 mantragora

mantragora

    Initiate

  • Members
  • PipPip
  • 238 posts
  • Joined: 08-December 11
  • Location:frozen hell
  • Name:to be, or not to be, TD ?

Posted 27 June 2012 - 06:27 AM

You may check this. I found it in some odforce/sesi topic. Don't remember who's the author.

Attached Files


magic happens here... sometimes

Vimeo
Twitter

#5 magneto

magneto

    Grand Master

  • Members
  • PipPipPipPipPip
  • 1,302 posts
  • Joined: 04-October 11
  • Location:Canada
  • Name:Ryan K

Posted 27 June 2012 - 06:34 AM

Thanks alot guys, super useful. I didn't inspect Smooth SOP enough to realize it had options to blur colors and other attributes :)

But that made me also curious as to whether you could achieve other types of blurs. Like what about radial blur? Pretty sure this is not built-in, right? If not, then how would you do it? VOPs?

Also in the case of Radial Blur, just like the Smooth SOP, I am thinking of being able to apply to any attribute.

EDIT: That attribute blur OTL is great and pretty fast too. I can't see which line in the code does the blurring though.

Edited by magneto, 27 June 2012 - 06:39 AM.


#6 ChristianW

ChristianW

    Illusionist

  • Members
  • PipPipPip
  • 344 posts
  • Joined: 10-November 10
  • Location:London
  • Name:Christian Waite

Posted 27 June 2012 - 08:14 AM

You could always mantra-u it and treat it in COPs, then bring it back to SOP level if you don't have enough geo to smooth the attribute across.

#7 magneto

magneto

    Grand Master

  • Members
  • PipPipPipPipPip
  • 1,302 posts
  • Joined: 04-October 11
  • Location:Canada
  • Name:Ryan K

Posted 27 June 2012 - 08:23 AM

Thanks Christian, how would a basic setup of that be like? You render the geometry from top down and reference it in COPs?

#8 pclaes

pclaes

    Initiate

  • Members
  • PipPipPipPip
  • 713 posts
  • Joined: 07-October 06
  • Location:Method Studios, Los Angeles
  • Name:Peter Claes

Posted 27 June 2012 - 09:46 AM

You could also use and attribute transfer sop and wire the your colored grid into both inputs. Then make sure you set it to sample from more than 1 point and play with the radius a bit.

#9 magneto

magneto

    Grand Master

  • Members
  • PipPipPipPipPip
  • 1,302 posts
  • Joined: 04-October 11
  • Location:Canada
  • Name:Ryan K

Posted 27 June 2012 - 10:18 AM

Great trick Peter, so many ways :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users