Jump to content

generate hole texture @ particle hit?


poppy

Recommended Posts

Hi, another question for lovely community :)

Say, I have a gun firing at a textured grid. Then I created a small circular texture of bullet hole. How can I stamp the bullet hole texture onto the surface when the particle hit, then write the generated texture into a file for later use?

thanks!

:)

Link to comment
Share on other sites

Hey, just saw this vid from Peter Bowmar - the capture cuts out a bit but its probably still a good way to go:

Also worth taking a look at Peter Quint's videos on point clouds:

http://vimeo.com/9109254

I'm guessing that first vid is gonna be your easiest bet overall, but the second will probably be better for writing to a file. The basic mantra node has an option to render a specific object in UV space (properties->render->uv render object). So you would probably set up a constant shader with point clouds (i say constant so you're not also baking the lighting), then render that object with the shader on it in uv space to create your texture.

Hope that helps!

Link to comment
Share on other sites

I have a similar problem too, but I need to stamp textures, like what Poppy was asking. From the "trailer" video of Peter Bowmar's lesson, it seems like he is using geometry to achieve the effect instead?

I'm thinking of doing something like:

1) Use Ray SOP to project point onto surface

2) Find out UV of the projected point of the surface

3) Layer a predefined texture onto the surface, centered at that UV coordinates

I'm not sure how to do (2) and (3). Does anyone have any ideas?

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...