View Full Version : djrivet tool
09-17-2009, 11:54 PM
I just got it off highend3d, and when I use this tool it doesn't place the folicle anywhere near the object? I am trying to put an object on my guys chest, it is skinned, and it puts the folicle on the foot. I did an automatic UV to make the UVs not be overlapping, but the folicle still goes on his foot.
Anyone got any ideas on this?
09-18-2009, 01:54 AM
The tool works on the basis of hair follicle. Hair follicle need proper UV layout to work. Maybe you need to layout the UV before working with this tool.
09-18-2009, 02:37 AM
Thats why I did the auto mapping for the UVs, but it didn't help any. I got my hands on another rivet tool that uses a locator instead and it works like a charm, so just gonna use that one instead.
09-22-2009, 09:04 PM
ive had the same problem in the past.. wrote a quick script that is based on follicles.. feel free to try it
//Create Follicle Constraint on selected Vert
//to run script type: sk_Vert2Fol;
//usage: select Vert(s) then run script
global proc sk_Vert2Fol()
//get selected verts
string $vtxSel = `ls -sl`;
// converts to uv and find position
string $uvSel = `ls -flatten -sl`;
for ($eachUV in $uvSel)
float $vertPos = `polyEditUV -query -uValue $eachUV`;
float $u = $vertPos;
float $v = $vertPos;
//get the object name of the selected uv
int $getSelObj = `tokenize $eachUV "." $selObj`;
string $SelObjShape = `listRelatives -shapes $selObj`;
string $FolShape = `createNode -name ($selObj+"_folShape")"follicle"`;
string $Follicle = `listTransforms $FolShape`;
//Connect Fol to object
connectAttr ($SelObjShape + ".outMesh") ($FolShape + ".inputMesh");
connectAttr ($SelObjShape + ".worldMatrix") ($FolShape +
connectAttr ($FolShape + ".outTranslate") ($Follicle + ".translate");
connectAttr ($FolShape + ".outRotate") ($Follicle + ".rotate");
setAttr ($FolShape +".parameterU") $u;
setAttr ($FolShape +".parameterV") $v;
09-22-2009, 09:04 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2015, Jelsoft Enterprises Ltd.