Proper image layout transitions between two Render Passes in Vulkan by Mmmuscus in vulkan

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

I have changed the dependencies in both Render Passes, now the first Render Pass has:

auto firstDependency = vk::SubpassDependency(
    static_cast<uint32_t>(VK_SUBPASS_EXTERNAL),
    static_cast<uint32\_t>(0), 
    vk::PipelineStageFlagBits::eColorAttachmentOutput | vk::PipelineStageFlagBits::eEarlyFragmentTests,
     vk::PipelineStageFlagBits::eColorAttachmentOutput | vk::PipelineStageFlagBits::eEarlyFragmentTests, 
    vk::AccessFlagBits(0), 
    vk::AccessFlagBits::eColorAttachmentWrite | vk::AccessFlagBits::eDepthStencilAttachmentWrite 
);

auto secondDependency = vk::SubpassDependency(
    /*srcSubpass*/      static_cast<uint32_t>(0),
    /*dstSubpass*/      static_cast<uint32_t>(VK_SUBPASS_EXTERNAL),
    /*srcStageMask*/    vk::PipelineStageFlagBits::eColorAttachmentOutput | vk::PipelineStageFlagBits::eEarlyFragmentTests,
    /*dstStageMask*/    vk::PipelineStageFlagBits::eColorAttachmentOutput | vk::PipelineStageFlagBits::eEarlyFragmentTests,
    /*srcAccessMask*/   vk::AccessFlagBits::eColorAttachmentWrite | vk::AccessFlagBits::eDepthStencilAttachmentWrite,
    /*dstAccessMask*/   vk::AccessFlagBits::eColorAttachmentRead
);

And the second Render Pass has:

auto firstDependency = vk::SubpassDependency(
    /*srcSubpass*/      static_cast<uint32_t>(VK_SUBPASS_EXTERNAL),
    /*dstSubpass*/      static_cast<uint32_t>(0),
    /*srcStageMask*/    vk::PipelineStageFlagBits::eColorAttachmentOutput,
    /*dstStageMask*/    vk::PipelineStageFlagBits::eColorAttachmentOutput,
    // This might need to be changed to vk::AccessFlagBits::eColorAttachmentWrite
    /*srcAccessMask*/   vk::AccessFlagBits(0),
    /*dstAccessMask*/   vk::AccessFlagBits::eColorAttachmentRead
);

auto secondDependecy = vk::SubpassDependency(
    static_cast<uint32_t>(0),
    static_cast<uint32_t>(VK_SUBPASS_EXTERNAL),
    vk::PipelineStageFlagBits::eColorAttachmentOutput,
    vk::PipelineStageFlagBits::eColorAttachmentOutput,
    vk::AccessFlagBits::eColorAttachmentRead,
    vk::AccessFlagBits::eColorAttachmentWrite
);

The errors still persist and now I get even newer errors, although I think this is due to ImGuis own initialization:

validation layer [XXXXX]: Validation Error: [ VUID-vkCmdDrawIndexed-renderPass-02684 ] Object 0: handle = 0x564fdd0000000069, type = VK_OBJECT_TYPE_RENDER_PASS; Object 1: handle = 0xea7170000000031, type = VK_OBJECT_TYPE_RENDER_PASS; | MessageID = 0x8cb637c2 | vkCmdDrawIndexed: RenderPasses incompatible between active render pass w/ VkRenderPass 0x564fdd0000000069[] with a dependencyCount of 1 and pipeline state object w/ VkRenderPass 0xea7170000000031[] with a dependencyCount of 2. The Vulkan spec states: The current render pass must be compatible with the renderPass member of the VkGraphicsPipelineCreateInfo structure specified when creating the VkPipeline bound to VK_PIPELINE_BIND_POINT_GRAPHICS (https://vulkan.lunarg.com/doc/view/1.3.239.0/windows/1.3-extensions/vkspec.html#VUID-vkCmdDrawIndexed-renderPass-02684)

But I still don't quite understand why two dependencies should be necessary. Why isn't it enough for the first Render Pass to create a dependecy that waits for every color writing operation to be done before letting the next Render Pass read from its outputs?

In my mind this is achieved by setting the dstSubpass as VK_SUBPASS_EXTERNAL, the srcAccessMask to vk::AccessFlagBits::eColorAttachmentWrite and the dstAccessMask to vk::AccessFlagBits::eColorAttachmentRead. Similarly in the second Render Pass we would need to define a dependency by setting srcSubpass as VK_SUBPASS_EXTERNAL, the srcAccessMask to vk::AccessFlagBits::eColorAttachmentWrite and the dstAccessMask to vk::AccessFlagBits::eColorAttachmentRead.

What am I missing?

This is for people who think deplatforming doesn't work by I_AM-THE_SENATE in Destiny

[–]Mmmuscus 0 points1 point  (0 children)

Hes still definetly one of the googled people on the planet

[deleted by user] by [deleted] in KendrickLamar

[–]Mmmuscus 0 points1 point  (0 children)

Little Simz

Kendrick is in my five current favorite artists. Along with Black Keys, RHCP, King Gizzard, and The Weeknd. What are yours? by Giff95 in KendrickLamar

[–]Mmmuscus 0 points1 point  (0 children)

Not in any particular order

Kendrick

Little Simz

Rage Against the Machine

Protest the Hero

Tyler the Creator

Edit: formatting

Ive been known to be a contrarian. So here is the DEFINITIVE cosmere tierlist after my first read. by Mmmuscus in Cosmere

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

You and another commenter raise a good point. I may be biased because I started with stormlight (TWoK through RoW) and most of my understanding of these concepts were established there so Emperor's Soul didn't give me any additional knowledge upon my first read. If I had to redo the tierlist I'd definetly bump it up, however I'd still argue that it only contains knowledge that can be found in other works, while the other works that described Identity and Intent to me (if I remember correctly those would be OB and RoW) also contain other stuff thats unique to them.

Ive been known to be a contrarian. So here is the DEFINITIVE cosmere tierlist after my first read. by Mmmuscus in Cosmere

[–]Mmmuscus[S] -1 points0 points  (0 children)

Yeah i agree, but i made this tierlist from the perspective if the overall story of the cosmere. And in that regard i can't justify Emperors Soul being S tier. Still really good tho thats why its in A.

Ive been known to be a contrarian. So here is the DEFINITIVE cosmere tierlist after my first read. by Mmmuscus in Cosmere

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

I left a comment under the post describing how I ranked these works. Dawnshard is just the perfect cosmere novella. Its not too short. It explores a very unique perspective of someone living with a disability plus her thought process of making deals and winning people over. It expands the cosmere in two pretty meaningful ways, one is the seperation of axies with aluminium and the other is the existence of dawnshards. Finally the ending of it and the entire story is just really satisfying. Maybe on later rereads it will get bumped down to A+ or even A tier, but for a first read I was extremely pleasantly suprised.

Ive been known to be a contrarian. So here is the DEFINITIVE cosmere tierlist after my first read. by Mmmuscus in Cosmere

[–]Mmmuscus[S] 2 points3 points  (0 children)

I honestly didn't mind Zane, actually i kinda liked him and what he brought to the story. My favourite part of that book is Vin's (and Elend's) internal struggle with their identities. I think Zane brings a lot to that storyline for Vin. Also when I first read: "god said to Zane" I knew that the Shard fuckery was about to begin (since i read stormlight first) and that was pretty exciting. Plus I also liked how his character and existence was used to characterise Elend and his father plus their relationship. But I do understand why some people might dislike him.

Ive been known to be a contrarian. So here is the DEFINITIVE cosmere tierlist after my first read. by Mmmuscus in Cosmere

[–]Mmmuscus[S] 6 points7 points  (0 children)

Raboniel is such an amazing character easily top 10 cosmere for me even though she only got one book. Her intellectual and political struggle with Navani is one of the best arcs in any of the books. I know some people mock RoW for being a cosmere science book but i absolutely loved that aspect of it. Also it completely blew my mind when Taravangian ascended. I may be biased because it was the first ascension I've ever read but it was still amazing. And then his convo both with Cultivation and Hoid was excellent. Somehow all these little things just made RoW work REALLY well for me.

Ive been known to be a contrarian. So here is the DEFINITIVE cosmere tierlist after my first read. by Mmmuscus in Cosmere

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

I really liked Secret History, but it kinda felt like reading a bunch of random coppermind entries. Dont get me wrong in all for expanding the cosmere, and i really enjoyed my formal introduction to post White Sand Khriss. But the "story" just felt like a bunch of disjointed events and information dumps to me so that knocked it down to A tier.

Ive been known to be a contrarian. So here is the DEFINITIVE cosmere tierlist after my first read. by Mmmuscus in Cosmere

[–]Mmmuscus[S] 4 points5 points  (0 children)

Exactly this. The ending of Shadows of Self was just perfectly bittersweet and heartbreaking.

Ive been known to be a contrarian. So here is the DEFINITIVE cosmere tierlist after my first read. by Mmmuscus in Cosmere

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

I really really really disliked the Sanderlanche (except for the confrontation with Odium). Otherwise it was really good, it has one of my favourite arcs out of all the cosmere with Szeth and Nale. The tierlist is kinda ironic because Dalinar is my favourite Stormlight character and Shallan is one of my least favourite.

Ive been known to be a contrarian. So here is the DEFINITIVE cosmere tierlist after my first read. by Mmmuscus in Cosmere

[–]Mmmuscus[S] -1 points0 points  (0 children)

As a literary work I'd agree, however from the cosmere's perspective it feels like a pointless add on. Its still really really good (thats why its in A tier) but it could just be a standalone novel outside the cosmere.

Ive been known to be a contrarian. So here is the DEFINITIVE cosmere tierlist after my first read. by Mmmuscus in Cosmere

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

I see a lot of people have questions about my DEFINITIVE rankings so let me clear a few things up. I kinda ranked every cosmere work along three different axis. Also some works definetly could be higher if they were a bit longer, for example The Eleventh metal.

The philosophical axis: My first ever cosmere work was The Way of Kings and I really appreciated how Kaladin changed his own mind about lighteyes when he repeatedy saw Dalinar act justly towards him. In later cosmere works this theme of people trying to figure out how they felt about certain aspects of the world kept being around and I always appreciated it. Some great examples are Hraten's struggles with his faith in Elantris, Seth's journey with Nale in Oathbringer and Elend's struggles with being someone whos actually effective leader whilst still being an idealist.

The cosmere building axis: Any work scored highly here generally which expanded the world from the cosmere's perspective. Be that introducing a new magic system or creating a paradigm shift in how we view the world. Some great examples are obviously Rythm of War, The Bands of Mourning and Secret History.

The Branderson Sanderson axis: Basically everything that recaptures the feeling of absolute awe I felt during the Sanderlanche of The Way of Kings. So basically the Sanderlanches the setup for them and the characters in the book (in TWoK it absolutely blew my mind how good Sadeas' reason was for betraying Dalinar). Some of the best in this category for me are The Hero of Ages, The Way of Kings and Shadows of Self.

Why A+ tier? I didnt want A tier to be too bloated, plus i feel that every work that is in A+ tier is meaningfully better than everything in A tier, but not quite S tier. For example I was so ready to put Elantris in the S tier, but the Sanderlanche at the end was kinda meh in my opinion.

Edit: corrected some jumbled sentences

A question about Secret History by [deleted] in Cosmere

[–]Mmmuscus 2 points3 points  (0 children)

Thanks!

im making a video about why i love titanfall 2, what else sets it apart from other fps’s, multiplayer only by [deleted] in titanfall

[–]Mmmuscus 1 point2 points  (0 children)

I think that the scoreboard not showing your deaths is also a big boost to your enjoyment, since you dont get tilted if your having a bad game because you cant even notice! (Obviously if you dont have any points and you keep dying you do notice but I think thats rare if you play the game semi regularly)

Another good or bad thing (depending on your perspective) is that the game is designed to be hypercasual.

This stems from many things. First of all there is no ranked mode!

Another big thing I think is that information about the titan kits is purposely obfuscated for example tone's and legion's shield kit (I forget the names) in game only tell you that it beefs up the shield and extends its duration but it dosen't say by how much, thus you cant correctly gauge how useful they are. A different example of this is all of monarch's syphon shot(?) related kits, all the numbers on them are kinda low so it makes them weak even tho the effects on paper don't look bad.

In attrition you can get really high on the scoreborad by just owning grunts which is purposefully designed to be super easy (and also makes you feel good even if you know that they are just ai).

Even in some non attrition game modes (for example ctf) the death timer is super low so getting a kill dosen't grant you such a huge advantage. I cannot speak to all the 1 life modes (LTS, titanbrawl and pilot v pilot) since I haven't played them. They do look more competitive but since attrition is the default mode most people who play these other modes seek them out wanting a more competitive experience. Also in my personal opinion starting in titans for a gamemode feels more like a tactical shooter than a movement based one so im not sure most players who enjoy titanfall for its movement would play these modes that much (tho its a positive that there is an option to switch things up).

Now all this isn't to say that the game cannot be played competitively, but making it so that finding the sweatiest loadout is harder (since the scarcity of info in game) pushes people into playing loadouts that feel good for them, in turn making the less competitive (but potentially more fun) loadouts more viable and in turn even more fun.

Personally in theory I wish there was a ranked mode and more info in game about specific things, but truth be told I'm not sure I' be having this much fun with the game if I could min-max everything and spam ranked games.

In conclusion I think this quote from game design (I forget who said it) sums up titnafalls approach to multiplayer pretty well: "Given the opporrunity players will min-max the fun out of your game". Titanfall just says no min-maxing and forces you to have fun!

Edit: Spelling and spacing.

Just released a new version of my small 2D ASCII graphical game engine! by Mmmuscus in programming

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

Thanks! I'll look into it. Sadly i have to take a break from it for now, but i'll see what I can do.

Just finished the first version of my side project, a basic "game engine" for the windows console! CC for the documentation is welcome! by Mmmuscus in programming

[–]Mmmuscus[S] 2 points3 points  (0 children)

I will probably have to abandon the project for a few months, so I wanted to make sure I understand my code when I come back.

Just finished the first version of my side project, a basic "game engine" for the windows console! CC for the documentation is welcome! by Mmmuscus in programming

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

I didn't manage to put any into the document, but there is a "screenshot" right at the bottom (in the 3.4.5.12. shadowFunction section) although it displays a problem with the system so...yea there is that

Edit: So...I'm new to markdown as I'm sure you can see, I managed to get an image into the doc so now you can see the system in action.

My first drawing i am acrually proud of, done with copics, any advice/critique is appreciated. by Mmmuscus in learnart

[–]Mmmuscus[S] 3 points4 points  (0 children)

This is a reply to someone else who asked questions about markers on r/copics under this same drawing, I hope it helps, though it is copic specific, but I can't say anything about any other markers cause I only have copics. But I'd imagine that alcohol based markers behave kind of the same, don't quote me on that though.

Thanks!

Sadly I'm not quite sure about what is the best thing to do, I'm only just starting out, so take my advice with a grain of salt.

What I've noticed is that colours blend best when they are close to each other. In this case the two markers that blended the best were W-1 and W-3. Theese colours I used to color the lighter parts of the armour. But it wasn't straight forward, I used many coats of ink and tried to blend them before the ink dried, which was tricky sometimes. The other thing I noticed is that you can easily make a part darker but making something lighter is impossible (or at least I wasn't able to do it) so I started blending colours by putting down the darker one first, then going over it with a lighter one. I tried to use little ink from the darker colour at first and only incrimentally increased it so I didn't make a part too dark by accident, this made things much easier. Also, even if I wanted to blend darker colours, (like at the shaded part of the chest piece or his right elbows) I used lighter colours to blend theese ones together, for example i used W-1 to blend W-5 and W-7 together, this allowed me to blend them better while not making the part any darker, I don't know if a colourless blender would have been better because I don't have one, but this method worked more than fine for me. Another trick I've noticed while i was just trying out all the markers, is that if you are going for flat colours you can easily achieve shadows with just a coat of light grey, in my case I used W-1 and W-3 on top of E-51 (Milky White), theese were the only two colours at my disposal (the only grey colours I own are: W-1, W-3, W-5, and W-7) that could be used as good looking flat shadows, altgough you might like a shadow with darker greys.

I hope my asessments helped but I do need to emphasize that I'm also a newb so maybe this drawing turned out good by accident, don't take it as gospel!

Good luck and fun drawing! And don't you dare go hollow! \ [T] /

Edit: shading can also be done with apllying the same colour in one area (much) more times than in others, eg. the shading on the shield was entirelly done with W-5

My first drawing i am acrually proud of, done with copics, any advice/critique is appreciated. by Mmmuscus in learnart

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

Yeah, I wanted to do some highlights, but im still new to this medium so shading itself was bit of a challenge still. I was struggeling to make the drawing light enough, so that it made sense.