cinera_handmade.network/cmuratori/hero/code/code155.hmml

60 lines
4.9 KiB
Plaintext

[video output=day155 member=cmuratori stream_platform=twitch stream_username=handmade_hero project=code title="Introduction to Particle Systems" vod_platform=youtube id=G6OGKP3MaUI annotator=ZedZull annotator=debiatan]
[00:00:24][Recap]
[00:00:49][Three possible subjects for today's stream]
[00:04:43][Let's do particle systems!]
[00:06:25][Introduction to particle systems (blackboard)]
[00:09:27][Particle systems are used to represent objects with no specific shape]
[00:11:55][Emitters and particle behavior]
[00:13:55][On the shape of particles]
[00:14:39][Overview of simple particle system implementation]
[00:16:59][The particle struct]
[00:19:20][Writing the particle system test loop]
[00:20:10][Rendering and then simulating VS simulating and then rendering]
[00:22:12][Rendering particles]
[00:25:04][Simulating particles]
[00:26:02][Particle placement]
[00:28:59][Inspecting the simulation and drawing of the particle system]
[00:29:28][Drawing particles using the shadow asset]
[00:32:56][The hero is now the emitter]
[00:38:58][Changing colors]
[00:43:54][Introducing randomness into the velocities of particles]
[00:44:20][Using a new random series just for effects]
[00:47:05][Tweaking the velocities]
[00:49:23][Fun selecting different sprites]
[00:50:12][Color randomization]
[00:53:53][A more explicit way of ramping colors up and down]
[01:00:59][Q&A][:speech]
[01:01:34][@naysayer88][For a while I have felt that interpolating particles in RGB leads to results that are dull and muddy. I have been wanting to try YCrCb or maybe even LAB sometime. I guess you can compensate via splines through RGB but I think you'd be doing a lot of tweaky work all the time to get better results (even though YCrCb is just a linear transformation, I think there's a substantial amount of skew.)]
[01:03:09][@rohit_n][Will particle pre-warming be supported?]
[01:04:23][@effect0r][When you were messing with the z direction, it seems kind of like a puddle on the ground]
[01:04:35][@garryjohanson][Ever messed with using some kind of a stateless system of doing this? Like one function parameterized by another function?]
[01:05:05][@noxy_key][Is rain a particle system?]
[01:05:13][@jameswidman][I wonder if head particles like this could be used in the game... for example as an effect of magic related to disguises. Like, when you dissolve the disguise of the Superfish]
[01:05:32][@naysayer88][Witness is RGB and probably too late to change, but we don't rely on wowee particles much]
[01:06:29][@thesizik][Z still points towards the screen]
[01:07:02][@kknewkles][Does anyone ever use layers? Or just Z-sorting?]
[01:07:18][@smellyapples1][At what time does Handmade Hero stream? I saw this on the front page and it seems interesting]
[01:07:57][@naysayer88][Maybe for the Galaga game I will switch to HSV...]
[01:08:30][@devilinar][Will these videos help someone learn C and C++ who has absolutely no experience?]
[01:10:36][@hitmanatee][Have you, or will you explain how shaders work?]
[01:11:04][@ingenero][Will these particles be able to react to things like impacts?]
[01:11:44][@kknewkles][How many particles at the moment?]
[01:11:58][@kknewkles][How many particles till we see a noticeable slowdown?]
[01:14:00][@shreddersherlock][Are you using Emacs outside of Visual Studio or inside of it?]
[01:14:10][@an0nymal][When do you plan on implementing a way to adjust the position of the individual particles when the entities move?]
[01:15:02][@cortexoverride][What made you pick C++ over C#?]
[01:15:55][@breadthofhair][What parameters will you tweak with curves? Scale, position, color, rotation, external forces, etc. Will the curves depend on time only?]
[01:17:16][@mruno_bars][How many times have you said "right" in this broadcast?]
[01:17:50][@kknewkles][Is your .emacs config open source?]
[01:18:05][@childz][Can you explain what procedural level generation is? Are there other types of generation, and if so what are the differences?]
[01:18:54][@garryjohanson][What do you think about using Unity as a platform layer and using all your own logic?]
[01:19:57][@kknewkles][Why do you pronounce "nightmare" as "night mirror"?]
[01:20:07][@caiustsm][Do you have someone making the game assets for you or are they self made?]
[01:20:17][@hitmanatee][Will you be making development tools for Handmade hero, like a map editor?]
[01:20:33][@kknewkles][(Referring to Q at 1:17:50) I mean is your config *public domain*? Can I give it to someone who'd like to get started with Emacs? I myself preordered ages ago, best 15$ expenditure of my life. NO CONTEST. <3]
[01:20:56][@garryjohanson][(Referring to Q at 1:18:54) You can use DLLs. I have done this!! Much using rust, fyi]
[01:21:55][@kknewkles][You went from two-k on my name to zero-k. A single one would be appreciated ;D]
[01:22:32][@henco7][I mean the particular flow or direction is now from bottom up. Feels like its not hard to do left to right for example]
[01:24:02][@d7samurai][I think it's like GNOOKLES, but with a K sound instead of G]
[/video]