It is currently 19 May 2013, 22:34

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Trying to get a CAV map blur...
PostPosted: 09 Jul 2012, 15:11 
Offline

Joined: 16 Jun 2009, 09:28
Posts: 79
Hi there!

I'm trying to get a nice CAV map blur from ICE and so far I haven't had much luck. I followed this little tutee i found (here http://xsisupport.wordpress.com/2010/12/14/messing-around-with-vertex-colors/) but I'm not getting very good results.

ICE tree
Image

Before blur
Image

After blur
Image

Any ideas on how I could get a smoother blur mine just seems kinda rough... Also it crashes if i drop the cutoff distance too low in the get nearby points node.
Thanks
Pete


Top
 Profile  
 
 Post subject: Re: Trying to get a CAV map blur...
PostPosted: 09 Jul 2012, 15:42 
Offline
User avatar

Joined: 09 Jun 2009, 14:49
Posts: 359
Location: Brussels, Belgium / London, UK
Hi Pete,

think your tree is wired up wrong, this worked for me and changing the Nearby points falloff appears to increase the blurriness


Attachments:
File comment: Vertex Blur ICE tree
vertex_blur.png
vertex_blur.png [ 136.89 KiB | Viewed 1293 times ]

_________________
Gossip is what no one claims to like, but everybody enjoys.
Top
 Profile  
 
 Post subject: Re: Trying to get a CAV map blur...
PostPosted: 09 Jul 2012, 15:50 
Offline
User avatar

Joined: 08 Jun 2009, 21:11
Posts: 687
Location: Zagreb, Croatia
btw, before anything with vertex color, don't forget to change it to 'float' - default of 2 bytes usually shows the weirdness, with operations of this kind. If float isn't default, today....


Top
 Profile  
 
 Post subject: Re: Trying to get a CAV map blur...
PostPosted: 10 Jul 2012, 08:11 
Offline

Joined: 16 Jun 2009, 09:28
Posts: 79
Hey thanks guys,

I'm pretty sure my ICE tree is the same as Tekano's but it doesn't work that well.
How can I change it to float?

Thanks,
Pete


Top
 Profile  
 
 Post subject: Re: Trying to get a CAV map blur...
PostPosted: 10 Jul 2012, 11:28 
Offline
User avatar

Joined: 09 Jun 2009, 14:49
Posts: 359
Location: Brussels, Belgium / London, UK
Hey Pete, it looks like you have an extra node location in the top part of the tree that I dont - nor did the original tree that Stephen did. maybe this is the issue? In fact I can't even connect the tree up in the way you have without it going red.

_________________
Gossip is what no one claims to like, but everybody enjoys.


Top
 Profile  
 
 Post subject: Re: Trying to get a CAV map blur...
PostPosted: 10 Jul 2012, 18:33 
Offline
User avatar

Joined: 08 Jun 2009, 21:11
Posts: 687
Location: Zagreb, Croatia
Pete wrote:
Hey thanks guys,
How can I change it to float?
Thanks,
Pete

Under vertex color property (explorer an so on..), change data type. Problem happens when color is over 1, or maybe even just 1 or zero. Most likely, not a problem here. But, when you already walking through this field.... good to know, I think.

Image


Top
 Profile  
 
 Post subject: Re: Trying to get a CAV map blur...
PostPosted: 11 Jul 2012, 02:19 
Offline

Joined: 16 Jun 2009, 09:28
Posts: 79
Hi guys,
Thanks for the help but I haven't managed to figure it out yet. I tried the float setting and it changed the look slightly but it was still messed up.
Now I'm using an old blur (the company) script that works okay but it would be nice to get this happening in ICE.
Here's my compound in case you guys get the chance to check it out.

(i think you can drag this link directly into an ICE tree)
http://www.naffupdate.com/forumfiles/Vertex%20Colour%20Blur.xsicompound

Is there any other way to get vertex colour blur happening in ICE?

Thanks
Pete


Top
 Profile  
 
 Post subject: Re: Trying to get a CAV map blur...
PostPosted: 11 Jul 2012, 02:54 
Offline
User avatar

Joined: 08 Jun 2009, 21:11
Posts: 687
Location: Zagreb, Croatia
Pete wrote:
Hi guys,


Is there any other way to get vertex colour blur happening in ICE?

Thanks
Pete


of course, you can just use 'repeat' node to repeat the 'array average' from point neighbors. Without 'get nearby points'. This would be blur 'along surface'. Something along line of this one - not exactly the same, but I think you can figure out the 'blur' version.


Top
 Profile  
 
 Post subject: Re: Trying to get a CAV map blur...
PostPosted: 11 Jul 2012, 13:16 
Offline
User avatar

Joined: 09 Jun 2009, 14:49
Posts: 359
Location: Brussels, Belgium / London, UK
Pete, the one you just linked from works ok here! Of course there are loads of different ways to do this, I think Mathaeus has done a color blur - as well as vertex color sub surface scattering :D Eric Mootz has done a more comprehensive one called blur vertex data in his latest emtools pack. here is a new one Ive just made for you that does not use a repeat node, yet has a distance and strength and can be quite effective

Vertex blur PLUS compound here

example scene here


Attachments:
vertex_blur_plus.png
vertex_blur_plus.png [ 141.19 KiB | Viewed 1141 times ]

_________________
Gossip is what no one claims to like, but everybody enjoys.
Top
 Profile  
 
 Post subject: Re: Trying to get a CAV map blur...
PostPosted: 13 Jul 2012, 06:40 
Offline

Joined: 16 Jun 2009, 09:28
Posts: 79
Hey Thanks heaps Tekano!,
Just had a chance to look at it. I modified the compound a little so it sets the blur to the one CAV map (Sorry, I realised after that you had probably done that to keep things clean).

I tried to package it a little more so that you would just plug the CAV map into the compound but I ran into trouble and I can't figure out how to get this to work nicely.
I wanted to make it so you just plug the CAV map in -
Image

Image

Image

It isn't getting the right "in Name" but I can't think of a way to chop the object name off the front. Any ideas?

Here's the updated compound - http://www.naffupdate.com/forumfiles/Vertex%20Colour%20Blur.xsicompound

Thanks,
Pete.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group