Place hi light tool

Wrote this tool about 2 years ago at home, and later copied it into the DD’s lightpipeline package. The basic idea is simple:
Given an eye point, and a reflection normal, calculate the reflection ray.
Some lighters on my formal show( Ironman3 ) found this tool pretty useful, so I’d like to share.

How to install:

1. download: http://www.linghaoli.com/misc/ling_place_hi_light_tool.zip
2. unzip.
3. copy the lightReflRay.py into maya’s plugin dir.
4. copy the placeHighLight.py into user’s scripts dir.
5. In maya, select a camera and a geo you want to place the hight
6. run python code as:

#######################
import placeHighLight as phl
reload(phl)
phl.placeHighlight()

Since it’s the lightReflRay is a maya python plugin node, it can update the reflection ray “Real time”.
Hope people find this useful :)

CBB:
if I had time, I’d write an AE template for this node. Also another output attribute(s) for the calculated the reflection ray’s world rotation xyz value would be great..

2 Responses to “Place hi light tool”

  1. Jason says:

    Hey Ling, thanks for sharing the tool. Seems pretty cool and useful…will give it a whirl soon…

    cheers,
    Jason

  2. You saw my scenes…it was more than useful. I used it religiously. Thanks, Ling!

Leave a Reply