Commit Graph

2875 Commits

Author SHA1 Message Date
Ray 01367fcb1e Review cubemap generation 2019-04-11 16:11:54 +02:00
Ray a28dfd4a7b Corrected standalone usage 2019-04-11 15:54:10 +02:00
Ray 5bfa675350 Review VR simulator mechanism
- No default VR device parameteres inside raylib
- VR device parameter should be provided by user
- VR distortion shader should be provided by user
2019-04-11 13:53:01 +02:00
Ray aa8d10c48a Update BINDINGS.md 2019-04-11 11:57:50 +02:00
Ray c7e5585ab9 Added binding to Factor 2019-04-11 11:29:35 +02:00
Ray 1934f2a2f4 Some tweaks 2019-04-11 00:11:11 +02:00
Ray 6168a4ca37 Comments review 2019-04-10 23:50:48 +02:00
Ray 45c820eeb4 Set default white texture for diffuse mat 2019-04-10 22:39:42 +02:00
Ray 21092266b5 Check textures available before loading 2019-04-10 00:44:24 +02:00
Ray 802afe8fe5 Replaced size_t by unsigned int 2019-04-10 00:34:46 +02:00
Ray f939f6abc2 Update Makefile 2019-04-09 13:23:56 +02:00
Ray 32ccecb8ca Start working on glTF loading... 2019-04-09 13:23:51 +02:00
Ray 94335e30df Avoid example on Android 2019-04-08 12:50:09 +02:00
Ray b8ada4b877 Review creation years 2019-04-08 12:25:13 +02:00
Ray 81b63890dd Merge pull request #793 from ChillerDragon/pr_copyright_2k19
Happy new year 2019
2019-04-07 17:53:48 +02:00
ChillerDragon f21761fbbb Happy new year 2019 2019-04-07 17:49:12 +02:00
Ray c23ceec338 Added missing include -_- 2019-04-05 17:29:30 +02:00
Ray 9282b8ba83 ADDED: SetShaderValueTexture()
Some tweaks
2019-04-05 17:08:46 +02:00
Ray c600dd0766 Review PBR shaders
Issue was related to vertex tangent attibutes not uploaded to GPU, a quick solution was implemented for new vertex attributes loading for already existing meshes... I don't like it specially but it will work for now.
2019-04-05 16:43:09 +02:00
Ray 0f9fe34c3a Start setting things up for raylib 2.5 2019-04-05 13:44:04 +02:00
Ray 92733d6695 BIG UPDATE: New models functions for animations!
Multiple functions added and some reviewed to adapt to the new multi-mesh, multi-material and animated models.
2019-04-05 13:15:56 +02:00
Ray 38a13b76d1 Corrected issue with LoadMesh() 2019-04-05 13:13:42 +02:00
Ray a728376cdf Rename enum type 2019-04-05 13:13:10 +02:00
Ray 28b9de661d Minor tweaks 2019-04-05 13:12:54 +02:00
Ray a103086443 Removed trail spaces 2019-04-04 13:50:52 +02:00
Ray 3e1e7d740f Review merged PR formatting
Removed trail spaces
2019-04-04 13:50:28 +02:00
Ray 6ecd8249bc Merge pull request #787 from Demizdor/master
Added `DrawRoundedRect()` and `DrawRoundedRectLines()`
2019-04-04 13:42:20 +02:00
Ray d89d24c5e8 BIG UPDATE: Support model animations! 2019-04-04 13:33:54 +02:00
Ray 22dece2935 Animated vertex renaming 2019-04-04 13:32:17 +02:00
Ray f1cbdd6b3a Corrected some issues
- Support compiling for OpenGL 1.1
- Free meshes/materials memory after usage...
2019-04-01 18:22:56 +02:00
Ray 86212e8462 Support material loading from OBJ/MTL 2019-04-01 12:41:32 +02:00
Ray e5edbb7104 Reviewed OBJ loading implementation -WIP-
One mesh files can be loaded correctly

MISSING:
 - Multimesh OBJ loading
 - Materials loading
2019-04-01 12:17:29 +02:00
Ray 0a492b5dea Retarget VS2017 solution 2019-04-01 12:09:00 +02:00
Ray fe702cd6a2 Implementing LoadOBJ() -WIP-
It seems obj loading is working ok but there is some problem with drawing...
2019-04-01 00:16:56 +02:00
Ray 3e806ad9d4 Reviewed data assignation 2019-04-01 00:15:45 +02:00
Ray 26fb2e0f3a Update cube.obj 2019-04-01 00:15:14 +02:00
Demizdor eda982e261 Reimplemented DrawRoundedRectLines() 2019-03-31 16:15:40 +03:00
Vlad Adrian ecbd17910d Added DrawRoundedRectLines() 2019-03-31 13:22:50 +03:00
Vlad Adrian 1415d514ba Update raylib.h 2019-03-31 13:20:45 +03:00
Demizdor a28023b58f Added DrawRoundedRect() 2019-03-30 22:18:29 +02:00
Ray 2217c04ecf Update standard_lighting.c 2019-03-29 20:54:45 +01:00
Ray be6d237b9e Review models examples 2019-03-29 20:22:50 +01:00
Ray a197f40bb4 Default to white cube mesh if not loaded 2019-03-29 20:22:30 +01:00
Ray 6f371dab08 Some formatting review 2019-03-29 19:43:27 +01:00
Ray afab8b36ab Merge pull request #786 from Demizdor/draw_ring
Added DrawRing(), DrawRingLines() and DrawCircleSectorLines()
2019-03-29 17:28:37 +01:00
Ray 19debd2b4e Review some warnings 2019-03-29 17:28:10 +01:00
Ray 8a73c5d0b4 Replace custom OBJ/MTL implementations by tinyobj_loader -WIP- 2019-03-29 17:15:22 +01:00
Ray a643dc4ca0 WARNING: Redesigned model struct for multi-meshes
This is quite a big change, Model struct has been redesigned to support multiple meshes and multiple materials, most 3d fileformats contain multiple meshes and reference multiple materials.

Consequently, multiple functions have been reviewed.

LoadOBJ(), LoadIQM(), LoadGLFT() now return a Model.

Current LoadOBJ() is not valid anymore, actually, tinyobj_loader_c library is considered for replacement.
2019-03-29 16:48:23 +01:00
Demizdor ab9c6da26f Added DrawRing(), DrawRingLines() and DrawCircleSectorLines() 2019-03-29 16:22:09 +02:00
Ray 876c64b1e5 WARNING: This could break something
If we have no data to update/draw, we avoid update/draw. On `DrawBuffersDefault()` if no vertes data is available nothing is drawn but some globals: vertexData, projection, modelview, draws... are reseted.

There shouldn't be any problem if we don't touch those globals in case no vertex have been processed but, just in case, I warn about it.
2019-03-29 12:27:50 +01:00