Jump to content

Deforming Geo Using Camera Projection ...


djwarder

Recommended Posts

Hey guys

I've been using the UVTexture node to project a texture onto a grid using the 'Perspective From Camera' mode, so that it looks correct from a distant camera. But now I'd like to keep the texture as a flat planar projection & deform the geometry using the same technique. Any idea if this is possible at all?

Cheers!

Link to comment
Share on other sites

Are you wanting to do the deformation in SOPs or in a shader? SOPs is easy - in a Point SOP or VOP SOP, just add the texture value back to P, and voila! If you want to deform in a shader, just do the texture lookup in your displacement shader... Is that what you're asking, or am I misunderstanding?

Link to comment
Share on other sites

SOPs is easy - in a Point SOP or VOP SOP, just add the texture value back to P, and voila!

Yeah, trying to do it in SOPs, but don't quite know what you mean. Assuming this is probably easier that I'm making it, but still can't get my head around this!!

Link to comment
Share on other sites

Is this is what you`re looking for?

update the image in the cop network.

tha camera is animated. if you

play it the deformation will change

according the camera movement.

Basically it doest`nt matter how you create you`re

UVs just create them on points. After you have the

UVs add the texture map you want to deform with

with a color map in a vop sop. Then you`ll have

RGB values on all points and you can use those values

for manipulating the point positions.

deform_with_image_v02.hip

post-4929-132526499055_thumb.jpg

deform_with_image.hip

Edited by ford77
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...