renderUtil = OpenMayaRender.MRenderUtil
renderUtil.sampleShadingNetwork(....)
You can find the download here:
http://forums.cgsociety.org/showthread.php?t=558385
I written a custom node to sample the color at a given UV for deformations... it works on all 2D textures except for files, movies, and for some reason checkers. I can believe the files and movies... will need to use MImage for the files.
Anyone have a clue why checkers don't work?
-brian
www.meljunky.com
-------- Original Message --------
Subject: [Maya-Python Club:1166] Re: equivalent of colorAtPoint?
From: Chris Mills <[EMAIL PROTECTED]>
Date: Mon, October 06, 2008 1:36 pm
To: [email protected]
I would love to hear what you get back for info on this as it is a topic
both near and dear to me from projects I've worked on this year.
Chris
Lizard Lounge Graphics, LTD.
Wellington, NZ
http://lizardlounge.com
Int'l: +644-977-5400 / +642-174-8770
NZ local: 04-977-5400 / 021-748-770
Chadrik wrote:
>
> i've got a node network comprised of all maya nodes --
> distanceBetween, samplerInfo, blendColors, plusMinusAverage -- and i'd
> like to evaluate it using the API at a given vertex or UV point.
> essentially, i want to do what the mel command colorAtPoint does. can
> anyone point me in the right direction?
>
> thanks in advance,
> -chad
>
>
>
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---
