Skip to main content
10 events
when toggle format what by license comment
Jan 16, 2023 at 21:03 vote accept Simon
Jan 16, 2023 at 20:35 comment added Nicol Bolas @Simon: "which OpenGL then compresses" ... that's not wise if you care about the quality of the resulting compressed data. This goes doubly so for complex schemes like BPTC. Use an off-line tool to pre-compress this stuff.
Jan 16, 2023 at 19:14 answer added Kevin Reid timeline score: 1
Jan 16, 2023 at 16:24 comment added Simon Thank you @Nicol Bolas. I have added the png file of the tennis ball texture (which I convert to bmp in MS Paint before loading it, and which OpenGL then compresses). I didn't upload the bmp version here (it's 6MB) but it looks the same as the png. I added my shader code. Apologies - some of the comments in the shader code are outdated and should have been deleted.
Jan 16, 2023 at 16:14 history edited Simon CC BY-SA 4.0
Added tennis ball equirectangular texture and added code for vertex and fragment shaders
Jan 16, 2023 at 16:02 comment added Nicol Bolas "Why does the equatorial gradient between light and shade due to the overhead directional light source seem aliased in some cases" You're probably doing your lighting wrong, but since we don't know how you're computing your lighting, we can't say more.
Jan 16, 2023 at 16:00 comment added Nicol Bolas @Simon: "I don't know whether you'd call that 1K or 2K ?!" The "K" moniker for televisions is not what actual graphics people use. When we ask for resolution, we mean the actual width/height, not meaningless buzzwords like "2K" or "4K". More importantly, the resolution of the texture in question isn't as important as looking at the actual texture. Is it blocky?
Jan 16, 2023 at 13:32 comment added Simon Haha yes ! My to-do list includes making all the balls the correct size ! All 3 equirectangular textures are 2048 x 1024. I don't know whether you'd call that 1K or 2K ?!
Jan 16, 2023 at 13:30 comment added pmw1234 Those are some big tennis balls, what is the resolution of the texture?
Jan 16, 2023 at 13:18 history asked Simon CC BY-SA 4.0