v 1.7.1 Fixed:
- Bug : When Using prefixes: The xml file wasn't generated properly for the highpoly mesh data for single highpoly meshes.
v 1.7.0 Fixed:
- Bug : The xml file wasn't generated properly for the highpoly mesh data for single highpoly meshes.
v 184.108.40.206 New/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 220.127.116.11 Fixed:
- Bug where specifying extensions different from the lowpoly for Cage or Highpoly wouldn't work properly.
v 18.104.22.168 New/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.
- Internal: Changed/Refactored some redondant code.
- 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
- Bug "settings not saved" fixed!
- Now supports mapSizes up to 32k (that's in xNormal 3.18.6, released Jan 2014)
- Finally added the Position Offset feature in the lowpoly and highpoly mesh settings can be set globally and individually.
- 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
- New Deployment system, avoid issues with access rights, easier to update and maintain.
- Lowpoly and Highpoly mesh settings per object.
- Suffix Editor to manage the suffix you use (add, remove)
- Fixed a bug for baking path containing spaces.
- Can reset settings independantly for each panel
- 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).
- 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
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.
Last edited by trebor777; 03-24-2015 at 02:53 AM..
Reason: Updated Tutorial
I do like the looks of this! xNormal is an awesome tool, but the UI is not my biggest friend. I notice that sometimes I tend to just chose to ignore some baking mistakes because I cba to redo my baking (bad habit I know ) this might be a cure for that.
Thanks for sharing!
, triangle, 479 Posts, Join Date Jan 2010, Location Netherlands
ah cheers for the feedback
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 ?
I haven't tried it because I already have my xnormal batching setup but I found that ability to set cpu core affinity is useful so can bake in the background, if you don't have that maybe worth adding?
It's like it's always looking for a cage even when you specify i as 'off' and when there is one it generates the same error. This is wen pressing the 'Bake Me' button otherwise when pressing the 'Bake Selected' or 'Bake All' buttons I get "These element(s) couldn't be baked: element name"
I was trying to bake a 1k x 1k map on a single manifold object, the map types I was trying to create was a Normal, AO and Cavity with default settings. In honesty I didn't try just the normal or other isolated map types. I'll give it a quick shot again tomorrow as it's on my work PC. XNormal version is x64 3.18.3
Thanks to Stromberg90 who identified the bug: It's because of spaces in the baking folder path.
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