Beta 2.2 RC1: 3Ds Max plugin testing thread

3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Post Reply
User avatar
Proupin
Licensed Customer
Posts: 735
Joined: Wed Mar 03, 2010 12:01 am
Location: Barcelona
Contact:

Just tried 1.022c, it still doesn't awake the beast :D in max2009x86, cheers!
Win 7 64bits / Intel i5 750 @ 2.67Ghz / Geforce GTX 470 / 8GB Ram / 3DS Max 2012 64bits
http://proupinworks.blogspot.com/
User avatar
[gk]
Licensed Customer
Posts: 574
Joined: Sat Jan 16, 2010 12:48 pm
Location: Denmark

archive your scene and attach it to a new post, ill look at it. include your project directory please

-mads
Amiga 1000 with 2mb memory card
User avatar
Proupin
Licensed Customer
Posts: 735
Joined: Wed Mar 03, 2010 12:01 am
Location: Barcelona
Contact:

there you go
Attachments
pruebaTeapot.rar
The original path is F:\pruebaTeapot\... The scene can't get simpler... teapot+plane
(10.96 KiB) Downloaded 238 times
Win 7 64bits / Intel i5 750 @ 2.67Ghz / Geforce GTX 470 / 8GB Ram / 3DS Max 2012 64bits
http://proupinworks.blogspot.com/
User avatar
[gk]
Licensed Customer
Posts: 574
Joined: Sat Jan 16, 2010 12:48 pm
Location: Denmark

ok its related to max2009, trying to find a solution.
Amiga 1000 with 2mb memory card
kilaD
Licensed Customer
Posts: 215
Joined: Sun Mar 21, 2010 12:34 pm
Location: Norway
Contact:

Script for MAX versions 2008/2009 available for download in the second post in the thread!
Hello
User avatar
kubo
Posts: 1377
Joined: Wed Apr 21, 2010 4:11 am
Location: Madrizzzz

KilaD, the exporter works fine now in max 2011, but the thing is that for the y-flip to work correctly I have to control-click the render button, which works, but if I want to automate the process, like in animation, I have to be in front of the computer to check the exporter options.
I do know that I changed the defaults for the lightwave presets to fit octane needs, it might have something to do with it and the script no checking defaults or some thing the like.

By the way, the sun option works well with the daylight as long as you add a "sun" light inside max.

About the filepaths with spaces, couldn't it be done adding the complete file path delimited with "", I don't know crap about scripintg, but it does work in the batch file I use to send several renders to octane. I do have plenty of spaces in my drives, starting with "program files".

Good work mate, and thanks again
windows 7 x64 | 2xGTX570 (warming up the planet 1ºC at a time) | i7 920 | 12GB
kilaD
Licensed Customer
Posts: 215
Joined: Sun Mar 21, 2010 12:34 pm
Location: Norway
Contact:

Hey Kubo,

Do you use a preset in the objexp dialog? If so maybe set it to no preset.
You can check the objexp setting by evaluating this in the maxscript listener:

shelllaunch(objExp.getIniName())""
(keypad enter to evaluate the line)

Heres an image of what my settings are, 2011 as well so it should work! :)

Actually since version 1.022c, if there is no lights in the scene and you check the
sunlight, the script will ask if you want to create a sun. An OctaneSun to be presice :)

About the filepath, yes i see what you mean, it works like that in the project name textbox
(it will substitute any spaces with a "_"), but in this case we are browsing for a folder, and we are in
some way out of the scripts scope. But would filtering the whole path after picking it work? Would dos
understand and read "_" as spaces? If so i could give it a try, let me know what you think.

k
Attachments
objexp_setting.jpg
objexp_setting.jpg (67.09 KiB) Viewed 4352 times
Hello
User avatar
kubo
Posts: 1377
Joined: Wed Apr 21, 2010 4:11 am
Location: Madrizzzz

You were right! superb!, it was the damm default preset... go figure...so now I can finally play with animation... oh well... no sleep for me... it's so tought to have so much fun with octane... hehehe
About the DOS, I don't think DOS understands "_" as spaces, I guess there is two ways, one will be to add "" just before sending the command the other would be using the shorcut that DOS used for long names, which was something the like: "c:\program~1! instead of "c:\program files\" it could work in almost all cases, but if you had two folders with close enough names it would be luck you got it right, unless you scanned prior the tree, which I see as too much work.
Which I don't get is why it gets the executable path just fine, when it always has an space in the name (program files and such) and it doesn't get the ocs path correctly. Any chance of making a variable value prior of sending the cmd and there setting the path with the ""?
Dunno, like I said I haven't tried maxscripting (it's in my to do list, right after planting a tree and world domination :lol: ).
cheers
windows 7 x64 | 2xGTX570 (warming up the planet 1ºC at a time) | i7 920 | 12GB
kilaD
Licensed Customer
Posts: 215
Joined: Sun Mar 21, 2010 12:34 pm
Location: Norway
Contact:

Good to hear that it worked!

Will look more into the project path thing later.


k
Hello
User avatar
Proupin
Licensed Customer
Posts: 735
Joined: Wed Mar 03, 2010 12:01 am
Location: Barcelona
Contact:

Hi, I have tried the latest script under 2009x86, it's working (e.g. the render button actually opens octane) but had not time to test it thoroughly... good job!

now though, I guess we'll have to wait for a new Octane build, because current is not that useable... it takes ages to close, uneven lighting... ahrm...
Win 7 64bits / Intel i5 750 @ 2.67Ghz / Geforce GTX 470 / 8GB Ram / 3DS Max 2012 64bits
http://proupinworks.blogspot.com/
Post Reply

Return to “Autodesk 3Ds Max”