ToTex Render To Texture

205 votes
Date Updated: 
Author Name: 


Moved to github

The project Totex has been moved to gihub so community development is easier

New Version 3.0

"ToTex" is a render to texture script that gives you the ability to quickly bake multiple textures to a folder. ToTex will start baking all the selected objects with the chose selections and will save it to the specified folder

New features (3.0):


- Stability : Bigest issue with ToTex 2.0 was the stability. The ToTex engine is recreated for stronger stability, focussed on high speed expanding.
- Improved User Interface : More compact and focussed on usability
- Auto-Update functionality : Get directly the new features
- New maps in development : xNormal, instant preview and photoshop connection.


New features (2.4):

- new improved UI: much more clear design with thumbs
- Element map now works!

New features (2.3):

- Improved UI: a lot more compact design, better overview and more dynamic system
- Expert Mode: press on the *-button at the top, this will show all the maps of totex, you can easily toggle this on and off

New features (2.2):

- Max Merge: Merge a max file when baking, for embedding complex lightscenes, after the bake ToTex go back to your start state
- Render Preset: Override the renderpresets when baking with ToTex, you can choose between three RPS files that you can override to your own render settings.

New features (2.1):

- Preview : with realtime directX shader (Xoliul shader -
- Light Trace Ambient Occlusion
- Gradient Map
- Mask Map
- For Each Material ID
- Selection Bake : Bake only the selected faces

Material ID Masks was partly based on a script of Koen Samyn, it's been optimized for faster and better rendering with ToTex.


Additional Info: 

- UI Interactivity - Hover graphics, Tooltips
- UI : "+"-sign left mouse click
- Updated Grad Top Down
- Confiugration Added : MaxMerge, Render Preset
- Improved Auto Update Installer
- Added Thumb View
- Styling Layout
- Color schemes improved

09 / 02 / 2011 - Adding Element Map System
01 / 02 / 2011 - Added Thumbview / Listview system
30 / 12 / 2010 - Expert Mode
30 / 12 / 2010 - Resolution Slider
29 / 12 / 2010 - Update UI Interface
25 / 12 / 2010 - Max Merge system
25 / 12 / 2010 - Render Preset system
23 / 12 / 2010 - Fixed For each material ID
22 / 12 / 2010 - Selected faces Bake
21 / 12 / 2010 - Added Bake "For each Material ID"
10 / 12 / 2010 - Dialog Position is now saved
14 / 12 / 2010 - Preview Object System with Xoliul shader and standard material
15 / 12 / 2010 - Normal maps will be putted in normal slot
17 / 12 / 2010 - Cache system for preview objec

Version Requirement: 
3ds Max 2009 - 2010 - 2011
Video URL: 


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Suzume's picture

Yes, thanks for the quick

Yes, thanks for the quick help. Deleting the temporary mzp folders was the solution to the install problem.
On to the next one...

I think it's best to show a picture of what I mean, so please have a look at the attachment.
Regardless of how far away or tight I wrap the projection plane onto my reference geometry I keep getting weird intersections in the final texture.
And the map itself looks somewhat strange in certain areas - like if the ray didn't hit the geometry at all.
Might be a 3dsmax issue or more likely so my inexperience with the RenderToTexture system in 3dsmax (I mostly use ZBrush and XNormal).

totex_normalsmap_error.jpg 1.48 MB
Svennovich's picture

again, thanks for the

again, thanks for the feedback everyone!

snppls: challenge accepted! :) never heard about vertex color maps, i will take a look at it, I'll try to add it in the new version of ToTex. thanks for the suggestion.

Suzume:I know their is a problem with the installer. Sometimes it takes the wrong unzipped temp folder.
To fix it, you need to delete all mzptmp folders, these can be found at c:/users/username/appdata/local/temp/
Once deleted it should work :)

For some reason he doesn't take the newest ToTex folder. (the reason that you still have 1.4)
I'll try to fix it as soon as possible

I did mention it in the installation image of totex above. But i'll but it more clearly and add an attachement 'install problems.txt' or something.

What was your error that you got with the normal maps render?

nice to hear you guys like the script :)

Suzume's picture

After installing 1.5 I still

After installing 1.5 I still have 1.4 firing up.
From a quick look inside the mzp file provided it seems the 1.5 version is in there - but after dragging the file into 3dsmax and clicking on install the version I get to see is still 1.4 ... even though I have deleted all files related to ToTex from my user scripts folder:
C:\Users\XXXXXXX\AppData\Local\Autodesk\3dsMax\2010 - 64bit\enu\scripts\

Any idea what's wrong? Should I just extract the mzp manually?

Originally I came here to post about an error I have with generating a normal map in 1.4 ... but this new error bugs me even more :D

Edit: So I tried copying the files from inside the mzp directly over to my scripts folder directly after an unsuccessful installation while still in 3dsmax.
After hitting on my custom ToTex button the script fired and I got an error on line 251 in (I think).
Closing the listener window revealed the new UI of 1.5 to me ... so it is inside the mzp, but I cannot install nor use it.

Snppls's picture

Really great script, you are

Really great script, you are right it saves a lot of time.

I hope I'm not too bold for asking this but I have a request for a feature that I think would be a great addition to your script, something which Max lacks. To render to texture a vertex color map. Right now you have to use a vertex color material in the diffuse slot and render to texture a diffuse map, which is bad since it also renders the lighting and it's a whole mess with using the right channels etc.

Again, great script, thanks.

Svennovich's picture

new ToTex 1.5 release :) I

new ToTex 1.5 release :)

I added a "Send R2T" button, this button will send the data of ToTex to the "render to texture" dialog of 3ds max. This way you can do more advanced modifications with the standard workflow of 3ds max. (which still has more options than ToTex).

The dock state of totex will now be saved when you hit the "save current settings" icon on the top left of ToTex. I guessed thats more intuitive.

Render preview of the uv's can be toggled off now.

Also the channel of UV's did not work, fixed it now so it should work perfectly

btw: thanks Michele71

Michele71's picture

Nice, very very nice script!

Nice, very very nice script! It work very well :) :) one point to you!

Svennovich's picture

Hey TitusVR thanks so much

Hey TitusVR
thanks so much for this feedback it made it a lot easier to find bugs.

I think I found a way to make the blend render work with max9 but i'm not sure.

I found the flaw with the channel for the UV's and I fixed it.

But it is difficult to test it because i don't have max9.

ps: I think i will have a working version tonight/tomorrow, but this will make it easier for me.

psps: thanks!

pspsps: ....nothing more to say

TitusLVR's picture

Hi! Thats awesome! you did

Hi! Thats awesome! you did it! many thanks!

PS: like new feature you can:
1) add color selection for background
2) add some buttons for render tuning - like super sampling etc...(or the buttons for redirecting from totex to render menu)

PSPS: eh.. but in 3ds max 9 not (2009) the blend render did not work.
And please check how ToTex works with channels, i test it in 3dmax9 and i had troubles with UV render on 2nd channel.

PSPSPS: Many thx ! for this script, and it would be awesome if you make it full compatible whit 3dsmax9 ;)

PSPSPSPS:) error screen

Svennovich's picture

allright ToTex 1.4 on request

allright ToTex 1.4

on request for TitusLVR added a new feature (that s almost the only thing thats been added to Totex, and some debug fixes)

"Blended Renders"
simply use : bake multiple objects in to one texture
What is does is render out like usual all the maps in to the target folder.
After all the rendering ToTex will make one new image for each Map that is a blend of all the previous renders (in the same category of course)

This way you don't have to start pasting everyting together in photoshop

hope you like it :)
Feedback or new requests are more than welcome!

Svennovich's picture

Thats a good idea! didn't

Thats a good idea! didn't think about that, thanks

started with checking out how it would work in maxscript. Its not so difficult so i think it will be implemented it in ToTex in a few days.

any other suggestions for ToTex :) more then welcome

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.