Page 1 of 1

Problems Rendering

Posted: Mon Jun 23, 2008 9:23 pm
by gadzooks
I have completely un-installed all max components as well as maxwell components on all my machines. I have then reloaded max 2009 design and maxwell 1.7 on all of the machines, as well as the new max plug-in on all machines. Now when I try rendering anything (VIA The Plug-in) it either hangs up on voxelization or crashes all together. I have tried to save out an MXS file, and open it on the render farm and try to render their but the same thing happens? I'm at a total loss as to why this is happening? My specs on the machines are as follows:

Main computer:
Mac pro running Bootcamp
Windows 2003 Server 64 (Service pack 2)
quad core with 4gig of ram

Render Farm:
windows xp 32 sp 2
dual 3gig xeon
4gig of ram.

Posted: Mon Jun 23, 2008 9:41 pm
by gadzooks
Ok I saved out a copy of the file and put a new maxwell material on everything and now it render's fine, both via the plug-inn and the MXS file!? Pleaes,please,please, tell me I'm not going to have to re-texture the entire model????!!!!!

Posted: Mon Jun 23, 2008 9:57 pm
by Bogdan Coroi
Who is crashing? The plug-in or MXCL? Care to share a max scene/mxs file?

Posted: Mon Jun 23, 2008 10:02 pm
by gadzooks
mxcl is crashing. Sure will you need all the materials associated with it?

Posted: Mon Jun 23, 2008 10:12 pm
by Bogdan Coroi
Since they seem to be the problem, yes, I need them. Instead of simulating a pack&go by looking all over the hdd for the materials, maybe you could transform them to embedded type first and just send the max scene file. Your choice. (bogdan.coroi@gmail.com)

Posted: Mon Jun 23, 2008 10:22 pm
by gadzooks
you could transform them to embedded type first
How would i do this inside of max. Do i have to do each one individually or can you do it globally?

Posted: Mon Jun 23, 2008 10:52 pm
by Bogdan Coroi
You can't do it globally, unfortunately.

Posted: Mon Jun 23, 2008 11:22 pm
by Bogdan Coroi
... unless you're playing with MAXScript.

Here's a script I just wrote to do it automatically on all MaxwellMaterials in the scene.
Code: Select all
myObj = geometry as array
for i = 1 to myObj.count do
(
    m = myObj[i].material
    if (m != undefined AND (hasProperty m "Material_type")) then
    (
		if (m.Material_type == 0) then
		(
	        m.Material_type = 1
	        maxwellMaterialImport material:myObj[i].material input:m.Refereced_MXM_file_path
		)
    )
)

Open MAXScript listener (F11) and create a new script file (File->New script), paste the code in there and run it (CTRL+E). Hope it works fine. (Just in case, make a copy of your scene before running it)

LE: I've made a separate post hoping that you haven't starting doing it manually yet and also hoping that you get forum mail notifications on every post in the threads you're active.

Posted: Tue Jun 24, 2008 2:30 pm
by gadzooks
Thank you Bogdan. I ran the script i will e-mail a zipped file. Thanks Gadzooks