Thank for the tutorial and awesome tip for the folicles.
@caseycbenn3 жыл бұрын
Was there a way to brush/style the nHair? Or is this only possible in Xgen?
@Alice444V8 жыл бұрын
wow thanks. That was straight to the point and helpful.
@j3jenkins10 жыл бұрын
Great tips! Thanks Daryl. Here's a Python version of your MEL that isn't hardcoded and has checks to make sure people select the right number and types of objects. To use: First, select a rigid object Second, select the hair system Third, run the script Hope it helps! import maya.cmds as cmds def getShapes( xform, fullPath=1 ): if fullPath == 1: shapes = cmds.ls(xform,long=True) else: shapes = [xform] if ( "transform" == cmds.nodeType(xform) ): # If given node is not a transform, assume it is a shape # and pass it through if fullPath == 1: shapes = cmds.listRelatives( xform, fullPath=True, shapes=True ) else: shapes = cmds.listRelatives( xform, shapes=True ) return shapes #------------------------------------------------------------------------------ sel = cmds.ls(sl=1) # make sure 2 objects selected if len(sel) > 2 or len(sel) == 1: cmds.error('Please select two objects.') elif len(sel) == 0: cmds.error('No objects selected.') # make sure they are the right type if cmds.objectType(getShapes(sel[0])) != 'nRigid': cmds.error('Make sure first selected object is an nRigid object.') elif cmds.objectType(getShapes(sel[1])) != 'hairSystem': cmds.error('Make sure second selected object is a hairSystem.') # hook em up try: cmds.connectAttr(sel[0]+'.nucleusId', sel[1]+'.attachObjectId') print(sel[0]+' connected to '+sel[1]) except RuntimeError: cmds.warning('Nothing happened. '+sel[0]+' already connected to '+sel[1])
@darylobert10 жыл бұрын
AWESOME!!! I will try to get it added to Bonus Tools for 2016.
@j3jenkins10 жыл бұрын
daryl obert Sounds great Daryl! Let me know if you run into any issues or have suggestions regarding the script.
@avtpro9 жыл бұрын
Hi Daryl, Question at 10:10 in the video. if I'm importing a bunch of curves, is there a way to make the pinlock for all the curves to "Base" at once? thanks.
@lordrevan9019 жыл бұрын
+AVTPro Make Sure you have the follicle selected and not the curve print `ls -selection` ; $selection = `ls -sl`; for ($curve in $selection) { setAttr ($curve + ".pointLock") 1; }
@avtpro9 жыл бұрын
+Mike Johnson Thanks I'll give it a go.
@dj0kupas9 жыл бұрын
How to set multiple curves at the same time to hang on the base? 10:08. Its very tyering to do it one by one
@luishernandez-zo3ul10 жыл бұрын
at the end of your video when you suggest not using the follicle in order to save dynamic time. The one curve you created you had to change point lock from both to base, it works but on the project i am currently working on I have 200+ curves and I have to switch each curve individually. Highlight selecting all the curves and switching from both to base only applies to the last selected. Any suggestions?
@furiousmicro67775 жыл бұрын
what settings must be kept so that the hair won't fall off but rather slightly wiggles need help pls
@avtpro7 жыл бұрын
Hey Daryl, is there a fast script to connect joints from guide to be driven by nHair after a convert to poly? I'm using it to drive custom archive. It works but it's manual. I was interested in automating it.
@mrteknas6 жыл бұрын
whats in the group you selected to make curves to guides?! i came from part 1 of your video i have a hair system.
@CarlosSantos-qn8oc8 жыл бұрын
Hello, I have a question. I will animate my character. But nHair will have to be parentiado with a joint head to track your movement?
@fakepivot10 жыл бұрын
Hey thank you very much.. these video are really helpfull
@darylobert10 жыл бұрын
thx :-)
@stefan.holst659 жыл бұрын
Is there a reason why dynamics do count Maya units as meters when, I think, everything else is counting them as cm?
@znbk56529 жыл бұрын
Just really wondering... why are there hidden channels in maya nodes?? like for example this "nRigid1.nucleusId" or " hairSystem1.attachObjectId" unaccessible channels.. how could we find such channels if we can't find them in any node editos????
@darylobert9 жыл бұрын
+ZHR NBK Its in the Documentation > Technical Documentation > Nodes > nBase It also show up in the Node Editor if you right click on the shape node and select show all attributes.
@znbk56529 жыл бұрын
+daryl obert no man I already tried to (show all attributes ) but it wasn't there
@darylobert9 жыл бұрын
are you sure you are on the shape node? Its right under Message and above Output.
@sabawind226 жыл бұрын
Hi Daryl... what's the command to attached the hair to the geo for many hair curves? Hope you get this message. this is only for one...connectAttr nRigid1.nucleusId hairSystem1.attachObjectId;
@legar8310 жыл бұрын
The collision quality of xgen primitives doesn't seems as robust as nhair even when using alembic mesh as collision mesh using xgen collision modifier. Any way to improve collisions when making xgen prims dynamic? thanks so much.
@artspam10 жыл бұрын
Useful speed trick ! - Are there any drawbacks to using it? another speed trick when generating nhair caches: hide the hair for the cache generation process (if you didn't plan to monitor it anyways)
@darylobert10 жыл бұрын
great tip!
@mrteknas6 жыл бұрын
when i make the xgen hair, its not following the guides. and it is also not dynamic
@WillSharkG1410 жыл бұрын
Is it not overkill to simulate every hair? Would it not be more efficient to simulate the guide hairs that are, say, 10% of the total hair count. Then interpolate the guide hairs with render hairs? 50,000 hairs for a full head of hair if not going to be enough, 500,000+ seems to be getting closer to a better result, probably a lot more through depending. Or maybe what you are detailing in the video is only part of an overall workflow. EDIT: oh, I've just realised this is part 2, so no doubt the answer is in part 1 :D
@darylobert10 жыл бұрын
Hi TomCruisePope, You are 100% correct I would only run the simulation on the guides and let XGen handle all the instanced primitive splines. This is actually what I am doing the quick tip but with only a 100 or so guides and maybe 500 instances.
@danielchurchill66889 жыл бұрын
Hey daryl :) Who is this Duncan you keep referring to i've subcribed to your channel and am wondering if he has one too. p.s I really enjoy your videos keep it up
@Aitor9 жыл бұрын
Duncan Brinsmead is the principal scientist at Autodesk. He created Maya Paint Effects, Maya Hair, Maya Toon and more recently nHair, nCloth and the Nucleus dynamics solver framework. Daryl, nice videos by the way!
@HapZungLam10 жыл бұрын
thx Daryl
@darylobert10 жыл бұрын
:-)
@Snakebloke10 жыл бұрын
Yaay!
@Snakebloke10 жыл бұрын
Awesome tips, thanks a lot Mr. Obert! :)
@darylobert10 жыл бұрын
Snakebloke anytime
@scottdaniel58039 жыл бұрын
It is too bad that none of your videos have caption options. Not every Maya user are hearing you know?