Skip to content

Add rendering category and subcategories #525

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

Merged
merged 1 commit into from
Jan 27, 2017

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Jan 24, 2017

I think a new category for this is justified, because of the large number of crates that belong in there.

Example crates:

For "engine": sdl, skia, ggez, kiss3d, piston-graphics and some of its plugins, the 2 or 3 ray tracing crates, etc. and the numerous bindings to existing libraries in other languages
For "graphics-api": gl, glutin, glfw, glium, gfx and all its plugins, glitter, the 4 or 5 vulkan bindings, the 4 metal bindings, directx, libovr, openvr, etc.
For "data-formats": the 4 crates that parse wavefront, the 4 bindings for assimp, gltf, collada, spine, text-related crates like freetype, etc.

For the base "rendering" category, everything that doesn't fit elsewhere: scene management (gfx_scene), maybe maths crates that have quaternions, frustrums and stuff (eg. cgmath).
I don't think it was worth creating more categories. Maybe in practice they will be needed but for now I don't think so.

@tomaka
Copy link
Contributor Author

tomaka commented Jan 24, 2017

cc @carols10cents I guess you review categories?

name = "Rendering"
description = """
Crates related to rendering 2D or 3D graphics, \
usually on the screen and with the help of the graphics card.\
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's "usually on the screen", what else could it be? A file? If so, why would I pick this category vs Images?

Copy link
Contributor Author

@tomaka tomaka Jan 24, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two domains when it comes to rendering: "real-time" rendering (as in video games) and "offline" rendering, for example when you render a movie like Toy Story into a movie file.
(EDIT: The only difference between the two is that offline rendering has no time constraint ; other than that most of the technologies are the same.)

The category "images" would be more appropriate for example to resize or change the colors of an image, or for face regonition, etc.

Nobody familiar with offline rendering would have the idea to look in a category named "image", because the fact that we draw to an image is mostly a detail.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the online/offline terminology. What do you think of

Crates related to online or offline rendering of 2D or 3D graphics, potentially with the help of a graphics card.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Online rendering" doesn't exist though. "Real-time rendering" is a really established terminology.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yes, that's just me being scatter-brained.

@carols10cents
Copy link
Member

Looks great now!! Thank you!!

@carols10cents carols10cents merged commit b2def7b into rust-lang:master Jan 27, 2017
@tomaka tomaka deleted the patch-1 branch January 28, 2017 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants