From 3563a0b706754a2fcbe0eb8c6924f76892d5e77a Mon Sep 17 00:00:00 2001 From: Peter0x44 Date: Thu, 1 Sep 2022 22:39:25 +0000 Subject: [PATCH] Reword section about model animations --- Frequently-Asked-Questions.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Frequently-Asked-Questions.md b/Frequently-Asked-Questions.md index 300c906..3795ca7 100644 --- a/Frequently-Asked-Questions.md +++ b/Frequently-Asked-Questions.md @@ -147,7 +147,7 @@ This function gets a screen point for a world point, using zoom and scale. It is raylib does not offer any text formatting functions, so you need to compute the starting point for all text that you draw. The starting point for text is always the upper left corner. -You can compute the center of the screen by dividing the screen width and hieght in half. +You can compute the center of the screen by dividing the screen width and height in half. ```c int screenCenterX = GetScreenWidth() / 2; @@ -251,10 +251,10 @@ LoadFontEx("myfont.ttf", 50, NULL, 0); ## How do I load my 3d model animations in raylib? -raylib supports several 3d fileformats including animations: - - IQM: There is a Blender exporter but there are multiple ways to create the animations and export the IQM file, depending on the process used, raylib could load the animations or not. Several users reported having problems with IQM aniamtions. - - GLTF: This file-format supports animation but raylib is not able to load them at this moment. GLTF animations loading was implemented in the past but GLTF is a quite complex file format and could implement animations in multiple ways, raylib used to fail a lot on loading them and support was removed. For anyone adventurous enough to try to implement GLTF animations support in raylib, you can check [`rmodels.c`](https://github.com/raysan5/raylib/blob/master/src/rmodels.c) module and `LoadGLTF()` function implementation. - - M3D: Animations support was implemented recently (after raylib 4.2 release) so users using M3D models must used latest raylib master branch. It works great and there is a Blender exporter for .m3d files with animations that it's proved to work good. +raylib supports several 3d file formats that support animations: + - M3D: Animation support was implemented recently (after raylib 4.2 release) so users using M3D models must use the latest raylib master branch. It works great and there is a Blender exporter for .m3d files with animations. + - IQM: There is a Blender exporter but there are multiple ways to create the animations and export the IQM file. Depending on the process used, raylib may or may not be able to load the animations. Several users reported having problems with IQM animations. + - GLTF: This file format supports animation but raylib is not able to load them at this moment. GLTF animations loading was implemented in the past but GLTF is a quite complex file format and could implement animations in many ways, raylib used to fail a lot on loading them and support was removed. For anyone adventurous enough to try to implement GLTF animations support in raylib, you can check [`rmodels.c`](https://github.com/raysan5/raylib/blob/master/src/rmodels.c) module and `LoadGLTF()` function implementation. ## Does raylib support Vulkan? Will raylib support it?