Home » 3D, Download, XSI

Postlight

15 February 2007 87,603 views 3 Comments

Getting started with Post Light

To add Post Light to your scene, start by opening an FX Tree window (press Alt+1), and then open the FX Operator Selector by going to the FX Tree menu and selecting View->Operator Selector.

There are three ways to add Post Light to the FX Tree.

Either:

  • Go to the Ops menu of the FX Tree and select Post Light from inside on of the Plugins folders. This will add Post Light to the FX Tree unconnected.

or

  • In the FX Operator Selector, find the Post Light plugin (not the Post Light Encode plugin, which we’ll discuss later) which should be under one of the plugin tabs and select it. Now middle click in the FX Tree. This will add Post Light to the FX Tree unconnected.

or

  • In the FX Operator Selector, find the Post Light plugin which should be under one of the plugin tabs. To add Post Light, middle click on your render pass File Input nodes in the order that is specified on the right hand side of the FX Operator Selector (Color, Specular, Roughness Normals, and then Position). The Cache input is optional (more on this later).

    Finally, middle click in the FX Tree to add the Post Light node. This will add Post Light to the FX Tree and automatically connect it to your input passes.

Any one of these three steps should result in a new Post Light node being inserted into your FX Tree.

If you used either of the first two methods, you’ll need to manually connect your render passes to the correct Post Light inputs.

Now that you have Post Light correctly connected in the FX Tree, you will be able to add lights to your scene to see how they affect the render. Before you do this, you need to open the FX Viewer (Alt+2) and click on the V icon that appears when you hover the mouse over the Post Light icon in the FX Tree. This tells the FX Viewer to use Post Light as the current node to view.

You may notice, that if you add a light to the scene, you don’t see any change in the Post Light render. This is because Post Light has no way of knowing what you have just done. To solve this problem, I’ve written a Custom Display Host plugin which informs Post Light of any changes that you have made.

Post Light Monitor

The Post Light Monitor tool detects any changes in the scene’s lighting, and updates Post Light so that you can see the change you’ve made in the FX Viewer.

To activate the Post Light Monitor, select Application->Views->Custom Display Host from the main XSI menu. This will open a new window. Right click in this window, and select “PostLightMonitor”. You should see something that looks like this:

As long as this window is open and contains the Post Light Monitor, the FX Viewer will update any time you change the lighting in your scene. If you prefer to manually refresh the FX Viewer, simply uncheck the Auto-Refresh check box, and click on Manual Refresh whenever you need to.

The Update Cache button is referred to later on in this document.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

3 Comments »

  • Adam Seeley said:

    Hi, Any idea if this works in Xp 64 bit Soft 2010/2011/2011 sp1.

    Thanks,

    Adam.

  • AndyN (author) said:

    Hi Adam,
    That’s a good question. I can’t see a reason why not, but it would need to be recompiled and I’m afraid I don’t have access to a Windows 64bit machine.

    It could only support phong based lighting models so it didn’t catch on as it probably wasn’t flexible enough for most pipelines. Anyway, as a result, I haven’t kept it up to date.

    Sorry!

  • Moykul said:

    Brilliant tool! Thank you so much!

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.