Ray
ee795150fa
Updated some code
pirms 9 gadiem
raysan5
4bc339ea4e
Updated Oculus sample
pirms 9 gadiem
raysan5
8f91ed81c5
Updated Oculus sample to Oculus SDK 1.4
Still working on the sample but almost finished. Some rlgl internals
redesign required and it will be ready!
pirms 9 gadiem
raysan5
ba60918eaa
Updated Oculus sample
Now GLFW3 windows/context creation works ok and a sample red rectangle
has been drawn using rlgl. Next step is working in tracking
position/orientation maths and try to get a simple 3d scene...
pirms 9 gadiem
raysan5
173529e048
Oculus SDK 1.3 + GLFW3 sample -NOT WORKING-
pirms 9 gadiem
raysan5
2e5d898443
Corrected bug with old FBO struct
pirms 9 gadiem
raysan5
284eaf1576
Use Depth Texture on OpenGL 3.3
pirms 9 gadiem
raysan5
aa22d97983
Simplified texture flip and added comments
pirms 9 gadiem
raysan5
0133917bf9
Correct detail
pirms 9 gadiem
Ray
b6cec214bd
Unified internal shader to only one
Only defaultShader required, set default value for vertex color
attribute if not enabled and fragColor uniform
pirms 9 gadiem
raysan5
a66c8531d6
Some code simplifications
pirms 9 gadiem
raysan5
06a8d7eb06
Remove old postprocessing system
pirms 9 gadiem
raysan5
66b096d978
Added support for render to texture (use RenderTexture2D)
Now it's possible to render to texture, old postprocessing system will
be removed on next raylib version.
pirms 9 gadiem
raysan5
956a6e6f77
Corrected bug and comments on model unloading
pirms 9 gadiem
raysan5
ebc2b9a286
Improved windows resizing system...
...despite not being enabled on GLFW3
pirms 9 gadiem
raysan5
5e45c3c824
Redesign to work as standalone
Redesigned to work as standalone and support fordward-compatible context
(shaders review)
pirms 9 gadiem
Ray
e2ba22ec59
Improved 2D-3D drawing
Depth test disabled for 2D and only used on 3D; consequently LINES vs
TRIANGLES vs QUADS buffers drawing order maters... but blending also
works ok.
pirms 9 gadiem
raysan5
c9d22c7a14
Redesign to use Material type -IN PROGRESS-
Requires Shader access functions review
pirms 9 gadiem
raysan5
4476a9e241
Review rlglUnproject() system
pirms 9 gadiem
raysan5
04caf1c262
Corrected memory leak
pirms 9 gadiem
Ray
0dfc7fffff
Removed a couple of TODOs
pirms 9 gadiem
raysan5
823abf666e
Reviewed code TODOs
pirms 9 gadiem
raysan5
fca83c9ff8
Solve bug on matrix multiply order for scale and rotation
pirms 9 gadiem
Ray
2ef9552454
WARNING message shortened
pirms 9 gadiem
Ray
646f1c3f71
Some formating tweaks
pirms 9 gadiem
Ray
df5c64d0be
Functions parameters reorganize: Axis and Angle
sin(), cos() functions cached and replaced by float c99 versions sinf(),
cos()
pirms 9 gadiem
raysan5
99f99bea47
Simplified shader matrix uniforms
pirms 9 gadiem
raysan5
4e57bd1f18
Replaced GLEW by GLAD
Removed GLEW external dependency, now it works with GLAD
Kept GLEW path, just in case... detected weird behaviour when testing
with gDEBugger
pirms 9 gadiem
raysan5
23d66e9b6f
Move extensions loading to core module
pirms 9 gadiem
raysan5
efa1c96d19
Adapted raymath as single header library
Added support for single header implementation and also inline functions
support
pirms 9 gadiem
raysan5
fd05d3e353
Rename VertexData struct to Mesh
Reviewed vertex type variables
pirms 9 gadiem
raysan5
3b4d8442e0
Corrected some float values
pirms 9 gadiem
raysan5
fb6ef2c2f4
Vertex shaders optimization
pirms 9 gadiem
raysan5
5e7686695f
Review Light/Material system
Simplified for the user (more intuitive and clear)
Removed lighting module dependency
pirms 9 gadiem
raysan5
e5a56fa985
Change drawing order to avoid artifacts with...
... transparent elements
pirms 9 gadiem
raysan5
7f2e67e924
Simplified MatrixMultiply() function
pirms 9 gadiem
raysan5
891c4a458a
Matrix variables renaming
pirms 9 gadiem
raysan5
95da97fa74
Fixed bug: rlglGenerateMipmaps()
pirms 9 gadiem
victorfisac
1bcb5ddd50
Added lighting engine module
- New lighting engine module which contains new data types Light and
Material. These data types and functions facilitates making a basic 3D
iluminated program with a light and a model.
- Added lighting engine module example (currently included in raylib.h;
it might be compiled by separate and include lighting.h in game source C
file).
- Corrected some opengl defines control structures and added some TODO
to fix raylib-opengl 1.1 source build (note: now source can be compiled
without errors, but rlglReadPixels() won't work properly).
Note: most of functions of phong version 330 shader are not in v100
shaders, so I couldn't write a version 100 phong shader. These functions
are included from version 150.
pirms 10 gadiem
victorfisac
4db2da9185
Added new matrix location points and extra functions
- New model and view transformation matrix added, useful for shaders.
Modelview matrix not deleted to keep opengl 1.1 pipeline compatibility.
- New extra function added DrawModelWiresEx() to set a rotation and
scale transformations to a wire model drawing.
- Other writing and little audio.c bug fixed.
pirms 10 gadiem
Ray
a6f5a0339a
Corrected bug
pirms 10 gadiem
Ray
88e1fd9530
Added texture retrieval support on OpenGL ES 2.0
Updated functions:
Image GetTextureData(Texture2D texture);
void *rlglReadTexturePixels(Texture2D texture);
pirms 10 gadiem
Ray
5208d57f1e
Corrected alpha issue on screenshots taken
pirms 10 gadiem
Ray
76024b5036
Added some texture functionality (view details)
LoadTextureEx() - Simplified parameters
UpdateTexture() - Added, allows updating GPU texture data
pirms 10 gadiem
Ray San
d1f099374c
Added support for s3tc compression on web
pirms 10 gadiem
Ray
8c117cfb57
Reviewed NPOT messages and usage
pirms 10 gadiem
raysan5
11a8dacb0f
Multiple code changes:
- Renamed function rlEnableFBO() -> rlEnablePostproFBO()
- Defined struct FBO
- Moved FBO creation to function: rlglLoadFBO()
- Reviewed rlglReadTexturePixels(), trying to support OpenGL ES -IN
PROGRESS-
pirms 10 gadiem
Ray
6ffb3c72fb
Solved bug with depth when drawing...
...shapes based on LINES, TRIANGLES and QUADS. Now the calling order of
the drawing functions is respected!
pirms 10 gadiem
raysan5
ef1f9fe450
Added strdup() function replacement
strdup() is not a C99 function (it's POSIX), not available in emscripten
pirms 10 gadiem
raysan5
94d0e83207
Corrected crazy bug about model textures
On OpenGL ES it was set to use GL_CLAMP_TO_EDGE wrap mode for textures.
On LoadOBJ() texture coordinates were wrongly Y-flipped
pirms 10 gadiem