Light Linking and MPxLocator objects 2003-12-04 - By Bryan Ewert
Back ? from Wed, 3 Dec 2003 23:55:28 -0500
> I've built a node that's derived from MPxLocator. > The trouble comes in when I try to link a light > to this node... I can't.
My first instinct would be to, instead, derive from MPxSurfaceShape. A bit more work, but the node is then part of Maya's draw request queue, and may also offer light linking association. Haven't tried it myself, tho'; standard disclaimers; yadda yadda.
Aside: In my (minimal, admittedly) research on this topic, I see there's a new class in Maya 5's API: MLightLink. Man, I feel so out of the loop being stuck in Maya 4. :(
-- Bryan Ewert ? maya@(protected) ? http://www.ewertb.com ?
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- List-help: <mailto:listar@(protected)?Subject=help> List-archive: <http://www.highend3d.com/maya/devarchive/>
|
|