2011-10-16

Montreal Trip

Heading over to Montreal again.

I'm sorry this blog doesn't have much content these days, but I'm... busy. But being busy means good things for you guys, right? :)

In a while, there may be some new... interesting... posts here. For now.....

/Z

2011-09-28

This is the 100:th post...

...and it's only appropriate that it is about the fact that I've been hired by Autodesk.



Yes, you've seen Ken spill the beans over on CGTalk. It is true. Autodesk has hired me to handle rendering and funky stuff like that. Pixels. Whatnot. Friday sept 30:th is my last day at mental images/NVidia (which I end by doing the meet-and-greet-3d event in Berlin, see previous post), and Monday October 3:rd my first day at at Autodesk... this time around (I used to work for Autodesk in the past, doing mechanical design software).

This all started around some discussion between my good friends Neil Hazzard, Shane Griffith and myself back at EUE (all good friends which will now be my actual colleagues). It was thrown out as an idea, we pondered the thought, thought it made sense, and I talked to my managers at mental images/NVidia, and everybody thought it made a lot of sense.

Integration of mental ray and iray into Autodesk products have always been.. problematic. Integration work was done by Autodesk, but there was never a dedicated person with enough precise know-how of the nitty-gritty details to handle it (or sometimes simply not enough priority put on it). Well...... now I will be working there. 'nuff said :)

I think this will be interesting, and I've been "Shader Wizard" for mental images (now "NVidia ARC" - "Advanced Rendering Center") for 7+ years now, perhaps it's time to move forward to New Challenges. Todays physical rendering doesn't really require "shaders" in the same way it did in the past anyway..... 'tis all BSDF's and physics and shiny stuff :)

It's not like I'm moving far anyway. I will probably be in all the same meeting, just on the other "side"....

I think this will be really interesting, and the future is Bright (about 95000 cd/m^2 to be exact). Lets go there together.

With Sunglasses.

Also, as I type this I am finalizing some Really Cool Sh%t. Stay tuned - as always :)

/Z

2011-09-14

Appearing at Meet and Greet 3D



On Sepmber 30:th 2011 I will be speaking at the Meet and Greet 3D event in Berlin.

I will do a small sit-down session about Linear Workflow at 2 PM, and a big-hall presentation about the physics of light at 11.50AM. <=== UPDATED TIME!!!

Venue info etc. available at www.MeetAndGreet3D.com

Location:

  • Forum Adlershof, Rudower Chaussee 17, 12489 Berlin


See you all there. :)

/Z

2011-08-23

User Survey (and a chance to Win a Quadro 6000!)

Just a quick note; We are currently running a user survey, and anyone who fills this in can win a NVIDIA Quadro 6000 graphics card!

It's a survey about how you use mental ray, and we want to gauge how it is being used across all possible industries. Appreciate your answers!

So please take the survey by clicking right here!

/Z

2011-06-29

What if SIGGRAPH was held in a Pub?

Hotel Florin (EUE 2009)

Have you ever wondered what it would be like if SIGGRAPH was about 200 of your best friends, had all the cool talks but none of the showfloor commercial glitz... and was held in a pub?

If you think that sounds like a good idea, you should have registered for the End User Event (see previous post). Me? I'm packing my last thing, flying down there now.

If you wish you were there, well..... I told you already. In the aformentioned previous post :)

This year I'm going a bit more abstract than previous years, and will be talking about "the Physics of Light", and 'tis gonna be fun.

I will (connection willing) try to amend this post with some pictures, videos, and other stuff as the event happens.

For those who want the (likely) stream of crazy updates, tune in to my twitter at twitter.com/MasterZap.... connection willing, of course.


/Z

2011-05-18

Welcome to EUE 2011

As several years previously, I will be presenting at the EUE (= "End User Event") 2011 in Utrecht, Netherlands.

The event is June 30:th/July 1:st, and it is held in the Florin, a nice old building that used to be a bank, but now is a pub..... with adjoined conference rooms.



Think of the event as the worlds smallest SIGGRAPH - only with the commercial glitz shaved off, and held in a pub. And if you walk outside, you are not run over by yellow cabs, but by blonde students on bicycles. Seriously, you almost need a bicycle helmet to walk the streets here. :)

Check out the www.EndUserEvent.com site for more details; there is even a Youtube behind-the-scenes channel where you can see the organizers setting up the event, which I found neat.

This year I will be talking about light, the perception thereof, and how to translate that knowledge to what you do in CG.

But I'm not the only one rambling, other speakers include:
  • Jeff Mottle (CG Architect)
  • Wayne Robson (y'know mudbox guy)
  • Rune Spaans (about his work on Troll Hunter)
  • Jamie Gwilliam (Autodesk)
  • Neil Hazzard (Autodesk)
  • Shane Griffith (Autodesk, will be holding an NDA session on future dev. of 3ds Max)
  • Ted Boardman (often mistaken for a member of ZZ top)
  • Johan Boekhoven
  • Eric de Broche
  • Yoni Cohen
  • Borislab "Bobo" Petrov
  • Hristo Velev
  • ...and many more, see here
While waiting, what about the trailer for Troll Hunter that Rune worked on? Think of it as "Cloverfield goes to Norway. With Trolls". :)
See you in Utrecht!

/Z

2011-04-26

Render Optimizer script for max 2012

I discussed progressive sampling in the previous post. Thorsten Hartmann and Artur Leão has collaborated on an "Über-script" for handling a ton of stuff. Torsten calls his variant "Render Optimizer" and can be found on this link:

http://www.infinity-vision.de/blog/render_optimizer

The Render Optimizer does a lot more than just turn on unified sampling, and Thorsten has several tutorial on the various subcomponents.





If you are overwhelmed by the number of tabs on Thorstens version, Artur also independently has a slightly different version on his site, called "mr Options Manager", which you can find here:

http://dimensao3.com/al/





I will be updating this post w. some tricks-and-tips myself shortly.
For now, Enjoy Thorsten and Arturs cool work!

/Z

2011-04-15

2012 and Unified Sampling

Hello World!

The new 2012 versions of the Autodesk products Max/Maya/Softimage are upon us, and they are loaded up with mental ray 3.9.

One of the cool new features in 3.9, which doesn't seem to be exposed in some of the products, is "unified sampling".

The new "Unified Sampling" is a new way to choose which and how many samples (i.e. "rays") are shot into a given pixel, and what position in space AND TIME those rays have.

This becomes very significant as we discuss motion blur.

For anyone who have read the Samples Tips page over at lamrug.org knows that mental ray normally shoots rays roughly in a grid (but with jittering, so it is not exactly a grid) which it subdivides adaptively as needed, and for motion blur, mental ray actually (in the default raytracing case) shoots multiple rays into the same spatial position, but with different temporal positions (effectively rendering the subpixel sample at more than one position in time).




An image from LAmrUG.org


Now, Unified sampling unifies (hence the name) spatial and temporal sampling. Each ray has it's own space AND time sample. And not only that, the convergence of both is adaptive, so you simply set a lower limit on the amount of rays (say, 1) and an upper limit (say, 100) and simply turn a quality knob. This tries to adaptively resolve any noise from any source, be it soft shadows, glossy reflections, or motion blur with the SAME oversampling scheme.

Sounds nice, eh? So it's a pity it wasn't included in the 3ds Max UI, isn't it?

Luckily, the FEATURE is still there, and can be reached via Scripting.

In the Beta team, a set of people generated scripts to solve this issue (there are even several), and here are a few places you can download such scripts:

Arthur Leão and Duncan Howdin cowrote this script (pictured above) which you can download from Arthur's site
at http://dimensao3.com/al/ (file itself here)

It allows you to set the parameters and by doing this improve render times with motion blur and quality of quasi-random effects such as soft shadows and glossy reflecitons more easily than in the past.

These scripts utilize the MaxScript exposure of mental ray "string options". A problem with the string option MaxScript feature is that it the state of string options is NOT saved with the .max file. However, Arthur has solved this isse with a callback in the script ... or somesuch magic, I suck at MaxScript myself... ;)

Thorsten Hartmann (Infinity Vision) wrote another version which he has posted at http://www.infinity-vision.de/blog/unified_sampling which also contains some information and test renders.

Enjoy Unification day!

/Z

2011-03-21

MetaSL.org - MetaSL Tutorial and Reference Book/Website

Hello everybody!

Today we release MetaSL.org which is a companion website to the work-in-progress book about MetaSL programming by Andy Kopra and Lutz Kettner.


This site/book is a walkthrough of the concepts behind MetaSL and will show you how to write shaders in the MetaSL language.

Now, let it be clear that this is intended as a living "work in progress site", so these are the initial chapters of the book, available online.

I quote from the page: "Chapters of the MetaSL book will be posted on the website in both HTML and PDF formats as they are written. The structure and contents of earlier chapters may change as required by the development of later chapters. The reference pages, based as they are on the MetaSL specification, will not change between MetaSL specification versions, though improvements may be made in the way the content is hyperlinked and cross-referenced."

What is available so far is the first four chapters explaining topics such as basic language concept and layout, and some of the most basic shading- and raytracing concepts.





The book also has an accompanying forum on the mental images website, where questions and feedback can be posted. You will get an unprecedented front-row seat to the evolution of this book. Enjoy the ride!

/Z

2011-03-03

Issue in mia_envblur in 3ds Max

An issue has been found in the "mia_envblur" shader as it is integrated into 3ds Max. (Read more about mia_envblur here)



Autodesk has added a Phenomenon wrapping the shader, and it was just discovered there is a typo in the Phenomenon declaration, that causes one of the parameters to not actually function. The blur still works - but only with a fixed level. The checkbox for inheriting the blur from the Arch&Design material is non-functional!

You can easily fix this yourself by opening a file named "architectural_max.mi" which in the path: <3dsmax>\mentalimages\shaders_standard\mentalray\include.

Opening the file you can search for a line which reads like this:

"mia_material_blur" = interface "not m.mia_material_blur",

Edit this line to read:

"mia_material_blur" = interface "m.mia_material_blur",

...i.e. removing the "not ".

Now, all parameters of your environment blur (including inheriting blur from the Arch&Design material) should work!

Also, some people report issues with flickering in the reflections. This can be caused by two things:
  • Too low resolution in the Envblur shader. The "resolution" value need to be high enough to resolve details in the original environment map.
  • Intermittent interaction with the "blur" feature in 3ds max "Bitmap" shader. Turn down the blur in the Bitmap shader (in the "Coordinates" rollout) to lowest possible, which should resolve the problem.


/Z

2011-02-26

I thought this was funny....

I normally don't use mentalraytips.com to post "funny" things, but I had to make an exception for this, because, well... you'll see.

When I received this little video, it literally made my day. It's the "Behind The Scenes" video for Freddie Wong's "Epic VFX Time". Freddie does little funny visual effects experiments and tutorials on his youtube channel - well worth a watch.

However, when this came across my screen, well, I couldn't help but laugh:


I've been mentioned in VFX behind-the-scenes documentaries before - but never like this.

Thanks guys. :)

However, I'd like to massively correct that I am not "the guy who programs mental ray", I am *a* guy who programs mental ray *shaders*. That's different. We are a whole team behind the software, not just me...

But still - thanks!

/Z

2011-02-04

The Great Directory Migration - putting stuff in 3ds max 2011 (and newer)

I apologize that this blog post is way overdue.

What's this about?
All over the net (including this blog) you can find instructions in how to add various shaders to 3ds Max, by putting files in certain directories in the 3ds max directory structure, namely a "mentalray" directory (with various subdirectories) under your main 3ds max directory.

Nowdays, there are two things to watch out for:

GOTCHA #1: 64/32 Bitness


First is 32 vs 64 bit. In windows, programs on a 32 bit machine live under a directory that (on an english speaking computer) is called "C:\Program Files\" 

This is also true for 64 bit programs on a 64 bit computer.

However, for 32 bit programs on a 64 bit computer the directory is called "C:\Program Files (x86)\" which may throw you off.

GOTCHA #2: 3ds Max 2011 (and newer)


When Autodesk introduced the MetaSL framework in 3ds Max 2011 (which means that shaders are not necessarily mental ray shaders per se) having a subdirectory to your max directory called "mentalray" doesn't really make sense any more. But since these both are mental images technologies, having a directory called "mentalimages" does make sense.


The change was made such that instead of a single "mentalray" directory under which the three categories of shaders (standard, autoload and 3rdparty), there is now instead a "mentalimages" directory. The three categories exist under this directory, similar to before.

However, under those three directories, the distinction between "mentalray" and "MetaSL" shaders has been added.

Under those you find various other subdirectories - which under the "mentalray" subdirectory hence includes the good old friends the "include" and "shaders" directories.

Example:

To add an .mi file like for example the skinplus.mi (a mental ray "include" file) shader to be automatically loaded on startup, you want it in the "include" directory under the "autoload" category.

In 3ds Max 2010 (or older) this would have been:
  • C:\Program Files\Autodesk\3ds Max 2010\mentalray\shaders_autoload\include
In 3ds Max 2011 (and newer) this would instead be
  • C:\Program Files\Autodesk\3ds Max 2011\mentalimages\shaders_autoload\mentalray\include

Basically, the translation would be that
  • C:\Program Files\Autodesk\3ds Max 2010\mentalray\shaders_<category>\<dirname>
becomes
  • C:\Program Files\Autodesk\3ds Max 2011\mentalimages\shaders_<category>\mentalray\<dirname>

I hope this helps installing various shaders and other goodies in 3ds Max 2011 and beyond.

/Z

2011-01-17

The Re-run-run-run, the Re-run-run (FXPhd class on again!)

For those of you who missed my FXPHD course the other two times it was run... HERE SHE IS AGAIN!







More info in the posts below. Again - this is a re-run, so it is the exact same classes as before... but I will be available in the FXPHD forum for students to ask crazy questions.

See you on FXPHD!

/Z