-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[examples] proposal and discussion of fixed-function (i.e. GRAPHICS_API_OPENGL_11) visualization example #5320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
This is more than an example, you have changes to rModels.c..... are they required for this to work? If so they should be addressed in a separate PR that describes what the changes are and what they do. As for the example, it is very cool, but also quite large and complex, it may be overload for a new user. |
|
@meisei4 Despite being super-cool, this example is quite big for raylib examples, usually examples stay under 200-300 locs... Also, why Let's me check the example more carefully and see if it can bee simplified... |
|
Thanks for the initial responses! I will try to clean up the PR specifically, i had planned to get the rmodels.c changes in before, they are needed for some behavior i was testing with raylib4Consoles and ps2, but they are also important for some of texture and color behavior that i test in this example/demo (although i think they need review design-wise because some of it still doesnt sit right with me, i will make a PR for that) Also @raysan5 i do have plans to take some chunks out of here for Also I feel like there should at least be some examples that for directly targetting opengl11 as i think many people might benefit from learning what potential that provides and why its so special (I often see many questions on discord where i don't think people know what its intended for, let alone how how it even works) and now with the software renderer i think it could also be good timing/justification for such |
…e_3d_camera_view simplification
|
I have added Orthographic camera toggle and will now be splitting this PR into two separates (annotated later):
I will likely close this ticket once those are made, and then move this "demo" to a proposal for raylib-extras I hope |
|
@meisei4 this example should definitely be simplified for merging into raylib but, please, keep the original one in some repo or add it to raylib-extras, it is definitely useful for education! |
This example i hope to propose to have discussion regarding usefulness for teaching/exposing raylib learners to the ability of raylib compatability with the non-programmable fixed function graphics subset (
GRAPHICS_API_OPENGL_11). The example serves both as a demo of non programmable set up, but also doubles as a visualizer that is intended to help intuit the fundamental concepts of the fixed function stages themself.Resources that helped guide me for this this example so far:
Visuals:
knot_h264_10mb.mp4
cube.mp4
sphere_h264_10mb.mp4