Displacement shader question

   4619   6   0
User Avatar
Member
383 posts
Joined:
Offline
Hello all,

I start to learn to learn displacement shading and as always problem comes …



As you can see i create a curve to try control amount of displacement with.
But my method use value from the point of my grid object. The result i obtain is an “aliased” displacement.
I wonder how to use my curve to get a smooth displacement independant of any grid resolution or polygons amount.

Thanks for your help
I attach my hip just in case …

Attachments:
shadDispTest.hip (187.0 KB)

http://vimeo.com/vbkstudio [vimeo.com]
User Avatar
Member
678 posts
Joined: July 2005
Offline
Add smoothSOP after attribtransfer1 and “apply to” option set to color. Later play with “smoothing iterations”.

Edited by - March 11, 2010 06:25:53
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
Hi If you want to displace geometry you could always use a vop sop to shift the geo along normals. Which could provide a interactive feedback.

opps I stand corrected nice work swann that smooth sop works to some degree .Maybe pure sops approach would be better to achieve an end result but as ever I guess it just depends what look your going for

Rob
Edited by - March 11, 2010 06:32:35
Gone fishing
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
eeek double post
Gone fishing
User Avatar
Member
383 posts
Joined:
Offline
thank you Swann
It works fine.

Anyway if someone have other solution I will be happy to see it.
http://vimeo.com/vbkstudio [vimeo.com]
User Avatar
Member
192 posts
Joined: Nov. 2008
Offline
Try rendering as a subdivision surface. This will interpolate the attributes smoothly with the subdivision and look way nice.

Attachments:
smoothdisp.hip (151.9 KB)
smoothdisp.jpg (3.9 KB)

User Avatar
Member
383 posts
Joined:
Offline
thanks for all guys !
http://vimeo.com/vbkstudio [vimeo.com]
  • Quick Links