there you go :)  I was about to post it back here :)

On Wed, Apr 1, 2009 at 1:51 PM, Omar Agudo <[email protected]> wrote:

>
> Oh!! sorry!
>
> I have found the solution, in other post that I opened:
>
>
>
> "Yes there is, it's an attribute of the mentalrayGlobals node
> import maya.cmds as mc
> method = 4
> mc.setAttr('mentalrayGlobals.accelerationMethod', method)
> where method are: 0: BSP, 3: largeBSP, 4: BSP2"
>
>
> Thank you!!!!
>
> Omar.
>
>
> 2009/4/1 Omar Agudo <[email protected]>:
> > Thank you so much Chad.
> >
> > you say that: "the mental ray that is integrated into maya has all the
> same
> > features that standalone has, but it requires you to have maya open
> > during rendering."
> >
> > There is some way to access to parameters like "Acceleration Method"(
> > that appears in the render Settings
> > window) in my python script with Maya running in standalone mode?????
> >
> > Thank you!!!!!
> >
> > Omar.
> >
> >
> >
> > 2009/4/1 Chad Dombrova <[email protected]>:
> >>
> >> let's get back to the basics, here:
> >>
> >> 1) mental ray "standalone" is a completely separate application from
> >> maya that allows you to render scenes exported in mi syntax without
> >> having maya open.
> >> 2) the mental ray that is integrated into maya has all the same
> >> features that standalone has, but it requires you to have maya open
> >> during rendering.
> >> 3) to control a feature for mental ray standalone, you change the
> >> appropriate attribute in maya, then export to mi, where you will find
> >> the attribute as its corresponding value in the resulting mi file.
> >> then you render the mi file using the application called "ray" or
> >> "ray.exe"
> >> 4) whether you are rendering through maya's GUI or via maya batch on
> >> the command line you are still using maya's integrated mental ray,
> >> i.e. not mental ray standalone.
> >> 5) mental ray standalone does not come for free with maya, so if you
> >> are not sure if you have it, you probably don't.
> >>
> >> this is the mental ray mailing list:
> >> [email protected]
> >>
> >> -chad
> >>
> >>
> >>
> >> On Apr 1, 2009, at 6:20 AM, Omar Agudo wrote:
> >>
> >>>
> >>> I think so, but it´s strange that with the UI of Maya, you can have
> >>> access to parameters like "Acceleration Method" in the render Settings
> >>> window that are parameters for the mental ray standalone version.
> >>>
> >>> Why this happened??
> >>>
> >>> Omar.
> >>>
> >>>
> >>> 2009/4/1 Matthew Gidney <[email protected]>:
> >>>>
> >>>> there is a standalone version of mental ray with maya 2009?
> >>>> thats news
> >>>> i always thought mental ray was encaplsulated within a plugin for
> >>>> maya
> >>>> and standalone mr is a separate software altogether.
> >>>> .....
> >>>>
> >>>>
> >>>> 2009/3/31 Omar Agudo <[email protected]>:
> >>>>>
> >>>>> Hi all,
> >>>>>
> >>>>> I am using the standalone version of Mental ray that comes with
> >>>>> Maya 2009.
> >>>>>
> >>>>> I am trying to render a scene (.ma) with the standalone version of
> >>>>> Mental Ray, because I don´t have enough memory when rendering the
> >>>>> scene with the default render that comes with Maya 2009, because the
> >>>>> scene contains a lot of triangles and objects. In orden to save
> >>>>> memory
> >>>>> I have read the tutorial
> >>>>> http://www.lamrug.org/resources/memorytips.html that explain some
> >>>>> options that comes with the Mental Ray render that improve the
> >>>>> memory
> >>>>> usage, turning on flushable the memory (reusable memory). These
> >>>>> options are:
> >>>>>
> >>>>>    * 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
> >>>>>
> >>>>> Another problem I have found is that I can´t use the Maya comand
> >>>>> Mayatomr (defined in the cmds API) that provides access to most
> >>>>> functionalities of mental ray.
> >>>>>
> >>>>> Have someone use the mental ray render that comes with maya 2009?
> >>>>>
> >>>>> Is needed to pay another license to use the Mental Ray options
> >>>>> (reusable memory)?
> >>>>>
> >>>>> Why the command Mayatomr doesn´t work?
> >>>>>
> >>>>> Thank you so much!!!!!
> >>>>>
> >>>>> Omar.
> >>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Matt Gidney
> >>>>
> >>>>>
> >>>>
> >>>
> >>> >
> >>
> >>
> >> >>
> >>
> >
>
> >
>


-- 
They say, "Evil prevails when good men fail to act." What they ought to say
is, "Evil prevails."
Nicolas Cage as Yuri Orlov in Lord of War.

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

Reply via email to