|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2015-9-29. : 3:23 am] O)FaRTy1billion[MM] -- You'll just have to clamp it to not exceed 255 ... and mine is better, because that'll create big white splotches[2015-9-29. : 3:23 am] O)FaRTy1billion[MM] -- though in that case it might just want you to do like bit[x][y].r * factor[2015-9-29. : 3:21 am] O)FaRTy1billion[MM] -- 0-2 actually makes sense. 0% brightness, 100% brightness (no change), or 200% brightness, as opposed to a % change in brightness[2015-9-29. : 3:20 am] O)FaRTy1billion[MM] -- then what I have will still work, but only if you adjust the bright condition and the multipliers (1 + bright to just bright, and bright to bright - 1)[2015-9-29. : 3:16 am] O)FaRTy1billion[MM] -- I think the factor is usually -1 (darken 100%) to 1 (lighten 100%),[2015-9-29. : 3:15 am] O)FaRTy1billion[MM] -- Also, like moose said, Mini Moose 2707Mini Moose 2707 shouted: So basically the same shit as the last image modification question you asked. [2015-9-29. : 3:15 am] O)FaRTy1billion[MM] -- does it say the range of the double, like -1 to 1? Or is that for you to decide?[2015-9-29. : 3:14 am] Dem0n -- factor's a double, so yeah I guess I have to go pixel by pixel and adjust it[2015-9-29. : 3:14 am] O)FaRTy1billion[MM] -- (only did bright >= 0 of my example, so there's less to look at)[2015-9-29. : 3:13 am] O)FaRTy1billion[MM] -- they probably want like for(x=0;x<width;x++) for(y=0;y<height;y++){ bits[y][x].r = bits[y][x].r + ((1.0 - bits[y][x].r) * factor); /* repeat for .g and .b */ } } }[2015-9-29. : 3:10 am] O)FaRTy1billion[MM] -- It's probably because it wants you to do it all at once. the color value would be the current pixel (channel, if it's color) you are modifying[2015-9-29. : 2:39 am] Dem0n -- Hmm I've been given a method signature with a 'factor' variable which I guess is 'bright', but there's no second parameter for a color value[2015-9-29. : 2:35 am] O)FaRTy1billion[MM] -- also that should keep 'val' properly clamped to 0.0 to 1.0[2015-9-29. : 2:31 am] O)FaRTy1billion[MM] -- The function I have ("val" is the color value in the range 0.0 to 1.0, and "bright" is the amount to adjust, -1.0 to 1.0) was: if(bright < 0.0) val = val * (1.0 + bright); else val = val + ((1.0 - val) * bright);[2015-9-29. : 2:18 am] zsnakezz -- one thing i realized early on, is that you have to make things sort of unpredictable for yourself[2015-9-29. : 2:14 am] O)FaRTy1billion[MM] -- Dem0nDem0n shouted: Anyone know how to code a function that changes the brightness of a picture? is this it?![]() [2015-9-29. : 2:13 am] O)FaRTy1billion[MM] -- someone fix SEN, I can't remember how to quote and the button isn't loading so I can't just click it[2015-9-29. : 2:00 am] Moose -- I know you don't want to embarass me, but you shouldn't punish the community just to spare me. I'll get over it.[2015-9-29. : 1:58 am] Fire_Kame -- Okay I'm going to level with you guys. Whatever little wit I have is shot by being sick. Can't even think of a damn comeback for Moose ffs[2015-9-29. : 1:57 am] zsnakezz -- im losing motivation, realm is most likely going to be the last map[2015-9-29. : 1:56 am] Fire_Kame -- The adults are talking honey go do your homework in the other room. We'll be in there in a second.[2015-9-29. : 1:55 am] Fire_Kame -- Mini Moose 2707Mini Moose 2707 shouted: zsnakezz I haven't released anything since the last updates to Cave Wars and Uberena. scrub. I bet I could make a better map than you.[2015-9-29. : 1:55 am] Moose -- It's unfortunate how bad and dead battle.net is and how much more SC could be with a few simple updates/upgrades. Really hampers my motivation.[2015-9-29. : 1:54 am] Moose -- zsnakezzzsnakezz shouted: moose do you make maps anymore? I haven't released anything since the last updates to Cave Wars and Uberena.[2015-9-29. : 1:52 am] Fire_Kame -- I took a python class on coursera and that was one of the first things he taught[2015-9-29. : 1:50 am] Moose -- So basically the same shit as the last image modification question you asked.[2015-9-29. : 1:46 am] Moose -- Dem0nDem0n shouted: Anyone know how to code a function that changes the brightness of a picture? Increase/decrease the RGB values of the pixels according to the input. Then figure out a formula for doing it that doesn't suck.![]() [2015-9-29. : 1:42 am] Fire_Kame -- Dem0nDem0n shouted: Anyone know how to code a function that changes the brightness of a picture? brightness_multiplier ![]() ![]() [2015-9-29. : 1:37 am] Fire_Kame -- LanthanideLanthanide shouted: Kame, you might appreciate both these videos, but for different reasons: https://www.youtube.com/watch?v=CYRENWT8lz8 https://www.youtube.com/watch?t=1&v=DfBBVIoW-68 BUT WHY IS IT CENSORED oh good, that's only cuz youtube[2015-9-29. : 1:36 am] Dem0n -- Anyone know how to code a function that changes the brightness of a picture? ![]() [2015-9-28. : 11:04 pm] Wing Zero -- jjf28jjf28 shouted: why must 'successfully' have so many double letters To be as confusing as possssible[2015-9-28. : 7:59 pm] jjf28 -- Mini Moose 2707Mini Moose 2707 shouted: jjf28 That's an interesting way to spell "rekt" That's how the cool kids do it. |
Butch, Soul Filcher