>
> I am talking about running the standalone mental ray renderer (e.g.
> using the 'ray' command) with the python-maya API,

> in orden to improve
> the memory usage with these options:
>
>
>> * Placeholders - Reuse memory for source geometry
>> * Approximation - Reuse memory with fine approximation
>> * Texture cache - Resuse memory with tiled texture maps
>> * BSP acceleration - Reuse memory with large BSP

the features that you have listed are features of mental ray, not of  
maya, maya simply provides access to them (hopefully). in that regard,  
yes, you can use all of them. in some cases maya will provide easy  
access and in other cases you'll have to do a bit of hacking.

>>
>
> I want to do that because I don“t have enough memory to render a scene
> that contains a lot of objects and triangles.
>
> I have been reading and I think that a solution could be export the
> scene (with the Mayatomr command) to a .mi file, and then render the
> scene with the 'ray command' that have the options I am looking for. I
> think it could be the solution.......
>

this is a two part process.  first, call maya to export your mi file.   
second, call ray and pass it the exported mi files.  typically, you  
don't want to call ray from within maya, because then you're not  
getting any memory savings because maya is still open.  if you have a  
render farm, you might want to setup two jobs, with the second running  
only after the first completes  ( some queue managers allow this to  
happen on a per-frame basis as well as a per job basis).

I am assuming that you have mental ray standalone licenses?

-chad




> Thank you !!
>
> Omar.
>
>
>
> 2009/3/31 Dean Edmonds <[email protected]>:
>>
>> On Tue, Mar 31, 2009 at 10:22, Omar Agudo <[email protected]>  
>> wrote:
>>>
>>> I want to use Mental ray stand alone.
>>>
>>> The question is if I can have access to these options:
>>>
>>>  * Placeholders - Reuse memory for source geometry
>>>  * Approximation - Reuse memory with fine approximation
>>>  * Texture cache - Resuse memory with tiled texture maps
>>>  * BSP acceleration - Reuse memory with large BSP
>>>
>>> and how using the python maya API.
>>
>> When you say "Mental ray stand alone" are you talking about running
>> the standalone mental ray renderer (e.g. using the 'ray' command)?
>>
>> Or are you talking about building a Maya standlone application using
>> the MLibrary class, and having that application access the mental ray
>> renderer which is built into Maya?
>>
>> --
>> -deane
>>
>>>
>>
>
> >


--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to