Forum: Poser - OFFICIAL


Subject: Matmatic: What does this mean?

dphoadley opened this issue on Feb 11, 2010 · 70 posts


Acadia posted Thu, 11 February 2010 at 5:24 PM

How to use Matmatic:

It's super easy to use.  Unforutnately I was over thinking stuff and had trouble, hehe

1.  Unzip matmatic to your Poser runtime. Not to an external one, right into your Poser runtime. It's in proper runtime structure, so do not move any files around. The script sits directly in the "Python" folder and not in the "scripts" subfolder. Do not move it.

2.  Matmatic comes with some scripts. There are others too.  See the  second page of the"Shaders & Nodes" thread for a list of relevant RDNA threads for more scripts.

  1. After you have unzipped matmatic to your Poser runtime, open Poser.

  2. File/Run Python Script

  3. Browse to the Python/Matmatic folder and select the script.

  4. Run it. That's all.  You won't see anything visible except a message in the window saying something about compilation complete.  That means that Matmatic read the scripts and generated material files that you access in the material room just like any other materials.  It's not like Wardrobe Wizard where you have to run the script each time.

After you have run Matmatic and it has generated shaders based on the scripts it read, you can go to the material and use the shaders/materials just like you would any other material in your materials library.

If you want to add a button to your python scripts window in Poser, follow the instructions in this thread.  Dimension3D explained to me how to add an extra button, and to even make a subscript button where you can have as many scripts in there as you want.

  1. Go to the material room and locate your poser libraries material folder. Look for "Matmatic Demos".  Inside are the materials that Matmatic generated when you ran the script.

NOTE:  Matmatic generates errors if you have your files are compressed.  If you compress your files, uncompress them before you run Matmatic.

If you want to add more scripts, go to the links I posted in the shaders&Nodes thread, and locate the script attachments in the RDNA threads.  Open the text file because you are going to save it.

Decide on a name IE: ReptileScales  and browse to your Poser/Library/Materials/Matmatic Demo folder.  Create a new folder in there called "ReptileScales"   Then save the text file to that folder and call it  "ReptileScales.mm1.txt"

**Each mm1.txt   script file has to have it's own separate folder.
**Then go into Poser and run the Matmatic Python Script to generate the shaders/materials from that script you have just save.

That's all there is too it.  Unfortunately matmatic is a script only, and doesn't generate .png files. So the materials are shown in the material room library as the shrugging man icon. If you want thumbnails, open a primative, apply the material and render a 91 x 91 thumbnail and save it as a .png file with  the same name of the shrugging man icon you are replacing.

"It is good to see ourselves as others see us. Try as we may, we are never
able to know ourselves fully as we are, especially the evil side of us.
This we can do only if we are not angry with our critics but will take in good
heart whatever they might have to say." - Ghandi