Maxscript Wishlist

Become a member of the CGSociety

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

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 06 June 2003   #1
Maxscript Wishlist

Hi Guys,

I've only been scripting for a few months, but it has become apparent that there are some gaps in our beloved script!

Any suggestions on what Discreet should address with future releases?

My first two would be access to the viewport background display toggle and LOFTS[B]...................yes LOFTS

Perhaps those non-disclosed Discreet testers out there can relay these ideas up the chain?
__________________
Alex Morris
Architectural Visualisation
www.amv-cgi.com
 
Old 06 June 2003   #2
Script idea?.....a script that runs and allows one to use the same basic commands as in Autocad for creating entities.

or does this exist? I know MAX is capable of doing these things on its own,,,, but to have the same basic commands avalable at a command line would be nice.
 
Old 06 June 2003   #3
Re: Maxscript Wishlist

Quote: Originally posted by Alex Morris
Hi Guys,

I've only been scripting for a few months, but it has become apparent that there are some gaps in our beloved script!

Any suggestions on what Discreet should address with future releases?

My first two would be access to the viewport background display toggle and LOFTS[B]...................yes LOFTS



I assume you mean just toggling the BG per viewport instead of killing the whole beast?

As for the Lofts, unfortunately, the Loft code is one of the "original" parts of MAX since pre 1.0.
Adding MAXScript support for Loft creation would probably require redoing the whole feature in PBlock2 which I think is VERY unlikely to happen... (Never touch a running system).
I might be wrong though.

my 2 cents.
 
Old 06 June 2003   #4
Quote: Originally posted by CTRL+X
Script idea?.....a script that runs and allows one to use the same basic commands as in Autocad for creating entities.

or does this exist? I know MAX is capable of doing these things on its own,,,, but to have the same basic commands avalable at a command line would be nice.



I think the thread is about Wishes for changes to the MAXScript Language itself, but since you asked, here is a first step in your direction:
http://www.scriptspot.com/bobo/darkmoon/cm/
 
Old 06 June 2003   #5
Thanks BOBO,, story of my life....wrong place at the wrong time LOL


But hey thanks for the heads up on that script!!!!


Your scripts make MAX life alot better!!!!
 
Old 06 June 2003   #6
OK here's another one........

The ability to create a sunlight system
__________________
Alex Morris
Architectural Visualisation
www.amv-cgi.com
 
Old 06 June 2003   #7
My script dream ? A little script that could iterate through all the sub materials of a multi/sub material and see if the exact same texture is used more than once. If so, change the state of the texture from copy to instance from the first one Would make life so much easier when tryin' to edit the material

Ab
 
Old 06 June 2003   #8
Hi Abraham,

try looking at blurscripts on www.scriptspot.com they have one that does that I think.
__________________
Alex Morris
Architectural Visualisation
www.amv-cgi.com
 
Old 06 June 2003   #9
Thanks a lot Alex I checked, blur has a lot of scripts to manipulate materials, it doesn't seemt it does what I need but I will spend a little more time on them and will maybe find my "script dream"

Ab
 
Old 06 June 2003   #10
Quote: Originally posted by Abraham
My script dream ? A little script that could iterate through all the sub materials of a multi/sub material and see if the exact same texture is used more than once. If so, change the state of the texture from copy to instance from the first one Would make life so much easier when tryin' to edit the material

Ab


I was intrigued by this. Iterating through the submaterials and get the bitmap maps is easy with subanims. But, how do instancing ?(subanims have only read acces). Instancing should be something as easy as this
meditMaterials[2].diffuseMap = meditMaterials[1].diffuseMap
But instead of diffuseMap, the slot could be Specular,Opacity...anything and this is not a good way to go. Any tip,suggestion?
__________________
Borja Morales
r3D
 
Old 06 June 2003   #11
My number 1 wishlist at the moment is:

1. COMPLETE character studio control.

Guess that won't happen though.
__________________
"There Really is No Secret"
Martin Brennand - mocha Product Manager - Imagineer Systems
 
Old 06 June 2003   #12
Reality3D -
You might want to look into using getSubanimName() and building an executable string with the result, in order to access the subanim in a more flexible way. I'll mess around with it and see if I can come up with a working example.


RH
__________________
Got Maxscript?
RHTools
 
Old 06 June 2003   #13
Okay, never mind. That returns terribly useless information. There's a better way, but I'm too tired right now to go into it. Maybe soon


RH
__________________
Got Maxscript?
RHTools
 
Old 06 June 2003   #14
Reality3D & LF,

I think the subanim searching is not even the hardest part..
btw; You need to call the .object property of the subanim. This gives you the actual node which (I think) you can get/set.

The hardest part is to check whether 2 maps are actually the same.. for example the #bitmap property. You can't compare bitmap values (will always return false). The same goes for the #coords property. This is not a value, but a collection of other properties.. So you need to compare all these "sub-properties"..

Another thing to keep in mind; you can't just compare values, because 1 of the properties might have a controller with a couple of keys in there. So you would need to check if they share the same kind of controller and you also must loop through each key to see if they also have the same values.

Maybe I missed something, but I'm affraid it won't be easy to script this..
 
Old 06 June 2003   #15
hmm, a more clear and better structured maxscript reference? I don't really like the markup of it, and it would be nice if there would be an alphabetical index of functions.

more control for ui design would be cool too. i heard gmax uses flash, that would be cool in max

anyway i'm just starting to learn it, so i can't add much more.

i've also ran into stuff that can be accesed like the time tags, making everything accesible should be looked into. being able to loft through scripting seems interesting indeed
 
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 01:05 AM.


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