Nick Porcino

Results 538 comments of Nick Porcino
trafficstars

My most used RAII object for Imgui: ```` class SetFont { public: SetFont(ImFont* f) { ImGui::PushFont(f); } ~SetFont() { ImGui::PopFont(); } }; ````

```` class RAII { public: RAII() { printf("A");} ~RAII() { printf("~A");} }; class RAII2 { public: RAII2() { printf("B");} ~RAII2() { printf("~B");} }; void bad() { RAII(); RAII2(); } //...

@obermayrrichard Using unique_ptr like that is clever! For reference, I use the finally in Microsoft's GSL implementation - https://github.com/Microsoft/GSL/blob/master/include/gsl/gsl_util

Bugs and misinterpretation of colorimetry and its use in EXR files has permanently poisoned the use of the existing attributes. At this point I don't think we are ready to...

Since it removes the SRGB transfer curve (as opposed to ONLY removing a gamma curve), it's probably worth naming it ImGuiConfigFlags_ConvertSRGBToLinear, or somesuch, to be more explicit. There are lots...

To explain it a different way, the fragment shader can only linearly interpolates the values coming from the vertex shader because the vertex shader doesn't know about srgb encoding. If...

yes, a typo, please feel free to submit a PR

Since you commented, the earliest reference I have naming back propagation as such is Rumelhart, David E., Geoffrey E. Hinton, Ronald J. Williams, Learning Representations by Back-Propagating Errors, Nature, 1986,...

Could we deprecate the existing closestVertex and project in Python (leaving them in place) and provide new ones with new names and matching argument order (closeVertexToPoint, projectVectorOnVector? Seems like the...

In another forum I mentioned sticking to color interop forum colorspaces, but I support restricting user interface element colors to sRGB.