Maya 2010 - maximum voxel resolution

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  03 March 2010
Maya 2010 - maximum voxel resolution

just wondering if people have found the maximum 'kilovoxel' resolution which maya 2010 is able to CACHE. I can use ~400 in one axis, but if i start upping resolution too far in other axis Maya cache conks out at frame 1.

Have people found a limit at all? is it in 1 axis, or 3 axis combined voxel count or something based on system RAM.

We're working with 8-12gb of RAM FYI.

  03 March 2010
its not maya 2010 but I think 2009 is the same. I maxed out at 82 million voxels, anything over that even a scripted change doesn't seem to change the rez.

my script to calculate voxel count is

//get scale attrs
string $fluids[] = `ls -type fluidShape`;
float $fluidW = `getAttr ($fluids[0] + ".dimensionsW")`;
float $fluidH = `getAttr ($fluids[0] + ".dimensionsH")`;
float $fluidD = `getAttr ($fluids[0] + ".dimensionsD")`;

//scale attrs
vector $fluidScale = <<$fluidW, $fluidH, $fluidD>>;

int $fluidRezMultiplier = 15;
vector $fluidRezMult = ( $fluidScale * $fluidRezMultiplier);
//resolution after multiplier
print ($fluidRezMult + "\n");
//total voxel count
string $totalVoxelss = (($fluidRezMult.x * $fluidRezMult.y * $fluidRezMult.z) + "\n" );
print ($fluidRezMultiplier + "x = " + $totalVoxelss);

//*** set it by hand if you want copy and paste results***
setAttr ($fluids[0] + ".resolution") 75 48 450;

its just rough code I use in the script editor to get total voxel count and rough multiplier for up-rezing. I know there are nicer ways to do this but I rather just do it like this.
-- Dave
  03 March 2010
oh and maya becomes completely unworkable getting even close to that. I find 20-40 million voxels to be the high end of what is still workable. Maya will start to chug on ever operation when there is an ubber hi rez fluid in the scene. which is why I was saying scripted changes. You even eventually don't want to even do anything other than uprez, sim, render.
-- Dave
  03 March 2010
My humble mac dies with anything over 8mil voxels but that probably isnt saying much with only 4GB ram on 32bit software.
  03 March 2010

Bear in mind how may grids you have:

density + heat + fuel + velocityX + velocityY + velocityZ + colorR + colorG + colorB + texX + texY + texZ = 13 grids * numberOfVoxels ...

That's quite some data !
  03 March 2010
thats a good point for cache size. Vel, tex-co and color are vectors. You know, if your only rendering density for example, you can just cache density. All attrs will calculate but only density will cache. This will only save on cache file size and not max voxels you can sim. whatever is enabled will have to be stored in ram like RingoStar said.
-- Dave
  03 March 2010
Note that there was a bug in Maya2009 where one could not cache large fluids( I think resolution topped out at something like 130,130,130 when velocity grid was included in the cache ). This was fixed in service pack 1.

At any rate it is still a good idea to only cache the grids you need for rendering to limit the cache size.

  03 March 2010
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 09:15 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.