Would you like to react to this message? Create an account in a few clicks or log in to continue.

DOF Using Lens Shader

+3
edosayla
Norman
logikpixel
7 posters

Go down

DOF Using Lens Shader Empty DOF Using Lens Shader

Post by logikpixel Thu Mar 25, 2010 5:26 am

Here is a much effective rendering DOF in mental ray.
It's quite faster than my previous tutorial

First you have to check if you have the Lens Shader "unhidden" from the architectural_max.mi file.
It is normally located here:
C:\Program Files\Autodesk\3ds Max 2009\mentalray\shaders_standard\include

Open the .mi file with any text editor like notepad. Search for "gui_mia_lens_bokeh".
Just before the word hidden add a hash (#). Save and close.

DOF Using Lens Shader Arch_m10

Now you have DOF/Bokeh Lens shader available.

Unlike my old DOF tutorial I used the Multi-Pass Effect back then, here you don't do anything with the camera's parameters. Just leave it as it is and let the shader do all the work.

DOF Using Lens Shader Camera10

On the Render Setup go to Camera Effects roll-out. On Camera Shaders click on "None" of the Lens' sample box. Select Arch: DOF / Bokeh.

DOF Using Lens Shader Render10

To have full control of the shader, just drag and drop the shader to an empty slot in the Material Editor.

DOF Using Lens Shader Materi10

Render. Enjoy!
DOF Using Lens Shader Final_10
*The scene is simply lit by three sky portals with mib blackbodies as their custom color sources. Smile
logikpixel
logikpixel
CGP Apprentice
CGP Apprentice

Number of posts : 818
Age : 44
Location : sharjah, tarlac, gensan
Registration date : 09/03/2009

http://selectiveblur.blogspot.com/

Back to top Go down

DOF Using Lens Shader Empty Re: DOF Using Lens Shader

Post by Norman Thu Mar 25, 2010 5:33 am

what?!!!ganyan lang ka simple yun!!!!!ang galing!!!!
Norman
Norman
CGP Expert
CGP Expert

Number of posts : 3228
Registration date : 21/06/2009

Back to top Go down

DOF Using Lens Shader Empty Re: DOF Using Lens Shader

Post by logikpixel Thu Mar 25, 2010 6:17 am

Heheh..V-ray user kayo sir di ba? Subukan mo 'to. Although hindi gaya sa vray cam na directly sa parameters mo tini-tweak madali din lang kung nakasanayan mo. Smile
logikpixel
logikpixel
CGP Apprentice
CGP Apprentice

Number of posts : 818
Age : 44
Location : sharjah, tarlac, gensan
Registration date : 09/03/2009

http://selectiveblur.blogspot.com/

Back to top Go down

DOF Using Lens Shader Empty Re: DOF Using Lens Shader

Post by Norman Thu Mar 25, 2010 6:41 am

uu nga sir..napapaisip ako kung pwede e-apply yan sa vray....pero parang gusto ko rin e-try yung mental ray...si marcellino ksama ko yun e sya mahilig mag MR...na yayaya na rin nya akong mag try....paguwi ko nga susubukan ko....hehehe....thanks man!!!
Norman
Norman
CGP Expert
CGP Expert

Number of posts : 3228
Registration date : 21/06/2009

Back to top Go down

DOF Using Lens Shader Empty Re: DOF Using Lens Shader

Post by edosayla Thu Mar 25, 2010 11:31 pm

Wow galing master logik Smile mga kapatid maganda ang MR pag na discover nyo lng mga hidden stuff nya ... Smile
edosayla
edosayla
The Teacher
The Teacher

Number of posts : 1367
Age : 46
Location : Cadiz, Talisay, Dubai
Registration date : 06/10/2008

http://www.pinoycad.com

Back to top Go down

DOF Using Lens Shader Empty Re: DOF Using Lens Shader

Post by bokkins Fri Mar 26, 2010 4:14 am

Thanks for sharing this bro. Ganda ng output! 2thumbsup
bokkins
bokkins
Special Ops
Special Ops

Number of posts : 10369
Registration date : 18/09/2008

Http://bokkins3d.blogspot.com/

Back to top Go down

DOF Using Lens Shader Empty Re: DOF Using Lens Shader

Post by Norman Fri Mar 26, 2010 6:31 am

edosayla wrote:Wow galing master logik Smile mga kapatid maganda ang MR pag na discover nyo lng mga hidden stuff nya ... Smile

tama kayo sir ed...si marcelino mukhang nadiscover na e...sa mga tuts nyo rin galing......
Norman
Norman
CGP Expert
CGP Expert

Number of posts : 3228
Registration date : 21/06/2009

Back to top Go down

DOF Using Lens Shader Empty Re: DOF Using Lens Shader

Post by darkbeauty Wed Mar 31, 2010 4:46 am

thanks po!
darkbeauty
darkbeauty
CGP Newbie
CGP Newbie

Number of posts : 65
Age : 43
Location : Dubai, UAE
Registration date : 10/02/2010

Back to top Go down

DOF Using Lens Shader Empty Re: DOF Using Lens Shader

Post by marcelinoiii Wed Mar 31, 2010 8:55 pm

thanks sir hinihintay ko talaga to from you!!! Smile nasubukan ko to Sir pixel kaya lang talaga bang matagal magrender? or yan ang tamang setting? thanks ulit sa share!!! inuman na
marcelinoiii
marcelinoiii
CGP Guru
CGP Guru

Number of posts : 1125
Age : 41
Location : Singapore
Registration date : 29/07/2009

Back to top Go down

DOF Using Lens Shader Empty Re: DOF Using Lens Shader

Post by logikpixel Fri Apr 02, 2010 11:14 pm

@sir bokkins: Wala pong anuman. Just something to give back dito sa community.
@darkbeauty: Welcome po.
@marcelino: Yes, yan ang tamang settings. Maraming rason kung bakit maaaring mabagal ang render mo. Baka pwede natin masilip yung screengrab nung render settings mo. Post mo na lang dito for discussion at makita na din ng iba. Smile
logikpixel
logikpixel
CGP Apprentice
CGP Apprentice

Number of posts : 818
Age : 44
Location : sharjah, tarlac, gensan
Registration date : 09/03/2009

http://selectiveblur.blogspot.com/

Back to top Go down

DOF Using Lens Shader Empty Re: DOF Using Lens Shader

Post by marcelinoiii Mon Apr 05, 2010 10:19 am

guys napabalik ako dito coz I'm trying bokeh effect... napansin ko nabanggit pala ni f41 name ko twice pa wehehe f41, norman, pre hehe try mo na din nag MR...

Sir Logik, post ko maya ang setting ko pag ok na render, sana magawa ko. peace man
marcelinoiii
marcelinoiii
CGP Guru
CGP Guru

Number of posts : 1125
Age : 41
Location : Singapore
Registration date : 29/07/2009

Back to top Go down

DOF Using Lens Shader Empty Re: DOF Using Lens Shader

Post by jakeark Mon Apr 05, 2010 6:33 pm

wow thanks po galing , puede rinsiya sa vray?
bounce cher
jakeark
jakeark
CGP Newbie
CGP Newbie

Number of posts : 117
Age : 40
Location : philipines
Registration date : 07/02/2010

Back to top Go down

DOF Using Lens Shader Empty Re: DOF Using Lens Shader

Post by logikpixel Mon Apr 05, 2010 11:05 pm

marcelinoiii wrote:guys napabalik ako dito coz I'm trying bokeh effect... napansin ko nabanggit pala ni f41 name ko twice pa wehehe f41, norman, pre hehe try mo na din nag MR...

Sir Logik, post ko maya ang setting ko pag ok na render, sana magawa ko. peace man

Sige bro mas maganda ang discussion kung ipo-post mo yung settings lalu na kung may mga katanungan. Maaari pang makita ng iba na gustong magtanong kung papaano ito gawin. Hintayin ko at try kong sagutin, kung hindi man masagot nandyan naman si sir edosayla at ibang mga masters para sumagot. Smile

jakeark wrote:wow thanks po galing , puede rinsiya sa vray?
bounce cher

Wala pong anuman. Hindi ito pwede sa Vray. May ibang paraan po kasi sa iba't ibang render engine. Smile
logikpixel
logikpixel
CGP Apprentice
CGP Apprentice

Number of posts : 818
Age : 44
Location : sharjah, tarlac, gensan
Registration date : 09/03/2009

http://selectiveblur.blogspot.com/

Back to top Go down

DOF Using Lens Shader Empty Re: DOF Using Lens Shader

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum