SubscribeBlog

My New Reel!!

I have finally completed my first shiny new reel since 2009! Go Check it out and tell your friends!

Jonathan Beals Demo Reel 2013 from Jonathan Beals on Vimeo.

Fresnel to Schlick approximation network

I have been having the need to convert an ior to it’s schlick’s approximation lately. I started getting really annoyed with having to pull out the calculator every time, so instead, I just created a network of utility nodes in maya that does the math for me. So I enter the IOR in and IOR out and after some mathematical mumbo jumbo, it outputs the schlick’s approximation number.

This is great if you are using a render engine like Arnold and have been used to a render engine like vray or mental ray.

Here is the file. It is an .ma with a sphere that has a surface shader attached as material and the utility nodes connected to the surface shader for fast viewing.

Material Render time to look out for

 

 

Below is an image rendered in Mental Ray in Maya 2013.
What is the difference between the football on the left and the one on the right?

football MIAX

 

8 hours of Render time.

The only thing different between them? Materials. They both have the same exact material settings and the same exact texture hookups. The only difference is the football that took 8 hours to render had materials that were created in Maya 2011. The football that just took a couple minutes to render had materials created in Maya 2013.

Apparently Mental Ray does not like to render things created in previous versions. Best advice-recreate EVERYTHING in the version of Maya/MR you are using. Helps debug issues like these more quickly. #lame

Unified Sampling

As I’ve talked with many friends about aliasing/sampling issues, I’ve found that not everyone is on the same page (including my self), and unless you are an advanced user of Mental Ray, you’re not quite too sure where to begin your research. So I wanted to put together a short summary of sampling information that I know about for those of us that often get lost on the threads from the ARC forums. So sampling.

I don’t want to go into adapative sampling because there are tons of threads out there. Just googling it will give you so much information. This link here (http://www.impresszio.hu/szabolcs/MentalRay/MentalRaySampling.htm) is incredibly helpful.

I want go into Unified sampling (which have increasing amount of threads, but because it is still hidden in maya, I figured I’d help spread the word.) To gain access to the unified sampling methods in  Maya you need a script (http://forums.cgsociety.org/showthread.php?t=971719). This script creates a gui for the features that are “hidden” way deep in the string options of Maya. Unified Sampling is a newer form of sampling an image. For complex scenes and scenes with motion blur, it is faster than regular Adaptive Aliasing. For simple scenes, it’s not quite there yet. But give it a release or two and it should catch up. The fine folks at Mental Images are doing a great job with refining their product and listening to the consumers, it’s just Autodesk’s lousy implementation that is keeping these features out of the hands of the technically challenged (like myself).

USampling is an Iray technology that is being migrated into Mental Ray. If you combined USampling and Progressive rendering, you have a pretty close representation of the sampling that iRay does. When you expose the controls of Unified Sampling you will have very similar controls that you have with the basic AA technique. You have a min and max samples, but you also have an error cutoff threshold and a quality knob. This sampling technique is linear and not exponential like in AA. So 2 samples really is 2 samples and not 16. The error cutoff is similar to the contrast in AA. But it tells the render below what contrast to stop sampling. So an error cutoff at .02 tells the renderer to not sample if something has a contrast of .02 or less. With each release, this method gets about 10-15% faster than the previous release.

So instead of setting up all of your lights and materials and setting samples of 16 or 32 on each material and light, you leave everything low, like really low. We are talking 1 to 2 samples. Then you let USampling do the rest of the work for you and you just control the quality knob. It’s so much easier to set up and to control. USampling does a lot more under the hood than AA, that’s why you won’t see much of a gain in simple scenes. But for scenes with tons of glossy reflections, I would definitely test this method out, especially if you are using it with the native ibl or the user_ibl shaders. A lot of these new shaders and lights and bsdf models take full control of USampling and is optimized for it better than older materials like the soon-to-be deprecated MIA material.

Apparently, things like Importons and Irradiance particles are built to be optimized for USampling. So in theory, or in short time USampling will help these indirect lighting solutions and you will shortly be able to brute force final gather or IP with good render times and good quality.

So keep your eyes out for further releases and information about this. MR has tons of amazing features that other renderers don’t have. Unfortunately we have to wait on someone that knows how to script to get it into a gui while Autodesk plays catch up.

Wireframe script

This used to be in my tutorials section, but there are so many tutorials out there, I didn’t see the need to write one up again. So instead, here is a wireframe script for maya and Mental Ray. It creates a beauty render using the sun and sky and an MIA material with contour rendering enabled. Super fast to render, and is a good starting base for wire framing rendering.

BealsJ_MR_Wireframe

It’s been a while

It has been well over a year since I have posted anything, and as anyone in the industry knows, it is hard to find time to do anything outside of work. I planned on just nuking my site and blog because it was in such a disastrous state, but I was asked by friends not do that and instead do an overhaul. And every time I would move my mouse over to the self destruct button, I would get a comment saying something like “thanks for the tutorial, it helped me.” And that is what this is about. So I have completely revamped my website AND my blog and am replacing with this one.

I am not going to post any of my old work and only a few of my old tutorials because they are all heavily outdated and I can do much better now. I will continue to update with new works and hopefully a few tutorials here and there. Thanks for all the support, I really appreciate it.

 

Jonathan