Hristo Stamenov
ff467d1fe9
Merge branch 'master' into improve-gltf-support
...
# Conflicts:
# src/models.c
2021-03-14 12:38:35 +02:00
Ray
01e28263be
WARNING: VERY BREAKING CHANGE: Renamed some enum values for consistency
...
Some enums values have been renamed to be more consistent and also provide a more detailed description:
- ShaderLocationIndex: LOC_VERTEX_POSITION -> SHADER_SHADER_LOC_VERTEX_POSITION
- ShaderUniformDataType: UNIFORM_VEC2 -> SHADER_UNIFORM_VEC2
- MaterialMapType: MAP_ALBEDO -> MATERIAL_MAP_ALBEDO
- PixelFormat: UNCOMPRESSED_GRAYSCALE -> PIXELFORMAT_UNCOMPRESSED_GRAYSCALE
2021-03-14 11:05:51 +01:00
Hristo Stamenov
8f89692a95
Small improvements on the naming of functions
...
Removed (*model). and replaced it with model->
2021-03-14 10:50:37 +02:00
Hristo Stamenov
e7b012c640
Removed license from screen. It is pu inside a license file anyway.
2021-03-14 10:20:39 +02:00
Hristo Stamenov
eee29c5ef1
Fixed the already working models that I broke when introducing GLTFReadValue.
...
Improved the example for gltf models to be able to switch between a few models.
2021-03-14 01:23:37 +02:00
Hristo Stamenov
47313dd601
Split GLTF model loading into separate functions for readability.
2021-03-13 20:33:34 +02:00
Ray
75038baf71
Reviewed UWP project config
2021-03-13 13:08:05 +01:00
Hristo Stamenov
128f14586d
Implement a load values from accessor function.
...
Added some more value types for the different GLTF attributes.
Fixed crash when loading animated triangle.
2021-03-13 02:03:01 +02:00
Ray
fe3256be9f
Renamed some functions to use latest raylib version
2021-03-12 18:00:36 +01:00
Ray
0872365938
Add config flag: SUPPORT_WINMM_HIGHRES_TIMER #1641
...
Useful to avoid WinMM requirement and useful to avoid possible performance issues.
2021-03-12 17:18:48 +01:00
Ray
755ed388b2
Minor tweak to avoid warning
2021-03-12 17:17:53 +01:00
Hristo Stamenov
5c2983f510
Gltf model and animations exploring problems ( #1635 )
...
* Added bone binding to whole mesh and not only set vertices.
+ Also added missed setting of the animation count.
+ Removed double ; on one line
* Added more of the gltf sample models
https://github.com/KhronosGroup/glTF-Sample-Models
We need to make it working for all of them.
* Binding to initial bind pose added.
* Fix cube disappearing bug because lerpPercent could be Inf.
* Fixed for rigged figure also
2021-03-09 00:11:08 +01:00
Ray
f0ab4723b9
Merge branch 'master' of https://github.com/raysan5/raylib
2021-03-09 00:07:19 +01:00
Ray
b7f2059dc3
Update miniaudio.h
2021-03-09 00:07:08 +01:00
Hristo Stamenov
ef9f67749a
Fix fullscreen resolution ( #1637 )
...
* Always try to set vsync.
Use the internal monitor function to correctly get the display for windows.
* Modified how fullscreen gets toggled.
- Removed the unsetting and setting of the resize callback function. Instead of that I moved the fullscreen flag setting into a more correct place before setting the fullscreen so that this flag can be used in the callback.
- In the resize callback now window size is only set when it is not fullscreen resulting in preserving the window size.
- When going fullscreen the larges resolution is used so that there are no problems of the type when you minimize the window you cannot use anything else in your desktop because the resolution might be too low. If a low res effect is desired one should use render texture (this is the approach all game engines use).
* Set correct return to window in case of fail to get monitor.
* Set the refresh rate on the mode.
* Made changes based on review from @raysan5
Co-authored-by: Jeffery Myers <JeffM2501@gmail.com>
2021-03-08 22:51:10 +01:00
Kirottu
19651cfaad
Added SUPPORT_STANDARD_FILEIO flag support for the CMake build system ( #1638 )
...
* Update CMakeOptions.txt
* Update config.h.in
* Added SUPPORT_STANDARD_FILEIO to CMakeOptions.txt
* Fixed typo
* Added SUPPORT_STANDARD_FILEIO to CompileDefinitions.cmake
Co-authored-by: KirottuM <kirottum@protonmail.com>
2021-03-08 22:12:27 +01:00
Ray
8dc3057fe5
Update windows_examples.yml
2021-03-08 19:21:24 +01:00
Ray
915b0780d6
Update core_3d_picking.c
2021-03-08 19:19:43 +01:00
Ray
55bf595cae
Create windows_examples.yml
2021-03-08 19:17:42 +01:00
Ray
955d4d3d1a
Create linux_examples.yml
2021-03-08 19:09:22 +01:00
Ray
8a30a2408c
ADDED: Required callbacks
...
Removed memory allocation callbacks
2021-03-08 18:48:27 +01:00
Jeffery Myers
3e6f0d7372
Always try to set vsync. ( #1636 )
...
Use the internal monitor function to correctly get the display for windows.
2021-03-08 18:08:37 +01:00
Ray
0d096b43c2
Update some comments to warn users about callbacks
2021-03-04 20:44:22 +01:00
Ray
b084552808
ADDED: Config flag: SUPPORT_STANDARD_FILEIO
...
This new flag allows omitting stdio.h library in case of a custom implementation is used.
2021-03-04 20:36:04 +01:00
Ray
7ad1370193
Some naming tweaks
2021-03-04 20:22:58 +01:00
Ray
1ed72b7812
Minor struct organization tweak
2021-03-04 12:08:54 +01:00
Ray
c4a7c702b4
FEATURE: Several callbacks added -WIP- #1523 #1329
...
NOTE: This feature is still under consideration and not complete.
2021-03-04 12:06:28 +01:00
Ray
af3926af4b
REVIEWED: Examples to new enum values
2021-03-04 11:51:54 +01:00
Ray
c8ed231eca
Update text_font_filters.c
2021-03-03 23:05:52 +01:00
Ray
ca22a87949
REVIEWED: TextFormat() #1626
2021-03-03 19:55:09 +01:00
Ray
c938d71d15
Corrected issue with enums renamed
2021-03-03 19:51:23 +01:00
Ray
0b108c2087
Corrected bug
2021-03-03 19:49:10 +01:00
Ray
dfe797060a
WARNING: BREAKING: RENAMED: enums values
...
RENAMED: TextureFilterMode values
RENAMED: TextureWrapMode values
2021-03-03 19:47:37 +01:00
Ray
408f5aedb8
WARNING: BREAKING: RENAMED enum values
...
RENAMED: CubemapLayoutType and NPatchType
2021-03-03 19:36:28 +01:00
hristo
81908f7960
Removing +1 on comparing extesnions because this way it checked the file extension without the . against the file extension with the . resulting in always false. ( #1629 )
2021-03-03 15:41:15 +01:00
waotzi
e09f5179e6
replace vraylib link ( #1627 )
...
the vraylib binding from MajorHard doesn't seem to be getting any updates, so maybe replace it with the working fork?
2021-03-03 00:03:55 +01:00
Ray
ab36fbf24a
Reviewed defines, try to avoid elif statements
2021-03-02 12:45:23 +01:00
Ray
2a5ce96047
REVIEWED: Wait() to support FreeBSD #1618
2021-03-02 12:44:53 +01:00
Ray
01b3c97c42
Some misc tweaks
2021-03-02 02:03:52 +01:00
Ray
8df56c5843
REVIEWED: rlUnloadMesh()
2021-03-02 01:41:30 +01:00
Ray
c514431e79
REVIEWED: rlUnloadMesh()
2021-03-02 01:35:30 +01:00
Ray
bcc4418ff0
REVIEWED: GetFileExtension() to include the dot #1523
2021-03-02 01:07:08 +01:00
Ray
2ff5fa73e9
REVIEWED: rlUnloadMesh() #1615
2021-03-02 00:34:10 +01:00
Ray
742206c1f2
Review formatting
2021-03-02 00:31:04 +01:00
masterex1000
4e6253b546
Add check to flip quaternion ( #1624 )
2021-03-02 00:29:48 +01:00
Ray
5902cc6d9b
REVIEWED: GetScreen*() #1570
...
Now GetScreenWidth() and GetScreenHeight() return the current fbo width and height.
2021-03-01 23:51:32 +01:00
Ray
3f6a08535f
REVIEWED: CheckCollisionLines()
2021-03-01 23:39:08 +01:00
Jeffery Myers
0f10c44578
Fixes gl state after HDR texture functions. ( #1621 )
...
Updates skybox demo to show how to do both HDR and non HDR skyboxes
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
2021-02-28 23:31:25 +01:00
Rabia Alhaffar
b64fe4dfed
Readded survived copy of Harbour bindings! ( #1616 )
2021-02-26 15:54:24 +01:00
Ray
58e4efbba8
Review bug on OpenGL 1.1
2021-02-26 13:40:43 +01:00