automated baking - quiet / non-interactive mode?

8 replies [Last post]
User offline. Last seen 42 weeks 3 days ago.
Posts: 7

I'm writing an automated pipeline using xNormal 3.17.13 and it appears that there's still a dialog popping up with the following:

"Warning: The highpoly model radius is less than two units(2.0), please scale it a bit up if you get bad results"

Is there any way to run xNormal from the command-line such that this warning (and all or most others) is suppressed?  

I understand that there are some errors that the developers do not wish to suppress, but in the case of the above warning the work is already done and the dialog is simply an annoyance.

User offline. Last seen 3 days 7 hours ago.
Administrator
Posts: 4182

I'm not sure that there is a way to suppress the warning, but it's there for a good reason, so the best way to stop it is to scale all your models up before export or change the "Default Mesh Scale" to something like 5 in the High and Low definition mesh slots. Maybe there is a way to this automatically?

User offline. Last seen 2 days 7 hours ago.
Posts: 603

AFAIK, that warning should not occur in batch mode. If the dialog pops then it's my fault and I should fix it.

And, yep, if you increase enogh the default mesh scale the warning should not appear anyways.

------------------------------------------------------

http://www.xnormal.net

http://santyhammer.blogspot.com

http://www.ratgpu.com

User offline. Last seen 42 weeks 3 days ago.
Posts: 7

Thanks for your suggestions regarding scaling up to avoid the warning.  I relayed this to the artists (as the processes are somewhat foreign to me, a lowly tools programmer) and they assured me that there are times where scaling up is not an option and that things are "as they need to be" (and that they're getting desired results despite the warning)

It would be great if the next release suppressed this warning when running batch mode, but for now I've got an AutoIt script running in the background during tool execution which detects this window and supplies the "press-Ok" ENTER keystroke.

 

 

User offline. Last seen 2 days 7 hours ago.
Posts: 603

Should be fixed now. Pls try the xN 3.17.14 beta 1 at http://eat3d.com/forum/beta-and-release-candidates/xnormal-31714-beta-1

------------------------------------------------------

http://www.xnormal.net

http://santyhammer.blogspot.com

http://www.ratgpu.com

User offline. Last seen 42 weeks 3 days ago.
Posts: 7

just installed 3.17.14 beta 1 and unfortunately am still seeing the "The highpoly model radius is less than two units" warning dialog while running in batch mode

I'm positive it's running the latest install because the main app window title reads "xNormal v3.17.14.34350 [x86 Release] Beta"

User offline. Last seen 2 days 7 hours ago.
Posts: 603

Are you invoking xNormal as

xNormal.exe XXXXXXXX.xml

or using a 3rd party method?

------------------------------------------------------

http://www.xnormal.net

http://santyhammer.blogspot.com

http://www.ratgpu.com

User offline. Last seen 42 weeks 3 days ago.
Posts: 7

invoking it exactly as you describe, ie:   xNormal bakeSettings.xml

User offline. Last seen 2 days 7 hours ago.
Posts: 603

Well, I bet I missed some lines of code trying to find the bug. I'll take a look again ! I'm decided to kill this bug Sticking out tongue

------------------------------------------------------

http://www.xnormal.net

http://santyhammer.blogspot.com

http://www.ratgpu.com

This Post needs Your Comment!

The content of this field is kept private and will not be shown publicly.
CAPTCHA
Are you human?