PDA

View Full Version : rendering meshes in c#


kopi_b
03-05-2006, 10:18 AM
hi
i've a problem when i render my meshes with c#.
because every mesh is made of triangles, even actually flat faces
with more than three vertices have to be devided into more faces.
unfortunately this causes the problems when i render the meshes.
at the transitions from one of these faces to the next one i've dark
areas. the more faces there are the darker are the areas although
the mesh is made up of just one material.

here is my code and the mesh : http://www.toomaniac.com/kopi/blender/Render_Mesh.rar

thx, kopi

anubis
03-05-2006, 05:46 PM
I'll admit that I've been gone for some time... is this the new style here to just dump code onto other people ?

Nobody has the urge to read your code, so the least you could do is describe what you are doing and how. I'm rendering triangles is _not_ an adequate description.

Then a screenshot might help. Probably people can solve your problem that way, without having to dig through your code.

Then it would be great if you showed that you actually tried to solve the problem yourself, by describing what you did so far. It's quite pointless if people suggest things to you, that you already considered yourself.

Excuse my being rude, but this is something you should really learn, for the future. People will be much more willing to help you.