Whithers Posted January 17, 2013 Share Posted January 17, 2013 (edited) Bonjour a tous, I was fiddle-farting all day trying to figure this out, though I'm sure it's an easy solve for many. Observe Exhibit A: a render from C4D where I've connected all the objects in the scene and projected a material spherically outward, onto everything. UV's are, obviously, ignored. Exhibit B well illustrates the trouble I'm having in Houdini. Would someone kindly prod me in the right direction? Should I use a..... lightsaber? Er, shader. Or is there a way to manipulate the uv's in such a way that this could be the result? Another complicating factor is it has to be animated eventually, but I'm more concerned atm with just replicating what I can do in C4D, as shown. Thanks a million in advance. Edit: Note that I don't think I can use (and haven't tried for this reason) camera mapping, as I need a 360 projection (at least 180, like a spotlight, so I can duplicate and rotate it to get what I need, since it doesn't have to be perfect). Edited January 17, 2013 by Whithers Quote Link to comment Share on other sites More sharing options...
anim Posted January 17, 2013 Share Posted January 17, 2013 (edited) here is simple projection in surface shader it is based on null object position in the scene so you can easily animate center of the projection (null named move_me) since it is a shader, there is no need to merge your objects into one, just use the shader on any object you want if you dive inside it, notice it is using UV project VOP node and you can connect any texture to uv data it creates uvproject_in_shader.hip Edited January 17, 2013 by anim Quote Link to comment Share on other sites More sharing options...
anim Posted January 17, 2013 Share Posted January 17, 2013 here is updated version in case you want to rotate the projection using that object as well (instead of just specifying the center) uvproject_in_shader_using_object_xform.hip Quote Link to comment Share on other sites More sharing options...
Whithers Posted January 17, 2013 Author Share Posted January 17, 2013 That is so smart, anim, thank you so much. Very clever getting the stripes, too. You're an inspiration. Next time I swing through London I'll buy you a round. Quote Link to comment Share on other sites More sharing options...
anim Posted January 17, 2013 Share Posted January 17, 2013 thanks Whithers, certainly let me know if you are in London Quote Link to comment Share on other sites More sharing options...
sl0throp Posted April 4, 2013 Share Posted April 4, 2013 Thomas...great simple file. Do you know how one could do what Maya calls a tri-planar projection, where the texture is projected along all six axis of a cube regardless of UV's? Quote Link to comment Share on other sites More sharing options...
petz Posted April 7, 2013 Share Posted April 7, 2013 even though i´m not tomas, the attached file might help... petz triplanar.hipnc Quote Link to comment Share on other sites More sharing options...
sl0throp Posted April 9, 2013 Share Posted April 9, 2013 Hey Petz, thanks for your file. Quote Link to comment Share on other sites More sharing options...
dileshlamsal Posted July 9, 2013 Share Posted July 9, 2013 Great example ..is there a way to get the blend between two projections ..in this case ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.