From ce82c106f3f8ff8f046da188a9e39d81c4692c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sat, 22 Jun 2019 13:39:00 +0000 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 183bc2a..24703f2 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ TODO ## limitations - Some values, like screen resolution, are a compile-time option due to performance and simplicity, and can't change during runtime. +- No scenegraph (object parenting), just a scene list. Parenting can still be achieved by using cutom transform matrices. - Though performance is high, due to multiplatformness it can't match platform-specific rasterizers written in assembly. - Proper near-plane culling (subdividing triangles) is missing. You can either cull whole triangles completely or "push" them by the near plane. These options are okay when drawing a models not very close to the camera, but e.g. 3D environments may suffer from artifacts. - Due to the limitations of 32bit integer arithmetics, some types of movement may be jerky. @@ -41,4 +42,5 @@ TODO ## tips/troubleshooting -- Seeing buggy triangles flashing in front of the camera? With the limited 32bit arithmetic far-away things may be overflowing. Try to scale down the scene. If you also don't mind it, set `S3L_STRICT_NEAR_CULLING` to `1` -- this should probably solve it. \ No newline at end of file +- Seeing buggy triangles flashing in front of the camera? With the limited 32bit arithmetic far-away things may be overflowing. Try to scale down the scene. If you also don't mind it, set `S3L_STRICT_NEAR_CULLING` to `1` -- this should probably solve it. +- Sorted mode sorts triangles before drawing, but sometimes you need to control the drawing order more precisely. This can be done by reordering the objects in the scene list or rendering the scene multiple times without clearing the screen. \ No newline at end of file