Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Subject: Cameras
Subject: scaleDown command
Subject: black out solved
Subject: Aircraft Tutorial
Subject: Mathematical XYZ ?
Subject: Re: Its done This vs That
Subject: Re: Its done first week
recommendations for screen video captures?
Subject: 3DExplorer "Oddity "
Subject: Re: New Director
Subject: ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
Subject: RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Subject: Re: Texturing
Big Break Contest Videos
Subject: New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Subject: Plasma?
Looking for Inspiration
Subject: Weird EMail Q
Subject: Re: It 's done first week ?
Subject: Cherry not cranberry
Subject: Re: New game
Camera Animation Problem
Subject: Particle plugins?
 
How to get an value from 2 frames before the current frame using API!

How to get an value from 2 frames before the current frame using API!

2003-12-12       - By Adam Burr

 Back
Reply:     1     2     3  

you might want to try:

MDGContext ( const  MTime  & when )
MDataBlock::setContext ( const  MDGContext  & ctx )

before getting the value ... but i've never tried it myself.


hradec.com wrote:
> I need to get an attribute value using MDataBlock.inputValue() from
> inside my compute function, but I need to get that value from 2 frames
> before the current frame. Just like getAttr -t option, but for
> MDataBlock.inputValue()!
>  
> How can I do that? Can I use MGlobal::viewFrame()? Or theres another way
> to do that?
>
> []'s Hradec
> hradec@(protected)
> www.hradec.com/hradec
>
>
>
>>-- --Mensagem original-- --
>>De: maya-dev-bounce@(protected)
>
> [mailto:maya-dev-bounce@(protected)]
>
>>Em nome de Elvira Pinkhas
>>Enviada em: sexta-feira, 12 de dezembro de 2003 14:20
>>Para: maya-dev@(protected); maya@(protected)
>>Assunto: using alfred to render with mental ray in maya
>>
>>Hi,
>>
>>I have a script which launches a regular maya batch render with
>
> Alfred.
>
>>However, I need to modify it to make Alfred launch Mental Ray render
>>instead.  I think I have to change some of the arguments in Alfred's
>
> Job
>
>>command.  However, I don't quiet understand the meaning of some flags
>
> from
>
>>Alfred's documentation.
>>
>>right now I have this command
>>
>>Job -title ........ -service {mayaRender} -tags {mayabatch} ......
>>
>>I think the service tag needs to be changed probably to specify mental
>
> ray
>
>>but I don't know what to replace it with.
>>
>>Where can I get this info?  Does anyone know how to modify this for
>
> Mental
>
>>Ray?  Also are there any websites about Alfred aside from the
>>documentation that came with it?
>>
>>I'll appreciate any help I can get.
>>Thanks.
>>Elvira
>>
>>
>>
>>-- ---- ---- ---- ---- ---- -----
>>Do you Yahoo!?
>>New Yahoo! Photos - easier uploading and sharing
>>
>>
>>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
>>List-help: <mailto:listar@(protected)?Subject=help>
>>List-archive: <http://www.highend3d.com/maya/devarchive/>
>
>
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
> List-help: <mailto:listar@(protected)?Subject=help>
> List-archive: <http://www.highend3d.com/maya/devarchive/>
>
>
>



-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
List-help: <mailto:listar@(protected)?Subject=help>
List-archive: <http://www.highend3d.com/maya/devarchive/>