-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Simplify examples #123
Comments
Thanks for the feedback, and no it does not sound harsh at all, I agree with pretty much all your points!
|
Hehe, great minds and all that :D
exactly
If possible, try not to have "common example functionality" crate. I find that these reduce drastically increase the mental load of the learner as simple relationships between systems and types are no longer evident.
Having a testing ground is nice, but it handles a different concern than an example. I recommend you take that testing ground and move it to a dedicated binary. This way the testing grounds can have whatever diagnostics you need and can test multiple things at once, while the examples stay simple and readable. |
@janhohenheim even if not perfect, I think this is resolved ? |
@kaosat-dev I think it would be best for new users if they saw the workflow in action on a simple single main.rs per example. |
The current examples are functional character controllers, which is cool, but 95% of the code shown is irrelevant to the crates a newcomer is trying to learn. Personally, this made it daunting to get into an otherwise simple to use crate ecosystem. In fact, I was delighted at how little code I actually needed to setup everything once I fought my way through!
The biggest offender here is the basic component reader, which requires only a single line of code, namely registering the plugin. Reading the example, this fact is not obvious, as it contains not only a lot of liens but a lot of files. I recommend replacing the entire example with a single file.
In sum, I suggest removing most dynamic interactions in favor of showing a simple, boring, static scene. This might not look as impressive, but would be instantly understandable to a beginner. We could of course just add these as new examples, but I believe this would bloat the examples, as the interactive ones become dead weight to maintain.
I hope any of this doesn't come as overly harsh. My motivation is that I am very happy with the Blender workflow and wish to make it as accessible as possible to newcomers :)
The text was updated successfully, but these errors were encountered: