Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / Lighting - Rendering / glare shader
  RSS 2.0 ATOM  

glare shader
Rate this thread
 
63930
 
Permlink of this thread  
avatar
  • Total Posts: 40
  • Joined: 24 May 2009 02:15 PM

hello everyone
I read a book about 3ds max mental ray rencently , there is a picture about glare shader inside book , the glare shader interface is different from any other 3dsmax (I checked out my company’s and my friends’ 3dsmax, both are 2012 version), the author edited lume.mi but not revealed how to do it, the picture shows “glare(lume)” , but the default glare shader in the 3dsmax just “glare”. Does anyone know how to edit lume.mi with notepad?? Which parameter should be tweaked??



Attachment Attachment
Attachment Attachment
Replies: 0
avatar

hi again
I found there is another file--lume_max.mi , open this file, there is a section about glare and a number sign “# “ with “hidden” following it , I did a test-- delete all of “# “ and “hidden” , after that , I start 3dsmax 2012 , and enable camera shader , I got the all most the same interface as the picture shows inside the book , but how to set these options?? Why are these options hidden??



Attachment Attachment
Attachment Attachment
Attachment Attachment
Replies: 0
avatar

I checked up additional help for mental ray in 3ds max , it’s online help , and browsed lumetools collection part, click in glare shader , there is a section which topic is “region” , according to this part , I can specific an object to be glared , not entire image , but no matter how hard I tried , entire image are glowed ( I know how to glow with glare shader ) , can anyone show me how to specific an objec to be glared?? or anything else I should know?? thanks in advance.



Attachment Attachment
Replies: 0
avatar
  • Krueger
  • Posted: 27 January 2012 07:00 AM

Read through this thread. It’s for Max 2009, but it looks to be the same, except it might be in a different file (I only have lume.mi for 2009 & 2010). I would make sure to make a backup of the original lume.mi or lume_max.mi file before editing it too, just in case it screws something up.



3ds Max 2009 SP1, 2010 SP1
Maya 2012
Windows 7 Professional 64-bit
Dual Intel Xeon E5520, 6 GB Ram
NVIDIA GeForce GTX 460 OC

Replies: 0
avatar

thanks for reply, yes , I did copy of lume_max .



Replies: 0
avatar
  • 3d-Soul
  • Posted: 27 January 2012 04:20 PM

Hi,

I edited that mi file a while back after reading this topic and could access my desirable result, although there are few limitations, error..
As these guys have noticed you need these mr shaders :

mrGeomShaderObject
ctrl_Object
ctrl_ghost_settings (there is no version for 3ds max 2012, try compatible version with 3ds max 2011.)

and here is my final tweaked mi file lines :

gui "gui_Glare" {
  control 
"Global" "Global" (
 
"uiName" "Glare(Specific)",
 
"category" "Output",
 
"helpCHM" "Lume/Doc/lume help.chm",
 
"helpLink" "/Glare.html",
            
"outputTypes" "-tag,+rgba_fp"
             
)
        
control "Quality"           "integer"   ("value" 2"range" 0 4"nonConnectable")
        
control "Spread"            "float"           ("value" 2.0"range" 0.0 100.0"nonConnectable")
        
control "Overlay Only"      "boolean"   ("value" 0"nonConnectable")
        
control "Verbose"           "boolean"   ("value" 1"nonConnectable""hidden")
        
control "Streaks"           "boolean"   ("value" 0"nonConnectable")
        
control "Streak Image"  "Bitmap"     ("value" "glare_streaks_star_camera_filter.tif""nonConnectable""uiName" "Streak Image")
        
control "Scale"             "float"           ("value" 1.0"nonConnectable""hidden"# This option is not working, hidden
        
control "Contrast"          "float"           ("value" 0.5"range" 0.0 1.0"uiName" "Streaks Weight""nonConnectable")
        
control "Specific Objects" "boolean" ("value" 0"nonConnectable")
        
control "Object Labels" "array integer" ("value" 0"nonConnectable")
        
control "Specific Objects Buffer" "string" ("value" """nonConnectable""hidden")
        
control "Calculation Resolution" "integer" ("value" 500"range" 10 100000"nonConnectable")
    
}

Limitations and Notes:

* Don’t use label 1 unless you’ve already assigned different labels for other objects.
* I always get the attached error.



Mental Ray User
Intel Core i7 920 @2.67GHz, 6 Gb Ram 2000, GeForce GTX 470.
Windows xp 64-bit SP2 & Windows 7 Ultimate 64-bit.
3ds Max 2011 SP1 & 2012 64-bit.

Mohsen.K.

Attachment Attachment
Attachment Attachment
Attachment Attachment
Replies: 0
avatar

hi 3d-soul
thanks for your reply, but I don’t know how to setup mrGeomShaderObject、ctrl_Object、ctrl_ghost_settings, do you have any tutor ?? Besides, I can’t find those mr shaders at the http://www.maxplugins.de/mentalray.php?search=&sort=Author (according to previous threads), any help?? thanks in advance.



Replies: 0
avatar

well, I found Ghost_Settings 1.4 and ctrl_Object v1.0 in the geometry catagory , but still can’t find mrGeomShaderObject.



Replies: 1
/userdata/avatar/gf8407rm8.jpg

mrGeomShaderObject is in the ctrl_object.zip file from maxplugins.de, but it’s for 2009. You can try it and see if it works though..

Author: Krueger

Replied: 30 January 2012 10:49 AM  
avatar
  • 3d-Soul
  • Posted: 31 January 2012 06:59 AM

thanks for your reply, but I don’t know how to setup mrGeomShaderObject、ctrl_Object、ctrl_ghost_settings, do you have any tutor ??

see here to learn how to install mrGeomShaderObject & ctrl_ghost_settings shaders.
for ctrl_object shader do a googling. it shouldn’t be hard to install.. sorry I have no access to my PC right now.



Mental Ray User
Intel Core i7 920 @2.67GHz, 6 Gb Ram 2000, GeForce GTX 470.
Windows xp 64-bit SP2 & Windows 7 Ultimate 64-bit.
3ds Max 2011 SP1 & 2012 64-bit.

Mohsen.K.

Replies: 0