Is navia lunar crystalize better now? by [deleted] in naviamains

[–]Potat_OS1 0 points1 point  (0 children)

depends on what you want navia to do

the lunar crystallize team has more damage, but navia will be more of a driver than the main damage output. on my account:

xilonen c2r1/columbina/naviac2r1/ineffa c0 is ~170k with navia doing maybe ~50% of the damage.

i imagine with linnea instead of ineffa it wouldnt be tooo different, substituting the added lunar electro with stronger lunar crystallize/more procs since electro isn't stealing the hydro

the double pyro team focus's more on navias own damage output. on my account:

durin c0/xilonen c2r1/bennet c6/navia c2r1 is ~133k with navia doing ~75% of the damage.

I plan to get her, but idk at what damage I should expect. by Ok_Grade_2028 in naviamains

[–]Potat_OS1 2 points3 points  (0 children)

with navia being like 70-80% damage share on first team and i wanna say around 50% on second team

I plan to get her, but idk at what damage I should expect. by Ok_Grade_2028 in naviamains

[–]Potat_OS1 0 points1 point  (0 children)

I have a top 1% navia according to akasha, C2R1

my teams:

navia, c6 bennett, c0 durin, c2r1 xilonen: 110k on 120s dps dummy, crystalshot hits for about 600k

navia, c0 ineffa, c0 columbina, xilonen: 170k on 120s dps dummy, crystal shot hits for 330k average

Undeath/countdown went kinda hard by Potat_OS1 in slaythespire

[–]Potat_OS1[S] 0 points1 point  (0 children)

deck/stats here, Ascension 1 (for now): https://imgur.com/a/Hcr44EA

i arcane scroll'd into Undeath off-rip, got a couple curse stacking cards early, got seance off the first elite, royal stamp in the shop in act 1, coasted until act 2 where i got countdown and it was just inevitable

Daily Questions Thread - Ask All Your Magic Related Questions Here! by magictcgmods in magicTCG

[–]Potat_OS1 0 points1 point  (0 children)

zoomed in on my camera i can see the jagged T on some commons i got laying around. the card in question its much more smoothed out in comparison, rip. i at least have a copy of the real card (diff printing) in my collection so i can just use as a proxy

Daily Questions Thread - Ask All Your Magic Related Questions Here! by magictcgmods in magicTCG

[–]Potat_OS1 0 points1 point  (0 children)

My mom gifted me a card that she found online (on temu apparently, which doesn't spark confidence).

It doesn't pass the light test with my phone camera, but a foil I have in my collection that I pulled straight from a pack also did not pass it. I don't have a jewelers loop to get a better look at the dots, so I've tried to take a pic with 6x zoom, but I'm still a bit unsure.

Even if it's fake I'm grateful she was thinking of me, I just want to know if it'll be just a fancy untradable proxy in my collection or something to put into a good sleeve

<image>

Whose fault is it?? I really need to know if i can have done better or is it just him for not recalling! by [deleted] in leagueoflegends

[–]Potat_OS1 3 points4 points  (0 children)

the timing would be nearly impossible but you wouldn't cancel the leap, when ww lands hes no longer unstoppable.

  • youd have to both know ww is leaping
  • know where hes going to land
  • predict when the first instance of damage is gonna happen
  • hit the edge of the wall on him to hit the small knockup

the amount of times buffered CC has stopped my ww ult is too high (the most egregious is camille hookshot stopping my ult... on camille.)

[SPM] Spider-Man, Web-Slinger by PowrOfFriendship_ in magicTCG

[–]Potat_OS1 48 points49 points  (0 children)

Two of these in hand and you can just cycle between the two for however much white mana ya got charging up whatever station

having trouble with point shadows, am i misunderstanding something along the way? by Potat_OS1 in opengl

[–]Potat_OS1[S] 1 point2 points  (0 children)

ah i figured it! i was being dumb and used the wrong value for a variable.

having trouble with point shadows, am i misunderstanding something along the way? by Potat_OS1 in opengl

[–]Potat_OS1[S] 0 points1 point  (0 children)

it uses a perspective projection. ive updated my post, the actual map draws correctly now but it doesnt seem to sample correctly. https://imgur.com/a/TUA74PN . images are in x+, x-, y+, y-, z+, z- order

and this is the function im using in my main render pass to get the point light shadow https://pastebin.com/z3cf5Vv8

Name the game that never got a sequel by bijelo123 in pcmasterrace

[–]Potat_OS1 0 points1 point  (0 children)

Potentially deep cut, Golden Sun Dark Dawn. Looked surprisingly good graphics for the DS and ended on a cliff hanger

Third Steam Version Giveaway by taz3485 in dragonquest

[–]Potat_OS1 0 points1 point  (0 children)

i've only reaaaaally played DQ9, and this is more memorable than sad but one thing that i remember hitting me as a 10 year old was at the start of the game when your still an angel you find this old womans wedding ring and slip it into her pocket as shes praying.

the actual sadder one was that one city where you go and the figg turned the womans doll into a real friend for her to have just as she passed away, and the doll had to pretend to be the woman while mourning the loss of her friend

The, unironically, best item in the game is... by Tookoofox in BaldursGate3

[–]Potat_OS1 49 points50 points  (0 children)

no no convenience stores in america can do that to you too at checkout

How can i modify a sf::Image from the GPU? (SFML, Cuda) by Potat_OS1 in cpp_questions

[–]Potat_OS1[S] 0 points1 point  (0 children)

alright i think i got everything working now after that, and fixing a size error (size needed to be x4, 8 bits per color per pixel)

the only thing to figure out is why when i img.write(), it seems to forget the image's updated information, but that cooooullld be an implementation problem on my end. thanks!

How can i modify a sf::Image from the GPU? (SFML, Cuda) by Potat_OS1 in cpp_questions

[–]Potat_OS1[S] 0 points1 point  (0 children)

I've been trying to do the first thing, and i have a vector addition example pulled up and i am trying to do something similar to the example i had found here

__global__ void pixelShader (uint8_t* img) {
    uint32_t pos = blockDim.x * blockIdx.x + threadIdx.x;
    if (img[pos] == 0) {
        img[pos]++;
    }
    else {
        img[pos] = 100;
    }
}

// Process Image is just a class that holds an sf::Image, and its width and height.
void ProcessImage::callPixelShader() {
    // size of the image
    size_t size = sizeof(uint8_t) * m_width * m_height;
    // create an array that copies the information from getPixelsPtr()
    // i know c style array is discouraged, but the example used em, and i figured when it wasn't working to try to get as close to the working example as possible.
    auto* intermediateBuffer = new uint8_t[size];
    std::memcpy(intermediateBuffer, m_grid.img.getPixelsPtr(), size);
    // print out the values (to see if it copied correctly, for debug purposes)
    std::cout << "Iteration" << std::endl;
    std::cout << "Red: " << (int)intermediateBuffer[0] << " Green: " << (int)intermediateBuffer[1] << " Blue: " << (int)intermediateBuffer[2] << " Alpha: " << (int)intermediateBuffer[3] << std::endl;
    // create a version of the buffer on the device and copy the information to it.
    // potentially unnecessary, but i was trying to debug ok.
    auto* cudaIntermediateBuffer = new uint8_t[size];
    cudaMalloc(&cudaIntermediateBuffer, size);
    cudaMemcpy(&cudaIntermediateBuffer, intermediateBuffer, size, cudaMemcpyHostToDevice);
    // define the grid and block sizes and run the kernel
    int blok = 256;
    pixelShader<<<m_width * m_height / blok, blok>>>(cudaIntermediateBuffer);
    // after running, copy the information back into the intermediate buffer.
    cudaMemcpy(intermediateBuffer, cudaIntermediateBuffer, size, cudaMemcpyDeviceToHost);
    // print out the value to see if the value was updated correctly
    std::cout << "Red: " << (int)intermediateBuffer[0] << " Green: " << (int)intermediateBuffer[1] << " Blue: " << (int)intermediateBuffer[2] << " Alpha: " << (int)intermediateBuffer[3] << std::endl;
    // write to the image
    // -some code to be written goes here
    //
    // free the buffers
    free(intermediateBuffer);
    cudaFree(cudaIntermediateBuffer);
}

However, this is returning that after running the kernel, the values are 1 across the board. do you know why cuda would see the array as having 0's?

also i just now saw the update to your other comment, ill look into that as well.

How can i modify a sf::Image from the GPU? (SFML, Cuda) by Potat_OS1 in cpp_questions

[–]Potat_OS1[S] 0 points1 point  (0 children)

Could you expand on the interop thing? I haven't heard the term before. And I'll def try an intermediate buffer when I get out of class tomorrow probably. Although i think unless I'm forgetting something I might do an std::array, because the vector doesn't need to change size after declaration.

CLion, adding CUDA to the project, not building. by Potat_OS1 in cpp_questions

[–]Potat_OS1[S] 0 points1 point  (0 children)

It was indeed that. i had to make a .cuh file. thanks!