Download link and info The script is a macroscript to install go to “customize user interface” and look for “Category:MMtools” and drag into a menu or toolbar. Last version gMaterialtool v1.9c + Add Tessellate by selected edges (like graphite tools) - Glue objects and decals was moved to PointTools + Change Textures MAPS path ( Can change Textures maps path for a new one) I change and create some scripts for lienz conversion. [Material tool] + Now to open material in MatEditor need to press Right-mouse button on material name. + Select objects by matID amd material slot [Geometry] + Create groups of objects by distance and attach them + Copy Modifiers from one object to selected objects + Quick clibboard for store selected objects + Smooth faces for all selected objects. rf1 option is to detach faces + Detach by MatID + UV vertex manipulation [GMT Converter Tools] + Create BillBoard trees from selected objects. If no selected objects create the Billboard in 0,0,0 position. + set alpha vertex for selected objects + Materials Reports. Check materials for missing textures in selected objects and reports to MAXscript Listener. Can copy textures to other folder. Can search texture by name. + Export the list of reflections objects to text file + Create reflection plane from 3 points Version 1.6 + Copy map channel to other channel for all selected objects + Fix Dead Vertices + WeldVertex for all selected objects + Attach multiply objects to one + Make unique instances for all selected objects + Detach selected objects by MatID + UV vertex can copy/paste or change UV vertex coordinates + Create Quads for trees New version 1.6b +Bugs fix +added a better Quadify function DX materials are disable. New Version 1.6c + Quads pivot fix! + Add backface cull unchecked note: disabled DX mats selection to avoid Open file error new Version 1.6f - Fix " ChkMat" button - reOrganize buttons + Stage display + Vertex Display + Copy/Paste Modifiers
Mario, when I use the BB tree function, I end up with some really thin faces. I have been trying to figure out a way to do this for over a year now, but my limited knowledge in max scripting has prevented me from getting anywhere with it. What I think it might need is something that will get the original tree's face's orientation, then align it's pivot and transform to that face. Then it's just a matter of rotating the object to z=0 using the transform type in. Or there might be another way to do it, I don't know, but I think the main issue here is finding that face's angle relative to the world axis. ie,,, In these pics, the first one is how it is to start with, then in the second pic, the pivot's axis is aligned to the face. (I rotated the pivot manually here for the purpose of the demonstration)
Thanks for report, now i know how to fix. get the normal vector from face and apply matrix rotation to pivot. I will try in next version
Thanks Mario. Just for the record though, BB trees don't have to face any certain way in max, they will always face the camera in game.
The script is a macroscript to install drag and drop in viewer max and go to “customize user interface” and look for “Category:MMtools” and drag into a menu or toolbar.
new GmaterialTool 1.6f - Fix " ChkMat" button - reOrganize buttons + Stage display + Vertex Display + Copy/Paste Modifiers
New GmaterialTool 1.7h I change and create some scripts for lienz conversion. [Material tool] + Now to open material in MatEditor need to press Right-mouse button on material name. + Select objects by matID amd material slot [Geometry] + Create groups of objects by distance and attach them + Copy Modifiers from one object to selected objects + Quick clibboard for store selected objects + Smooth faces for all selected objects. rf1 option is to detach faces + Detach by MatID + UV vertex manipulation [GMT Converter Tools] + Create BillBoard trees from selected objects. If no selected objects create the Billboard in 0,0,0 position. + set alpha vertex for selected objects + Materials Reports. Check materials for missing textures in selected objects and reports to MAXscript Listener. Can copy textures to other folder. Can search texture by name. + Export the list of reflections objects to text file + Create reflection plane from 3 points
Hi mario, In the gmaterialtool in the last version, the 1.7H, when I try to create ref.plain it shows an error that says: " Please, pick 3 points first". Do you know what that means and What I have to do?
Need to select 3 vertices from track mesh. One by one. Select center vertice of track and press "get center point", next edge and length. When get the 2 points press "create plane" When plane was created can rotate and resize but use LOCAL coordinate system.
Thanks mario, but i'm missing something tomorrow i keep looking. Thanks for this script is very usefull.