Match primitive and imported mesh properties

Blitz3D Forums/Blitz3D Programming/Match primitive and imported mesh properties

RustyKristi(Posted 2016) [#1]
I was noticing there's a difference in color shading comparing to generated cube or any other primitive to an imported one from a modeler like blender.

Somehow the imported mesh is dull and the generated one looks ok.

Any ideas on how to match it?


RemiD(Posted 2016) [#2]
Firstly, you want to make sure that the number of vertices/triangles per surface is the same in your modeling tool than in Blitz3d, else this means that your exporter produces a mesh with errors. (do this with simple meshes like with a welded cube and with a flat shaded cube)
Secondly, you want to learn and play with smoothing groups.
Here is a code to analyze your mesh :
http://www.blitzbasic.com/codearcs/codearcs.php?code=3264

I recommend to use Fragmotion to export b3d meshes, the export is clean.


RustyKristi(Posted 2016) [#3]
Thanks RemiD, just what I need. :-) I'll test this out