Hi,
i just modified the ‘makepanda.py’ so that it complies the Maya 7 exporter and the Max 8 exporter (last one untested till now) under Windows.
Followin is the diff file that you can apply with the patch command. To do this in Windows you will need MSYS or cygwin.
To apply the patch:
- paste the following code in a file and save it as ‘makepanda.diff’
- put it in the same directory as the ‘makepanda.py’.
39c39
< "OPENSSL","FREETYPE","FFTW","MILES","MAYA5","MAYA6","MAYA65","MAX5","MAX6","MAX7",
---
> "OPENSSL","FREETYPE","FFTW","MILES","MAYA5","MAYA6","MAYA65","MAYA7","MAX5","MAX6","MAX7","MAX8",
243a244
> MAX8 3D Studio Max version 8
246a248,249
> MAYA65 Maya version 6.5
> MAYA7 Maya version 7
438a442
> MAXSDKCS["MAX8"] = "sdks/maxsdk8"
441a446
> MAXSDK["MAX8"] = "sdks/maxsdk8"
444a450
> MAYASDK["MAYA7"] = "sdks/maya7"
477c483,484
< ("MAYA65", "SOFTWARE\\Alias|Wavefront\\Maya\\6.5\\Setup\\InstallPath")
---
> ("MAYA65", "SOFTWARE\\Alias|Wavefront\\Maya\\6.5\\Setup\\InstallPath"),
> ("MAYA7", "SOFTWARE\\Alias|Wavefront\\Maya\\7.0\\Setup\\InstallPath")
503c510,511
< ("MAX7", "SOFTWARE\\Autodesk\\3DSMAX\\7.0", "Installdir", "maxsdk\\include\\CS")]
---
> ("MAX7", "SOFTWARE\\Autodesk\\3DSMAX\\7.0", "Installdir", "maxsdk\\include\\CS"),
> ("MAX8", "SOFTWARE\\Autodesk\\3DSMAX\\8.0", "Installdir", "maxsdk\\include\\CS")]
970c978
< for ver in ["MAYA5","MAYA6","MAYA65"]:
---
> for ver in ["MAYA5","MAYA6","MAYA65","MAYA7"]:
972c980
< for max in ["MAX5","MAX6","MAX7"]:
---
> for max in ["MAX5","MAX6","MAX7","MAX8"]:
1143c1151
< for ver in ["MAYA5","MAYA6","MAYA65"]:
---
> for ver in ["MAYA5","MAYA6","MAYA65","MAYA7"]:
1173c1181
< for ver in ["MAYA5","MAYA6","MAYA65"]:
---
> for ver in ["MAYA5","MAYA6","MAYA65","MAYA7"]:
1360c1368
< for maya in ["MAYA5","MAYA6","MAYA65"]:
---
> for maya in ["MAYA5","MAYA6","MAYA65","MAYA7"]:
1366c1374
< for max in ["MAX5","MAX6","MAX7"]:
---
> for max in ["MAX5","MAX6","MAX7","MAX8"]:
3838c3846
< for VER in ["5","6","65"]:
---
> for VER in ["5","6","65","7"]:
3850c3858
< for VER in ["5","6","65"]:
---
> for VER in ["5","6","65","7"]:
3863c3871
< for VER in ["6", "7"]:
---
> for VER in ["6", "7", "8"]:
3890c3898
< for VER in ["6", "7"]:
---
> for VER in ["6", "7", "8"]:
4017c4025
< for VER in ["5","6","65"]:
---
> for VER in ["5","6","65","7"]:
Then open a command window and enter the following command:
patch -n -i makepanda.diff makepanda.py
When you done all this compile all this as always.
If Maya 7 or Max 8 (incl. SDK) are installed then the exporter will be build.
I hope that help some of you.
Cheers
Vendolis
EDIT: This all applys to Panda 1.1.0 under Windows