Question about triangle face direction

Blitz3D Forums/Blitz3D Beginners Area/Question about triangle face direction

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Even though no viewer or camera exists yet we need a way of telling Blitz which side of the triangle will be visible.

The order clockwise/anticlockwise of the vertices is important because the order changes depending on whether you are looking at the front or back of the triangle.

You decide which is the front by imagining yourself standing in front of the triangle and the telling Blitz the vertices in a clockwise order 'From your imaginary viewpoint'.

Do it right and when the camera is created and placed at the position you were imagining then it will see the triangle too and the triangle will be drawn on the screen.