Gallery
Links
Resources
Main Site
Forum Portal
Forums
Gallery
Awards
Links
Link to Us
Advertising
Resources
Site Sponsors:
3DX Models
3DA-Studio
Digital Sweatshop
aXYZ-Design
PixPlant
Dosch Design
Wacom
Maxwell Render
Ready2Render
Site Affiliates:
MrMaterials - mental ray materials repository
CGarchitect Site
3DXO - The finest 3D Resources
EnjoyCG
MAXWELL RENDER dot it
Ultimate 3D Links
 
Digital Sweatshop  
 

Portal Forums Gallery Links Awards Main Site Staff
Go Back   3DAllusions - Visualizing Possibilities! > Software Forums > Mental Ray > MrMaterials > MrMaterials Blog

Notices

MrMaterials Blog Discussions relating to Blog topics

Reply
 
Thread Tools
  #1 (permalink)  
Old 02-06-2009, 09:45 PM
TheAllusionist's Avatar
Founder
 
Join Date: Jan 2004
Location: Seattle, WA USA - Northwest
Posts: 8,868
Thanks: 490
Thanked 3,132 Times in 2,992 Posts
Images: 43
Rep Power: 10
TheAllusionist has a reputation beyond reputeTheAllusionist has a reputation beyond reputeTheAllusionist has a reputation beyond reputeTheAllusionist has a reputation beyond reputeTheAllusionist has a reputation beyond reputeTheAllusionist has a reputation beyond reputeTheAllusionist has a reputation beyond reputeTheAllusionist has a reputation beyond reputeTheAllusionist has a reputation beyond reputeTheAllusionist has a reputation beyond reputeTheAllusionist has a reputation beyond repute
Send a message via AIM to TheAllusionist Send a message via MSN to TheAllusionist Send a message via Skype™ to TheAllusionist
Creating your own A&D preset materials

Written by Jeff Patton Thursday, 29 March 2007 14:30

How the heck did I create my own templates? It's a fairly simple process, but it can be rather confusing due to the various path locations of the required files.

Before I explain how, let's get the standard disclaimers out of the way first:
YOU PERFORM THESE EDITS AT YOUR OWN RISK.
MAKE A BACKUP OF YOUR FILES BEFORE MODIFYING ANY OF THE FILES I'M ABOUT TO DISCUSS.


Hopefully you know how to load & edit .mat files with the material editor in 3dsmax. If you don't, spend some time reviewing the help file for instructions on the process before starting this "tutorial".

- How to create your own custom A&D presets -

There are really two types of A&D presets. Presets that run from a script, and ones that are pulled from the mrArch_DesignTemplates.mat file. I'm going to discuss the method for using the mrArch_DesignTemplates.mat file because it's fairly easy to setup your pre-made A&D materials as templates with this method.

You'll be editing two files.
1. mrArchMaterial.ini
2. mrArch_DesignTemplates.mat

Off the bat, this sounds simple and for the most part it is. But where the confusion comes into play is with the location of these files. The mrArch_DesignTemplates.mat is simple because it's located in the "expected" folder. What I mean by that is it's located in the 3dsmax root folder. Ex: "C:3dsmax9/materiallibraries"

The confusion sets in when dealing with the mrArchMaterial.ini file. You'll find a mrArchMaterial.ini file in the following path: "C:3dsmax9/plugcfg"

However, this is NOT the file that we want to work with. The mrArchMaterial.ini file that we need to use is located in the much dreaded "Documents and Settings" path. I found mine in this path:
"C:|Documents and Settings|NAME|Local Settings|Application Data|Autodesk|3dsmax9 - 32bit|enu|plugcfg"

Ok, now that you know which files to use and where the files are, here's the simple part of the process...creating a new A&D template.

1. Start 3dsmax9 and make sure you have mental ray set as the renderer.
2. Open the material editor and load the mrArch_DesignTemplates.mat file.
3. In the material editor, create a new A&D material. Name this material "My_Material" without the quotes. You don't have to use this specific name on your files, I'm just using it for this tutorial.
4. Add a noise map to the diffuse color swatch and copy it to the bump map of the material.
5. Save this material to the mrArch_DesignTemplates.mat file by using the "put to library" button on the material editor. It will ask you to confirm the name, just hit ok.
6. Open your mrArchMaterial.ini file and add your material by adding the following text:

"[. My_Material]
Desc=My first template with noise map.
Script=MeditUtilities.Set_mrArchTemplate_ActiveMat erial_FromMaterialInMatlib mrArchTemplate_ActiveMaterial "My_Material" -- LOC_NOTES: do not localize this"

Where do you add this text? Well you'll want to add them anywhere under the "[{Finishes}]" tag. You can create your own custom headers or place them under any of the existing headers such as "[{Finishes}]" or "[{Transparent Materials}]".

That's it. So in a nutshell you take your custom A&D materials, save them to the mrArch_DesignTemplates.mat file and then modify the mrArchMaterial.ini to add the names & description of each custom material.

I'll supply my edited files for those people like myself that liek to have a visual reference for things like this.

My files:
http://jeffpatton.net/blog-images/My_templates.zip

EDIT: CRAP, I just noticed that I misspelled porcelAin...oh well.


Actual Blog Entry:
Creating your own A&D preset materials
__________________

To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts.

The Opinions Expressed Here Do Not Necessarily Reflect Those of a Rational Mind ~ `'•.¸(¯`'•.¸ Russell L. Thomas¸.•'´¯)¸.•'´


To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

CG Record MrMaterials Got3D 234x60
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Self Illuminating Materials ( Flourescent Lamp) rpadc2002 Tutorials 3 02-06-2010 06:50 PM
Creating Waterfalls Tutorial rpadc2002 Tutorials 10 11-23-2009 08:49 PM
Creating Simple Carpet in Vray rpadc2002 Vray 3 03-05-2009 05:09 PM
Creating Simple Curtain rpadc2002 Tutorials 2 11-16-2008 01:07 AM
Vray ambient occlussion and Vray preset menager plugins d.sign Vray 14 10-13-2006 09:27 PM


All times are GMT. The time now is 04:35 AM.

 

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 3DAllusions LLC