CGTalk > Software > Autodesk Maya
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 02-21-2013, 11:30 PM   #1
cunnax
PRO
cunnax
cunnax
sydney, Australia
 
Join Date: Dec 2005
Posts: 80
Tri-planar projection with blended surface normals

hi, i wondered if anyone had a link to a maya shader that does this:

Tri-planar projection uses all the three main texturing planes (XY, YZ, XZ), to
avoid distortion. It is based on the fact that texturing is accurate when the surface element is
parallel to the texturing plane, and the distortion is maximal if it is perpendicular. According
to the surface normal we can assign each surface element a dominant plane, and we texture this
surface according to this texturing plane. To get smooth interpolation of the three textures, we
use all the three texturing planes, but weight{SOFT BLENDED} them with the components of the surface normal.

the triplanar projection in maya gives hard edges at the edge of the cube, but shaders in mari
and unity can give SOFT BLENDED edges, unity is a vertex shader, i am not after a vertex shader.

imagine a brick wall triplanar projected on a sphere , it gives ugly lines at the corner of the xyz projection, i want to blend the edges.

i was looking for a maya shader , similar to triplanar that had
Three or six Planar Projections of the Same or different Texture, Blended Together Based on the Surface Normal Vector,
probably have to be a layered shader
,i believe mari has such a shader, and Unity a vertex shader,
though i would aim for not a vertrex shader

as per samples below

shader_start:
http://www.flickr.com/photos/934653.../in/photostream
shaderA
http://www.flickr.com/photos/934653.../in/photostream
shaderB
http://www.flickr.com/photos/934653...in/photostream/
shaderC
http://www.flickr.com/photos/934653...in/photostream/
mari1 triplanar
http://www.flickr.com/photos/934653...in/photostream/
http://www.youtube.com/watch?v=EBsaccegYDc
nvidia gpu vertex shader
http://www.flickr.com/photos/934653...in/photostream/
http://http.developer.nvidia.com/GP...gems3_ch01.html

trying to learn shading,
thanks

Last edited by cunnax : 02-23-2013 at 04:50 AM.
 
Old 05-31-2013, 05:36 PM   #2
justiger
New Member
portfolio
Justiger
Germany
 
Join Date: Feb 2012
Posts: 8
found a solution?

hi cunnax,
have you found a working solution for what you wanted to do?
the thing is that I am searching for the exact same thing and haven't found anything yet.
thanks
 
Old 06-01-2013, 10:07 PM   #3
cunnax
PRO
cunnax
cunnax
sydney, Australia
 
Join Date: Dec 2005
Posts: 80
tri planar shader

hi j
unfortunately no, mari seems to have it in some form, but 1 was looking for a maya
general purpose shader I could use for landscapes as a base, good luck in your hunt
c
 
Old 06-01-2013, 10:07 PM   #4
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 05:11 AM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.