Closed Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Quick Material ID frame render.

  1. #1
    Junior Member
    Join Date
    May 2006
    Location
    Tijuana
    Posts
    7

    Name
    Bernardo Gutierrez
    Forum Username
    Beernardo

    Mexico

    Default Quick Material ID frame render.

    Hello everybody, first timer here.

    I'm using 3dsmax 2011 and Vray 2.0. I was wondering if anybody here knows of a script that will do the following to all the materials of a scene (assuming we already converted all of the vraymtl to standards):

    • remove all maps from the material (diffuse, bump, etc)
    • make its self illumination 100
    • assign a different color to the diffuse color for each material
    Every time I do a rendering I do all of this manually to sort of get a Material ID frame for easy photoshop work.

    May be somebody knows of a faster way to do this? 3dsmax material ID element lacks of antialias so I can't use it in photoshop.

  2. #2
    Junior Member
    Join Date
    Apr 2009
    Location
    Essen
    Age
    44
    Posts
    24

    Name
    Lutz Wiethaus
    Forum Username
    Lutz1973

    Germany

    Default Re: Quick Material ID frame render.

    There's a checkbox "Enable Filtering" in the Object ID's parameter dialog

  3. #3
    Junior Member
    Join Date
    May 2006
    Location
    Tijuana
    Posts
    7

    Name
    Bernardo Gutierrez
    Forum Username
    Beernardo

    Mexico

    Default Re: Quick Material ID frame render.

    Not in the Vray Element. The thing is that I want the colors from the materials and not from the objects. I think I found a couple of scripts that will do the trick. I'll post them after my tests.

  4. #4
    Veteran Member Tommy L's Avatar
    Join Date
    Dec 2003
    Location
    Chicago
    Age
    39
    Posts
    4,432

    Name
    Tom Livings
    Forum Username
    Tommy L

    United States

    Default Re: Quick Material ID frame render.

    Yes, please share your solution.
    Thanks,
    Tom.
    My company website: www.INFXstudio.com
    My vimeo: https://vimeo.com/user2755358/videos

  5. #5
    Member cgrant3d's Avatar
    Join Date
    Apr 2006
    Location
    Riverside
    Posts
    76

    Name
    Chris Grant
    Forum Username
    cgrant3d

    United States

    Default Re: Quick Material ID frame render.

    Quote Originally Posted by Beernardo View Post
    Not in the Vray Element. The thing is that I want the colors from the materials and not from the objects. I think I found a couple of scripts that will do the trick. I'll post them after my tests.
    This is supposed to be addressed in VRay 2 SP1. From the changelog: "VRayMtlID and VRayObjectID render elements now have an option to generate colors instead of integers for proper antialiasing;"
    Christopher Grant, Portfolio
    Senior Visualization Artist, HMC Architects

  6. #6
    Junior Member
    Join Date
    May 2006
    Location
    Tijuana
    Posts
    7

    Name
    Bernardo Gutierrez
    Forum Username
    Beernardo

    Mexico

    Default Re: Quick Material ID frame render.

    really? I'm going to check that out thanks!

  7. #7
    Junior Member
    Join Date
    May 2006
    Location
    Tijuana
    Posts
    7

    Name
    Bernardo Gutierrez
    Forum Username
    Beernardo

    Mexico

    Default Re: Quick Material ID frame render.

    With the help of two very cool scripts this is what I ended up doing, it works pretty good!:

    1.- First I change all my vray materials to standard (to make use of the self illumination parameter later on) with the following script: http://www.scriptspot.com/3ds-max/sc...converter-v2-5

    2.- Then I used the "Modifier Modifier Zob" script (http://www.scriptspot.com/3ds-max/sc...-modifier-zorb) to randomly change the diffuse color of all of the sandard materials. This way I have a different color for each material.

    3.- With the same script "modifier modifier zob" I assigned a 100 value to the self illumination parameter of all of the standard materials.

    4.- Rendered the final scene turning off the maps to ignore any texture located in each material's diffuse channel. I also turned of lighting shadows etc. (you can keep displacement if you want)

    Once you have the scripts running somewhere on your UI this process will take you no more than 5 minutes. I used to spend about an hour doing this manually. This was my final result:

    MAT-A2-small.jpg


    I hope this helps somebody else


    p.d. I use 3dsmax 2011 and Vray 2.0
    Attached Images

  8. #8
    Veteran Member Tommy L's Avatar
    Join Date
    Dec 2003
    Location
    Chicago
    Age
    39
    Posts
    4,432

    Name
    Tom Livings
    Forum Username
    Tommy L

    United States

    Default Re: Quick Material ID frame render.

    thanks for the description. will be very useful.
    My company website: www.INFXstudio.com
    My vimeo: https://vimeo.com/user2755358/videos

  9. #9
    Veteran Member
    Join Date
    Oct 2005
    Location
    Huddersfield
    Age
    33
    Posts
    1,341

    Name
    Dean Punchard
    Forum Username
    notamondayfan

    United Kingdom

    Default Re: Quick Material ID frame render.

    VrayWireColour?

  10. #10
    Junior Member
    Join Date
    May 2006
    Location
    Tijuana
    Posts
    7

    Name
    Bernardo Gutierrez
    Forum Username
    Beernardo

    Mexico

    Default Re: Quick Material ID frame render.

    Quote Originally Posted by notamondayfan View Post
    VrayWireColour?
    what do you mean?

Closed Thread
Page 1 of 2 1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Quick Concrete Material Help!
    By braddewald in forum V-Ray
    Replies: 4
    Last Post: July 13th, 2010, 01:08 PM
  2. need quick render
    By nodar1978 in forum Hardware and Technical Discussions
    Replies: 3
    Last Post: May 6th, 2008, 11:28 AM
  3. net-Render a single frame
    By warprat in forum 3ds Max
    Replies: 3
    Last Post: April 19th, 2008, 08:12 AM
  4. Replies: 2
    Last Post: March 6th, 2004, 08:43 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts