Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography



Maxunderground news unavailable

Rendering each object seperately.
show user profile  odiecreversed
I have a map of the US with all the states as separate objects. I need to be able to render each state separately but I don't want to have to go through every state setting the renderable state for each one every time. Is there a quick way to do this by any chance?

Thanks a lot
read 345 times
8/11/2009 9:20:09 AM (last edit: 8/11/2009 9:20:09 AM)
show user profile  Nik Clark
Do you know any maxscript?



read 329 times
8/11/2009 9:38:20 AM (last edit: 8/11/2009 9:38:20 AM)
show user profile  odiecreversed
No, I've never looked into it before although I do have experience with programming in other languages. Do you think that's the way to go? and you think it would take long for me to learn enough to be able to do that?

Cheers.
read 325 times
8/11/2009 9:45:29 AM (last edit: 8/11/2009 9:45:29 AM)
show user profile  Nik Clark
This should give you some place to start from. $ means the selected objects. Select some objects, run the code below, and it will render the objects one by one to a new window. You can modify this to save the files, whatever you need. Hope this gives you a start.

for i = 1 to $.count do
(
hide $selection
unhide$[i]
render()
)
print "done"
unhide $



read 319 times
8/11/2009 10:00:11 AM (last edit: 8/11/2009 10:00:11 AM)
show user profile  odiecreversed
Thanks so much Nik. When I said 'objects' I should have put 'groups'. I just made the groups into objects though and it worked fine! Wonderful!
read 290 times
8/11/2009 5:35:58 PM (last edit: 8/11/2009 5:35:58 PM)
#Maxforums IRC
Open chat window


Support Maxforums.org