Author : afisher


Reply
Reply
 
Thread Tools Display Modes
Soccerman18's Avatar
Old (#1)
I'm working on modeling a city for a project. Right now I have about 400 buildings, but it'll probably end up being double or more of that amount. I wrote a bit of maxscript code to map all the buildings, but I need to export those maps. I can use texporter and go through and pick each building and save the map, but I was wondering if any of you had some maxscript code or something that would be able to handle that?
Offline , polygon, 566 Posts, Join Date Oct 2004, Location IL  
   Reply With Quote

MoP's Avatar
Old (#2)
What do you mean "export those maps" ...
Are they procedurals? Do you need to bake them down to a texture?
Are they bitmap files? Do you just need them to be saved out to a common folder?

I don't really understand what you mean. Can you illustrate with a screenshot of what you want to do?
Offline , MoP, 11,603 Posts, Join Date Oct 2004, Location London, UK  
   Reply With Quote

Eric Chadwick's Avatar
Old (#3)
You mention texporter, I guess you want to export the UV wireframe. Why can't you assign a wireframe material to all and use RTT?
Offline , Polycount.com Editor, 6,664 Posts, Join Date Oct 2004, Location Boston USA  
   Reply With Quote

Soccerman18's Avatar
Old (#4)
Sorry if I didn't explain it well enough. Normally I would use texporter to export a wireframe uv map to use to make the textures for the model. Texporter requires you to pick the model, generate the wireframe image, then save the file. A lot of manual interaction there. I've got about 400 seperate models and I need a wireframe image for each so that I can make textures for them. Using texporter and manually selecting each one would take a long time, and since it'd be the same process to do each one I was wondering if there was some way to have Max generate the wireframe uv maps, so that I can set it up, hit a few buttons and let Max chug away and spit out the uv maps. Am I making a little more sense?

I've never used the render to texture stuff before. Just tried it out on a few of the buildings, seemed to work, hopefully having it do some 400 buildings won't cause a problem.
Offline , polygon, 566 Posts, Join Date Oct 2004, Location IL  
   Reply With Quote

Eric Chadwick's Avatar
Old (#5)
RTT can work on a selection of multiple objects, all at once. It should bake each one as its own bitmap.
Offline , Polycount.com Editor, 6,664 Posts, Join Date Oct 2004, Location Boston USA  
   Reply With Quote

renderhjs's Avatar
Old (#6)
maxscript has access to the 'render UV template' in the unwrapUVW modifier,- shouldn´t be to difficult writing a maxscript for that.
on scriptspot they seem to have something like that already:
http://www.scriptspot.com/3ds-max/multirenderuv
Offline , veteran polycounter, 3,037 Posts, Join Date Mar 2008, Location Sydney Australia Send a message via AIM to renderhjs Send a message via MSN to renderhjs  
   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 1998-2012 A. Risch