ScriptSpot home

Forum topic · Scripts Wanted

curly hair or wool

By Jessup3D · 2009-02-07

Description

I'm working on a cartoon sheep character and I'm looking for a solution for making short curly hair. I have found a lot of posts on various forums looking for a similar solution, but none with a solution.

Does anyone here know of a script or plugin that can create curly hair or wool? Is there a script that could 'curl' the hair from the standard hair and fur plugin in Max (I'm running Max 9)?

Comments (5)
Panayot Karabakalov

my suggestion is to use particles with
a) Shape Facing operator
b) Shape Instance operator

cheers

Graph

its not a complete script at all just something to get the idea going for someOne else as i dont have the time atm

Graph

not hair per se but why dont you cheat your hair with a "few" splines?
here a little code to get you started..
add some random values here and there and it should start to look natural
to place it you might want to assign a bitMaptex to the geo then loop through the faces/pixels/UV//barrycoords


(	
	local r = 50.0 --radius
	local n = 60.0 --n knots
	local d = 180.0   --degree percent
	local h = 200.0 --height

	local	new_spline = splineShape ()
	addNewSpline new_spline	for i=1 to n do
	(
		x=cos(pi*(i/n*d))*r
		y=sin(pi*(i/n*d))*r
		z=h*i/n
		pos = [x,y,z]
		--pos *= someTransformMatrix
		addKnot new_spline 1 #smooth #curve pos
	)
	updateshape new_spline	
)
Reply to Graph
pixela

Thanks for your reply.
Well honestly I don't know how to use the script you have pasted.
Will I run this after applying Hair&Fur modifier?

pixela

Hi!
Did you find a solution for this?
Now it is me who is searching for an answer :)