Hello people
Link:
https://www.artstation.com/marketplace/p/2NYdy/xnormal-batcher
Tutorial : [ame]
ChangeLog:v 2.0.0
- NEW UI / UX. should be clearer to use.
- Batch log
- Less bugs.
I'll have to probably update my tutorial video as well
v 1.7.1Fixed:
- Bug :
When Using prefixes: The xml file wasn't generated properly for the highpoly mesh data for single highpoly meshes.
v 1.7.0Fixed:
- Bug : The xml file wasn't generated properly for the highpoly mesh data for single highpoly meshes.
v 1.0.6.10New/Changed:
- Support baking of multiple HighPoly Mesh on a single map (for a single lowpoly mesh).
Instructions Here
- Refactored some code.
- When Refreshing, the selected checkbox will keep its previous state (instead of becoming checked)
v 1.0.6.9Fixed:
- Bug where specifying extensions different from the lowpoly for Cage or Highpoly wouldn't work properly.
v 1.0.6.8New/Changed:
- Bake Both Normals Checkbox: Allows you to bake both object and tangent space normal maps. This will run a separate bake specifically for the object-space normal map. Note that it'll force the "Tangent" space checkbox if it's not ticked.
- Auto Refresh: The app now monitors the baking folder, so you can see instantly what's going on when renaming/deleting/adding files the different baking folders.
- Therefore the refresh button has been removed.
- The global setting panel is now static and won't be collapsed when you're expanding another map settings panel.
Fixes:
- Internal: Changed/Refactored some redondant code.
v 1.0.6.7
- Change checkbox by colored Text
- Changed behaviour on displaying data when not using a cage
- Better Handling Global resolution (Saving, used as default, etc.)
- Bugfix on BaseName Generation
v 1.0.6.3
- Bug "settings not saved" fixed!
- Now supports mapSizes up to 32k (that's in xNormal 3.18.6, released Jan 2014)
v 1.0.6.1
- Finally added the Position Offset feature in the lowpoly and highpoly mesh settings can be set globally and individually.
v 1.05:
- Bug fix
- You can use Prefixes instead of Suffixes
- You can now set all lowpoly/highpoly mesh settings for all objects at once
- Baked Maps are put in a subFolder for each Object
v 1.04:
New:
- New Deployment system, avoid issues with access rights, easier to update and maintain.
- Lowpoly and Highpoly mesh settings per object.
v 1.03:
New:
- Suffix Editor to manage the suffix you use (add, remove)
Fix:
- Fixed a bug for baking path containing spaces.
v 1.02:
New:
- Can reset settings independantly for each panel
Fix:
- Disable Bake Me button if object is missing components
- Bug with direction map setting
- Baking AO & Vertex Color (now creates a secondary xml file for Vcolors)
################
I'm looking for some feedback/bug reports on this little tool I've made to easily batch stuff for xNormal:
Please note that it's a 64b executable (that's to easily detect xNormal installation).
UI:
Features:
- It's mostly a batcher, looking over specific folders to bake all they contains.
- Can pick suffix & extensions of meshes
- Check if everything is there to bake a map (checks for low/high/cage)
- Independant Map Size for each mesh
- Remembers "last session" global and per mesh settings
- Notifies of baking crashes at the end
- Exposes all Maps Parameters
- Tries to detect xNormal automatically
Guide:
The tool relies on naming correctly your objects. It looks over 4 main folders inside the "baking folder": LowPoly, HighPoly, Cage, and Maps.
Based on the suffix and extensions you choose in the options, it'll try to find files with the same root name.
It notifies how many files fitting the choosen suffixes/extensions are in each folder and will tell you if a component is missing (ex: Is the Lowpoly here but not the HighPoly? Has it been baked already?)
Picking a different suffix or extension will do a refresh over the folders.
Changing the map dimensions for an object will (re)generate its xml file with the current map settings at this moment.
And changing the map settings (in the setting tab) will be saved independantly for later use. But it'll not regenerate the objects xml files. (only map dimensions/baking does it)
So if you close the tool, and reopen it again, you'll find all your settings for each object as you left them.
Then you can choose to bake what you want. Baking anything will regenerate the objects' xml files.
Obviously if a file is missing stuff, it'll be skipped.
if a baking crash happens(or user cancels), a notification will happen at the end of the batch listing the bad objects
So please try the tool, and give me some feedback here (or via the email in the title bar) on what could be improved/missing stuff/Bugs.
Thanks!
Replies
Thanks for sharing!
Tiny update:
xNormalBatcherSetup.exe
New:
- Can reset settings independantly for each panel
Fix:
- Disable Bake Me button if object is missing components
- Bug with direction map setting
- Baking AO & Vertex Color (now creates a secondary xml file for Vcolors)
I really like the way it is setup though with different folders, makes it really easy to save it out and go from the 3d app
Edit: for some reason my bakes fail though, don't know why, but if there is any info you want please tell.
I'll add a small prefix manager so you can add as many suffixes you need ^^ easily saved in the session xml
I'd be interested to see a screenshot before you bake (looking at the setup)
and does the bake work when you go through xNormal instead ?
Tried with a cage and without with a couple of different cage types.
These errors are generated by Xnormal btw.
I'll need to know what kind of map you're trying to bake, with their settings pls. I just installed it on my machine, and works fine with a quick test, for just a normal.
Also what version of xNormal you're using.
xNormal version 3.18.3
Thanks again for your time in testing the batcher
I'm thinking of a possible bug, that I thought was fixed... To be sure, I'd like you to put your regional settings to English/US and restart the batcher and try to bake again and tell me if it works.
[EDIT]
Discard the above lol.. >.<
Instead, could you simply send me the xml generated in the batch folder please.
Hope you get it fixed
I'll send you the xml to.
Edit: sent
Guys, you know what to do lol ! I'd like to see those Logs!
I wasn't passing the xml files' paths properly to xNormal when launching the batch.
I just fixed it, and it now works.
I'm starting the "suffix" manager, and when it's done i'll publish the new version. Hopefully I should have something by tonight
Link:
xNormalBatcherSetup_1.03.msi
ChangeLog:
v 1.03:
New:
- Suffix Editor to manage the suffix you want to use (add, remove)
Fix:
- Fixed a bug for baking path containing spaces.
Seems like not running on an admin account has some permissions issue
So try running it in Administrator mode if you encounter a crash as soon as you change an option
Contact me if that doesn't fix it.
Cheers!
You'll be able to set the usual Mesh Settings (for example ray distance) for each item to batch.
I'm also looking into a better way to deploy the application as a ClickOnce solution, that autoUpdate itself at launch if needed. (and that doesn't require Administrator rights)
v1.04 out !
You can uninstall the previous versions, as I'm now deploying the application differently, using the "clickOnce" system. From now on, when you start the app, it'll check if there are any update available and install it automatically.
Here is the link to install it:
http://trebor777.net/xNormalBatcher/Xnormal Batcher.application
If you're using Chrome or Firefox you'll need some plugin to have it installing correctly (else you'll just end up with xml data being displayed):
Chrome extension
Firefox plugin
Enjoy!
What's new?
Now when you right click on an object in the Files panel, you can choose between, Highpoly and lowpoly settings, opening a small window to set the usual settings you have in xNormal.
I haven't added yet the Position offsets that are shipped in the latest version of xNormal but I'll if it's really required (" WHAT! YOU'RE NOT BAKING AT 0,0,0! O_O").
Is there a way to save out 16 bit images, like tiff?
Also maybe have a option to use prefix, low_"name" for example?
hum, and sure, I guess there could be a "use suffix as prefix" somewhere, and invert the way it works. Shouldn't be too difficult.
Mini Update, just pushing this tiny feature: "using suffix as prefix".
xNormal Batcher v1.05
I also noticed that I had forgotten to have a desktop icon created.
Now it's fixed. but you have to uninstall the application, and reinstall it with the provided setup.exe. (which install all required files and start the .application)
You can also find an entry in the start menu "Marc Robert" with the program in it.
Enjoy!
Sorry for the long wait for this update, took me little while to figure out where the bug was...
It's just a bug fix release. (the app would crash when either entering the files tab or changing a setting in the application... making it useless)
new feature:
- You can now set all lowpoly/highpoly mesh settings for all objects at once
- Baked Maps are put in a subFolder for each Object
Normally your app should update itself next time you start it
This tool is free to use for whatever purpose (yes yes, that includes Commercial Stuff)! !!
And if you are considerate enough, just send me a little mail or whatever saying thanks ^^
- Finally added the Position Offset feature in the lowpoly and highpoly mesh settings can be set globally and individually.
Could you send me by PM a screenshot of the batcher(global settings and file tab) and one of your folders please?
a bit question : is there any way to save main setting? like everytime
I set antialiasing to 4 it reverted to 1 after i close the program
EDIT: Ok I can reproduce the bug too I'm on it!
Or can i set it up, say for a project and then just let it bake? That would be why we created our tools, i don't want to touch xnormal or it's settings at all once they are set up for a project.
I just want to hit bake and xNormal does it's job.
Not having tested it, to me it looks like another huge interface to handle the already huge interface of xnormal.
I've made it so that you don't have to touch xNormal if you want to access a specific setting. All in one interface, so that it reduces back/forth for the user.
Also, some people need all the settings, some don't. I guess I could simplify the interface by showing the setting rollouts for a specific map, only when you want to bake this type of map.
If the settings are set correctly on the 1st launch by the T.A., and the user doesn't have to change them, it'll be fine.
Despise the "Huge" interface I've made, I still find it more practical than the original one in xNormal (reducing the number of windows popping up, can access all settings at once).
It's the same for our Pipe here we don't want to change our settings.
I just need to fix that bug that prevents me to do that lol .
- Bug "settings not saved" fixed!
- Now supports mapSizes up to 32k (that's in xNormal 3.18.6, released last month)
- Option to bake in separated folders (used to be mandatory before). Let's keep it flexible.