Jump to content

Hair revisited


Marc

Recommended Posts

You can download Houdini Apprentice from here

http://sidefx.vislab.usyd.edu.au/

and get free everything! Renderer the works. Completely compatible with the full Houdini.

I'm slightly confused how you converted your functions to VEX without it though, so maybe this isn't what you mean.  ;)

15647[/snapback]

Ha ha... :) The answer is pretty simple ! I did a renderman (sl) version and since both shading languages (VEX & sl) are almost identical, there was almost nothing to do ! :)

OK, I

Link to comment
Share on other sites

  • 2 weeks later...
I've read this whole thread and am a bit concerned that getting cartoony hair on my cartoon monkey is going to be a whole lot more complicated than I could possibly have imagined... 

:blink:

15829[/snapback]

That depends on the number of hairs, the shading will not be the problem ! :)

Arno

Link to comment
Share on other sites

Someone needs to make a quick OTL to calculate the maj_axis that Arno was talking about in the fur/fibre/hair thread still.  I'd try it but I'm slammed right now.

Take care,

Jason

15840[/snapback]

Im not shure if I

Link to comment
Share on other sites

some frames from the hairball: rendered with the latest version from spice, 5000 hairs, 2 lights.

15864[/snapback]

Thanks Mike,

just two questions:

1.) Where are the light sources ?

2.) Did you set the major_axis vector correctly ?

The result look a bit different from my proprietary renderer. Could you try version 1.1 please ?

Thanks a lot !!!

Arno

arno_hair_far_field_v1_1.zip

Link to comment
Share on other sites

You mean something like this?

(VEX Major Axis SOP generated from VOP net)

15863[/snapback]

Thanks a lot Edward,

the code looks right (But I dont know how to use it with Houdini) !:)

Of course the semi major axis is following the geometry now without variation. For realistic results one has to perturb a bit . Therefore I will add some code to this otl...

Cheers !

Arno

Link to comment
Share on other sites

Theoretically, one should be able to just append the SOP to the geometry, set it the render flag on it and render away.

However, I tried it with the shader and it didn't seem to work. Perhaps you didn't put the "export" keyword in the shader function declaration for the parameters which can be per point?

Since you want to modify it, I've included the .hip file that was used to create the .otl file.

major_axis.hipnc.gz

Link to comment
Share on other sites

However, I tried it with the shader and it didn't seem to work. Perhaps you didn't put the "export" keyword in the shader function declaration for the parameters which can be per point?

This shouldn't be necessary - the export keyword is only to tell Mantra to keep the information around for writing to Deep Raster layers. Any parameter in a shader can be overriden by geo attributes without any extra effort on the part of the shader-writer.

Perhaps I'll get a moment this weekend to play with this! :)

Take care,

Jason

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