Search found 4 matches

by Hybrid Dog
Wed Mar 11, 2020 1:34 pm
Forum: Everything 2d/3d Graphics
Topic: quadratic equations
Replies: 3
Views: 2933

Re: quadratic equations

If we know that there is a solution and we have an approximate initial guess, is it faster to apply the Newton rule multiple times instead of calculating the solutions with the quadratic formula (-b±sqrt(b*b-4*a*c))/(2*a)? x[0] = x0, x[k+1] = (a * x[k] * x[k] - c) / (2 * a * x[k] + b) x1 ≈ x[10] x2 ...
by Hybrid Dog
Sat Aug 25, 2018 12:41 pm
Forum: Advanced Help
Topic: Mipmapping with gamma correction
Replies: 9
Views: 2427

Re: Mipmapping with gamma correction

HandleSRGB indeed gives wrong results.
Image
by Hybrid Dog
Sat May 05, 2018 1:18 pm
Forum: Advanced Help
Topic: Mipmapping with gamma correction
Replies: 9
Views: 2427

Re: Mipmapping with gamma correction

If I understand that correctly, the internal format of a texture can be set to GL_SRGB to enable gamma correction:
https://www.reddit.com/r/opengl/comment ... on_issues/
https://learnopengl.com/Advanced-Lighti ... Correction
by Hybrid Dog
Sun Apr 22, 2018 7:25 am
Forum: Advanced Help
Topic: Mipmapping with gamma correction
Replies: 9
Views: 2427

Mipmapping with gamma correction

https://github.com/minetest/minetest/issues/6867
How can I enable gamma correct downscaling for mipmap generation?