|
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. : 8:02 pm] NudeRaider -- Dem0nDem0n shouted: I multiplied each rgb value by a factor, and then clamped it to not exceed 255. Is that not right? that's just a little better than adding a flat amount (=brightness). A pretty decent way to achieve a natural brightness is the gamma correction where the flat mulitplicator is again multiplied by the inverted brightness value of the current pixel. like a 100% white pixel is multiplied by 1, a 50% grey pixel is multiplied by 1.5 and a 1% almost black pixel by 1.99. Not sure about the exact formular, but it's something like that.[2015-9-29. : 7:09 pm] Roy -- Dem0n Here's a question that should make you realize your mistake: how does your algorithm brighten black/RGB(0, 0, 0)?[2015-9-29. : 5:05 pm] Dem0n -- I multiplied each rgb value by a factor, and then clamped it to not exceed 255. Is that not right?[2015-9-29. : 5:04 pm] Dem0n -- When I try to brighten this picture, why does it look like this when the brightness is doubled? D:[2015-9-29. : 4:28 pm] jjf28 -- SacrieurSacrieur shouted: Vrael Can I pay in minerals? the only acceptable substitute is minraels[2015-9-29. : 4:27 pm] Sacrieur -- VraelVrael shouted: This message is not important. SEN will now charge its users a daily subscription, US $59.99/day. Please don't copy and paste this message to send the message to everyone in SEN, so that we can charge them behind their backs while they're not looking and make lots of money. Can I pay in minerals?[2015-9-29. : 4:26 pm] Neiv -- If it is possible to set tank's/goliath's turret to spirit unit, that would likely be very stable[2015-9-29. : 4:25 pm] Neiv -- And if it works, then having it attack other units would cause them retaliate[2015-9-29. : 4:24 pm] Neiv -- The spirit unit may be able to exist doing its own animation/order without other units being able to see it[2015-9-29. : 4:22 pm] Neiv -- FaRTy1billionFaRTy1billion shouted: I wonder if you can actually use one of these spirit units as an actual valid unit playable in a map. I don't think SC does any sort of bounds checks to make sure the unit is within the unit table The main two issues I can think of right now are the fact that the Unit searching system uses indices to unit array, and that network commands use indicies with max size of 2048[2015-9-29. : 4:10 pm] Vrael -- This message is not important. SEN will now charge its users a daily subscription, US $59.99/day. Please don't copy and paste this message to send the message to everyone in SEN, so that we can charge them behind their backs while they're not looking and make lots of money.[2015-9-29. : 3:57 pm] O)FaRTy1billion[MM] -- It might break things if you create/remove it, or if you max out units on the map[2015-9-29. : 3:57 pm] O)FaRTy1billion[MM] -- I wonder if you can actually use one of these spirit units as an actual valid unit playable in a map. I don't think SC does any sort of bounds checks to make sure the unit is within the unit table[2015-9-29. : 3:43 pm] jjf28 -- jjf28jjf28 shouted: NudeRaider you do some action that causes starcraft to act on them (ex: give the command center that has the spirit addon attached) (this after you've moved the ccs addon ptr ofc)[2015-9-29. : 3:33 pm] jjf28 -- in the case of dEUPs the exact addresses that change based on unit deaths are given here: http://www.staredit.net/topic/16553/[2015-9-29. : 3:32 pm] jjf28 -- NudeRaiderNudeRaider shouted: okay, but how do you actually use spirit units? As far as I understand it's only a temporary memory location. you do some action that causes starcraft to act on them (ex: give the command center that has the spirit addon attached)[2015-9-29. : 3:27 pm] Fire_Kame -- This message is important. SEN will now charge its users a monthly subscription, through minerals or real life currency. Please copy and paste this message to send the message to everyone in SEN.[2015-9-29. : 11:19 am] NudeRaider -- okay, but how do you actually use spirit units? As far as I understand it's only a temporary memory location.[2015-9-29. : 6:55 am] jjf28 -- little more http://pastebin.com/SC9aEGda now I really need to sleep so nightz ![]() [2015-9-29. : 6:26 am] jjf28 -- pm'd this to someone that was interested http://pastebin.com/NNArNu3F , posting public in case anyone else is[2015-9-29. : 4:59 am] jjf28 -- http://google-opensource.blogspot.com/2015/03/farewell-to-google-code.html[2015-9-29. : 4:58 am] jjf28 -- google code was so beautiful, if only they had kept up with the times[2015-9-29. : 4:56 am] KrayZee -- This message is important. SEN will now charge its users a monthly subscription, through minerals or real life currency. Please copy and paste this message to send the message to everyone in SEN.[2015-9-29. : 4:49 am] jjf28 -- RIP https://code.google.com/p/bwapi/source/browse/trunk/bwapi/BWAPI/Source/BW/CUnit.h ; enter https://github.com/bwapi/bwapi/blob/master/bwapi/BWAPI/Source/BW/CUnit.h[2015-9-29. : 4:22 am] jjf28 -- https://github.com/jjf28/ProcessShredder well that's done, though I can't see a (an additional) wrapper layer as anything but code bloat given that windows doesn't throw exceptions & I'm already walling off the calls/unmanaged stuff from client code[2015-9-29. : 4:18 am] O)FaRTy1billion[MM] -- lol, the contrast isn't clamped and if you turn on dithering and do huge contrasts then bright/dark regions bleed across the image[2015-9-29. : 4:08 am] O)FaRTy1billion[MM] -- also assuming rgb is 24-bit, that code would only work on bitmaps whose width is a multiple of 4 xD[2015-9-29. : 4:06 am] O)FaRTy1billion[MM] -- I probably could've done for(x=0;x<w;x++) for(y=0;y<h;y++) and stuff might've made more sense, but i<size is so much lazier[2015-9-29. : 4:05 am] O)FaRTy1billion[MM] -- dithering is so cool. You round it to a value, and then split the remainder among neighboring pixels[2015-9-29. : 3:56 am] O)FaRTy1billion[MM] -- maybe above the 'for' I should've put a comment to specify 'for each pixel'[2015-9-29. : 3:54 am] O)FaRTy1billion[MM] -- Just copy+pasted fragments out of the thing I copy+pasted the last fragment out of .. attempted to organize it to make a sensical function[2015-9-29. : 3:26 am] O)FaRTy1billion[MM] -- alternatively, do like n *= factor; if(n > 255) n = 255;, but that's less pretty ![]() |
Butch, Soul Filcher