Problems about .xnb file

Aug 6, 2009 at 6:49 PM

I got some troubles when i try to create a XEN project.The tutorials created tiny_4anim.xnb is 305KB, and My project created tiny_4anim.xnb is 479KB. The model can be displayed,but it's bigger than tutorials and it's Inverted.Why?

Please help me . Thank you.

Aug 7, 2009 at 8:48 AM

The model importer has many options that can be configured, in the properties for the model .X file, you can expand out the 'Xen - Model' section. You can adjust scale and rotate the model. The tutorials have some of these properties modified, probably including the animation compression level - xen supports lossy/lossless animation compression which is set as a percentage (0% is lossless, 10% would be highly inaccurate). This was especially useful back in the days before XNA 3 when XNBs were not binary compressed.

Aug 7, 2009 at 9:04 AM

Thank you very much. This problems has been resolved. It's like as you said.