Jump to content

glowy wire shader


jim c

Recommended Posts

So I tried my hand at creating a shader for a wire/curve, that takes a curve and allows you to animate how the curve "unrolls". It uses a simple particle system to create a trail of particles with an energy attribute. This is then used in the shader along with length and width ramps to create a glowy effect along the curve. So far, so good...except for these annoying points that seem to popup. I've done something stupid here, but I'm not seeing it! Any help would be most appreciated.

The goal is to turn this into a DA that I can then use on a more complex set of curves for my Tron project.

To view it, open the hip, and scrub to back to frame 0, then somewhere between 0 and 36 (that's where I've currently got keys).

post-4235-13202041189_thumb.jpg

wire-test2.hipnc

Link to comment
Share on other sites

Well I feel a little stupid! It would appear that I still had the particle system in the SOP, which I really didn't need. Applying a Delete SOP for prim 0 just before the final Material node, seems to have deleted the particle system but leaving the attribute values intact. Is this the right thing to do? It certainly gets rid of the nasty little point artifacts.

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 months later...

Thanks. I think I got it all sorted out, took a little more experimentation to get the sharp angles in the curve to be handled better, but it looks kind of cool. If anyone's interested I can post the hip file.

hi jim,

hope this is not too late, but i'd be interested in taking a look at your final hip file. I'm just downloading the first one and am taking a look at it.

thanks!

z

Link to comment
Share on other sites

  • 1 month later...

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