Flat shading

Blitz3D Forums/Blitz3D Programming/Flat shading

MattG(Posted 2004) [#1]
anyway of doing flat shading ? if a i have a mesh that is allready textured ??you know like most 3d editors can do

cheers

Matt


Bouncer(Posted 2004) [#2]
look at EntityFX command... if I remember correctly it's flag 4.


fredborg(Posted 2004) [#3]
EntityFX entity,4 should do the trick.

:P Bouncer


MattG(Posted 2004) [#4]
thanks guys , should have seen that myself , its just too easy to ask somtimes !

cheers

Matt


big10p(Posted 2004) [#5]
Displaying a flat shaded mesh in B3D doesn't work too well in my experience. Since B3D models don't store surface normals I *think* B3D simply uses one of the vertex normals of each tri and uses that. Of course, this may not be perpendicular to the tri it belongs to so things can look pretty crap when flat shaded, TBH. Try displaying a simple, untextured cone to see what I mean. :/


jhocking(Posted 2004) [#6]
I've had the same experience, of the flatshaded mode not working all that well. It's pretty inefficient with vertices but the most reliable way to do flatshading is actually setting smoothing groups on a b3d model. You can do this easily in Ultimate Unwrap using "unweld model."


maverick(Posted 2004) [#7]
I also had trouble with flat shading due to vertex normals on models exported from Max ,, but rob`s max exporter cured all my troubles