In 3DSMAX I used to use this technique were I would create an object and then stick another object throught the mesh of object number 1. I'd select both of them and I think it was a boolean operation. THe end result would be the shape of object number 2 would create edges and polygons in its shape on the surface of object 1. In other words, if I'd take a Box and stick a cylinder through its surface thered be an outline of the cylinder on the surface of the box. To which I can select all the polygons inside the new circle of edges and apply a different shader or something.
Select the object you want to put the hole in then select the object that is the shape you want the hole to be. From the menu choose Polygons>booleans>differnce
I knew about that, thas not what I'm looking for that way just creates a pit in the model, I want to just create edges onto the main object.
Go to this site: http://www.polystorm.de/mel/
and download "Stencil Polymeshes".
This does exactly what you're after.
QUOTE(Iconoklast @ 03/28/06, 02:27 AM) [snapback]232518[/snapback]
Go to this site: http://www.polystorm.de/mel/
and download "Stencil Polymeshes".
This does exactly what you're after.
thanks for the link. But I'm having trouble using it. I followed the directions and put mel and xpm file in the appropriate places, but I can't find where it is in maya. I tried just running the mel script from the script editor but it doesn't do anything. Please help. thanks
I just tried this script. If you run it from the command line with no objects selected, the only clue you would have that anything had happened was that a new lambert shader was created.
I think what you would do is type "jt_StencilPolyMeshes" in the script editor, then under "File" select "Save Selected To Shelf". Then under "Shelf Editor..." go to the button (whatever you named it) and click "Change Image". Then Maya will go to the wrong folder and you'll have to hunt for where you put the xpm.
The thing is, you need to have previously selected the two objects you want to perform the action on.
I've only run the script twice. Once, on two sphere primitives, it did what it says it does, and then on a more complex pair of objects, it just made a union of the two. So it might be a bit wonky.
But I'll keep it around, it seems like it could be handy for certain things.
Hope this helps a bit.
Greg