ice-boy opened this issue on Jun 08, 2007 · 12 posts
Acadia posted Fri, 08 June 2007 at 10:04 AM
The following thread has tons of links to shader tutorials. I have linked you to the post that talks about "Matmatic"
http://market.renderosity.com/mod/forumpro/showthread.php?thread_id=2635126&page=3#message_2979864
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.
After you have unzipped matmatic to your Poser runtime, open Poser.
File/Run Python Script
Browse to the Python/Matmatic folder and select the script.
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.
NOTE: Matmatic generates errors if you have your files 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.
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