PDA

View Full Version : Rendering a scene with 100+ Textures


Jadetiger
11-20-2007, 09:56 PM
I have to do a store rendering with 100+ different products for my employer. 1/3 of the products have pngs between 200-500k and 2/3 of the products have a jpeg that's between 100-300k, no bump or spec. As well, all the models are very low poly. I'm working on maya 8.5 right now and everytime I go to render my scene or even move around it crashes. I was hoping to do a high end render using mental ray, but right now it can barely manage a maya software render. The computer I'm running on should be able to handle it but I do keep getting memory errors and crashing maya. If anyone has suggestions on how to get this thing done, whether that be rendering tips or tweaking the software.

Basically I'm wondering what is the best way to use the software when you need to rely on a ton of textures.

I tried searching for similar threads, but in the last couple months CGtalks search engine has not worked for me on more that 5 different computers. I get this Fatal error message. Anyway, I'd appreciate any help. Thanks.

floze
11-20-2007, 11:35 PM
It should be possible with mental ray, run a search on the .map texture file format, and along on imf_copy, the tool which converts stuff into this memory mapped format.

If you're using Maya software, try using BOT (block ordered texture) to cache your textures. There should be some stuff about this in the manual.

edit: if the cgtalk search fails, try google instead:

http://www.google.de/search?q=site%3Aforums.cgsociety.org+imf_copy ;)

HellstormDe
11-21-2007, 07:16 AM
Did you render the image with the command line render tool? This saves around 300 MB memory.
Also try booting Windows (if you use it) with the "/3GB" boot switch. This will also give you 600 or 700 MB more memory.


btw... what's the 5th thing in your signature? :D

Kel Solaar
11-21-2007, 02:02 PM
imf_copy.exe -r -p C:\CurrentTexture.tif C:\CurrentTexture.tif.map
Don't Forget The -r Parameter, In Your Case Thats The One That Will Help You The Best.

Thomas

floze
11-21-2007, 02:23 PM
imf_copy.exe -r -p C:\CurrentTexture.tif C:\CurrentTexture.tif.map
Don't Forget The -r Parameter, In Your Case Thats The One That Will Help You The Best.

Thomas
ack.. but be careful if you are using Maya texture filtering, as it raises fatal artifacts in combination with the -r flag, afaik.

Kel Solaar
11-21-2007, 02:37 PM
ack.. but be careful if you are using Maya texture filtering, as it raises fatal artifacts in combination with the -r flag, afaik.

Interesting, Never Had Them Currently, Do You Have Some Examples?

floze
11-21-2007, 03:01 PM
Interesting, Never Had Them Currently, Do You Have Some Examples?
Aha, I realized I couldnt reproduce it either with some quick tests; they hopefully fixed that in the recent versions.. However, you may run into problems with the -r flag, ye be warned! ;)
And you instantly notice when it happens. :)

Jadetiger
11-21-2007, 03:52 PM
btw... what's the 5th thing in your signature? :D


That's the joke. ;)

Thanks for the help guys. I'll try all that. And I'll have one of my more techy friends translate that into newbish for me. :D

Jadetiger
11-21-2007, 08:09 PM
Well, I'm trying to use Mental Ray and i finally looked out the output window and script editor for any errors. One problem was I didn't have a camera selected for the Render (doh). Another was 3 of my textures were CMYK and apparently mental ray refuses to deal with those (fun fact of the day), lastly is just a generic error that only seems to be solved if you export everything and import it into a new scene which I am in the process of doing. Hope this works.

I also spent a good 2-3 hours cleaning up my hypergraph, converting tifs to pngs and other non-sense. At least I can manuever in Maya now without it crashing. Rendering gets to be a whole other nightmare now. Yaaaay! :bounce:

floze
11-21-2007, 08:19 PM
Well, I'm trying to use Mental Ray and i finally looked out the output window and script editor for any errors. One problem was I didn't have a camera selected for the Render (doh). Another was 3 of my textures were CMYK and apparently mental ray refuses to deal with those (fun fact of the day), lastly is just a generic error that only seems to be solved if you export everything and import it into a new scene which I am in the process of doing. Hope this works.

I also spent a good 2-3 hours cleaning up my hypergraph, converting tifs to pngs and other non-sense. At least I can manuever in Maya now without it crashing. Rendering gets to be a whole other nightmare now. Yaaaay! :bounce:
That's right, mental ray does not like TIFF very much, except the plain uncompressed one which does not make much sense.
For texture replacement stuff use FileTextureManager (http://www.highend3d.com/maya/downloads/mel_scripts/data_management/1012.html).

Its generally a good idea to hand over a clean as can be scene to the rendering guys. ;)
Saves headache.

CGTalk Moderation
11-21-2007, 08:19 PM
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.