Тёмный
AJTech
AJTech
AJTech
Подписаться
Hey I'm Ajay, on this channel I focus on game development with Unity 3D and C# and teaching you how to build games for yourself.
Optimizing our Realtime Fluid Simulation in Unity
11:27
11 месяцев назад
Advanced Pathfinding w/ Unity
41:25
7 лет назад
Advanced AI in Unity #1
8:54
8 лет назад
Stealth Game w/ Unity - Part 3
18:49
8 лет назад
Stealth Game w/ Unity - Part 2
30:19
8 лет назад
Stealth Game w/ Unity - Part 1
27:00
8 лет назад
Unity FPS Series #1 - Gun Scope
11:19
8 лет назад
Комментарии
@Smash_ter
@Smash_ter 10 дней назад
Like the vid, but what theme are you using in your vscode?
@camsterdragon
@camsterdragon 21 день назад
Just got into your videos after watching parts one and part two of this series. Your explanations at the beginning are very helpful, and the code is laid out in an easy-to-read way and seems really adaptable, which is amazing. Very impressed
@batchprogrammer108
@batchprogrammer108 21 день назад
Thanks that means a lot! :D
@sonjaarnhold5094
@sonjaarnhold5094 Месяц назад
Unity tells me I cant use "new" as a keyword in the FillPopulationWithRandomValues() funktion in this line: newpopulation[StartingIndex] = new NNet();. Can anyone help please?
@Sinan97082
@Sinan97082 2 месяца назад
Hi, I saw your post in reddit about an reliable input recorder (unity) and that you were about to create a tutorial. Sadly I didn´t see one on your channel. Do you consider to do one, it really would help me with my final exam :)))
@ZombieFartDev
@ZombieFartDev 2 месяца назад
vitch liar
@Salvadorioo
@Salvadorioo 3 месяца назад
Thank you for this course. Are you still in game dev ?
@tahaqazi376
@tahaqazi376 4 месяца назад
How we can enable this fluid to flow? actually i am working on a project "Fluid dynamics Experiment demonstration" where I am trying to create a environment where we can simulate fluid dynamics experiments like demonstration pf "water turbulence" or "Calculation of fluid flow". for that I need a realistic fluid simulation something similar to this video. Is there someone who can help me with this and guide me?
@shawnhoareau7137
@shawnhoareau7137 4 месяца назад
Is the fluid ray marching script responsible for making the particles look like water?
@shawnhoareau7137
@shawnhoareau7137 4 месяца назад
Hi does this work with URP?
@benjamindameworth5351
@benjamindameworth5351 4 месяца назад
I downloaded the base project and it doesn't work in the sample scene
@mateusdsp6871
@mateusdsp6871 4 месяца назад
:D Jesus is coming back, God bless!
@mateusdsp6871
@mateusdsp6871 4 месяца назад
Good! :D Jesus is coming back, God bless!
@mateusdsp6871
@mateusdsp6871 5 месяцев назад
Good!!!! :D Jesus is coming back folks, God bless you all!
@petermaltzoff1684
@petermaltzoff1684 5 месяцев назад
Fascinating video! I'd love to see more in this series.
@cloudlessrain9905
@cloudlessrain9905 5 месяцев назад
Is there a way to make the grass blade more bendy (less stiff)?
@glitchdev
@glitchdev 4 месяца назад
Did you get it working in Unity 2021 or higher?
@robinferizi9073
@robinferizi9073 5 месяцев назад
Bro, I just rediscovered your channel after such a long time, you are so much older now bro, and it's good to see you've stuck around
@mohammedelwardighi9426
@mohammedelwardighi9426 6 месяцев назад
❤ yeah bro can you make a tutorial for that
@brightbluesmurf
@brightbluesmurf 6 месяцев назад
Cool video gets straight to the point.
@dhruvacuber
@dhruvacuber 6 месяцев назад
wow tf
@icantdrawhandss
@icantdrawhandss 6 месяцев назад
you showed me this!! its so cool i love it :)
@OmerCemOzdemir
@OmerCemOzdemir 7 месяцев назад
i watched the video it was really good
@petarnedeljkovic6507
@petarnedeljkovic6507 7 месяцев назад
Hi AJ, I am very glad how far you have come and working with ThomasBrush! Are you still planning to release on the unity asset store FPS controller?
@erfanzandi1362
@erfanzandi1362 7 месяцев назад
Great Video thankx
@iaxsgames6029
@iaxsgames6029 7 месяцев назад
@batchprogrammer108 Ok, I am sorry for asking you on this video but on your nerual network video, is it possible so the "AI" gets a reward if it copleates it the track and if it goes around the track faster it gets a bigger award?
@iaxsgames6029
@iaxsgames6029 7 месяцев назад
@batchprogrammer108 I finished the build but is it possible so it gets a reward if it copleates it and if it goes around the track faster it gets a bigger award?
@kadircalloglu2848
@kadircalloglu2848 7 месяцев назад
I am thinking of creating a game in the style of Royal match, essentially a match-3 game. I would like to incorporate a fluid structure in some levels to navigate through the board. Can I use this system, or do I need to use a different structure?
@batchprogrammer108
@batchprogrammer108 7 месяцев назад
Hey! I think SPH might be overkill for what you're trying to do, here's another one of my GitHub repositories which is using a simpler version of fluid simulations which just uses the Navier Stokes equation, it's a lot more efficient and can be run on bigger grids github.com/AJTech2002/Realtime-Fluid-Simulation This is the paper I referenced for that repo: graphics.cs.cmu.edu/nsp/course/15-464/Fall09/papers/StamFluidforGames.pdf Hope this helps!
@kadircalloglu2848
@kadircalloglu2848 7 месяцев назад
Thanks so much for sharing with me @@batchprogrammer108
@ragerungames
@ragerungames 9 месяцев назад
No udemy course? 😅
@angiemon897
@angiemon897 9 месяцев назад
This looks so amazing!!!!! :) I'm an artist dumdum, but can this be used in an "actual" game (with toon graphics, so can be way tweaked down)?
@batchprogrammer108
@batchprogrammer108 9 месяцев назад
Absolutely! On my GitHub I actually have a branch where I turned the water into lego pieces for fun and it was much cheaper to render as well. Would love to see what you do with it, so please leave a comment with some examples if you end up using it :D
@alejandrosainzmartinez9548
@alejandrosainzmartinez9548 10 месяцев назад
Hi! I have an URP project and i don't know how can i adapt the shaders in the project to work properly. I tried to upgrade the shaders but apparently this can't be done in custom shaders. Can someone tell me where can i learn to do this? Or if someone can provide an URP version of the shaders it would be very helpful.
@simpilot001
@simpilot001 10 месяцев назад
This is great for real time, even if it isn’t the most accurate it probably looks pretty good too
@monotone5402
@monotone5402 10 месяцев назад
very nice
@konka1906
@konka1906 11 месяцев назад
really great video quality
@Yusuf_AGAC
@Yusuf_AGAC Год назад
I wish I had seen this channel earlier.
@user-px5pj7ux5k
@user-px5pj7ux5k Год назад
Very nice Sir!Please make also a fluid grid simulation tutorial, not a particles but just vector arrows.😊
@thewarhelm
@thewarhelm Год назад
Another optimization you could try is creating a 3D dispatch size and thread group and use shared memory. This way all threads would access data from shared memory rather than global memory and improve memory bandwidth. You might need to play around with the thread group size to get better performance.
@_yuri_n
@_yuri_n Год назад
Finally,We See the great Video
@valk1521
@valk1521 Год назад
This is some top tier business sir, you are doing gods work. Please please please make the screen space shader!
@thedynoxx
@thedynoxx Год назад
Can you run the simulation with Unity DOTS?
@batchprogrammer108
@batchprogrammer108 Год назад
You can but something like this would run much faster on a compute shader, especially since in future you'll need to take this data to the GPU so that you can render it to look like actual water. Since this is already on the GPU it will be much more performant :)
@FWpapo
@FWpapo Год назад
how the frick ppl do this? im trying to make game and its hard and here AJ makes this xd I feel really stupid :D
@pureay2700
@pureay2700 Год назад
A lot of us game devs who like making super good niche things typically spend an outrageous amount of time on just one thing you know. Like I've been making a voxel engine for my game forever
@batchprogrammer108
@batchprogrammer108 Год назад
Don't put yourself down man! I spent months researching and getting my head around this, I felt really dumb because I couldn't understand it for ages, it's just a niche topic but making a whole game is much harder. Good luck on your game 😁
@masteryoyo1510
@masteryoyo1510 Год назад
first!!! and thanks for tutorials mate!!!
@batchprogrammer108
@batchprogrammer108 Год назад
Hey everyone hope you enjoyed this follow-up video on fluid simulations, if you have any questions or comments leave them down below. If you're interested in another part to this series let me know as well!
@ahmedsalih2308
@ahmedsalih2308 8 месяцев назад
I would be interested in a Part 3! Especially the neighbour searching approach.
@grayliar147
@grayliar147 6 месяцев назад
Me too ​@@ahmedsalih2308
@user-px5pj7ux5k
@user-px5pj7ux5k Год назад
how did distance times mass become density?
@monishdhayalan2552
@monishdhayalan2552 Год назад
cant open you channel man, it says channel page is missing
@icantdrawhandss
@icantdrawhandss 11 месяцев назад
…but then how did you comment 🫣
@monishdhayalan2552
@monishdhayalan2552 11 месяцев назад
@@icantdrawhandss just got this video on my recommendtions, I wanted to see the other videos but still cant able to see them
@icantdrawhandss
@icantdrawhandss 11 месяцев назад
@@monishdhayalan2552 ohhhh yeah right
@_yuri_n
@_yuri_n Год назад
Thanks , I really learned a lot from your video,Looking forward to your next video
@batchprogrammer108
@batchprogrammer108 Год назад
Thanks, currently editing the optimization video :)
@pawartrader
@pawartrader Год назад
The King is Back.
@batchprogrammer108
@batchprogrammer108 Год назад
much love bro <3
@icantdrawhandss
@icantdrawhandss Год назад
i have not wondered how to make a real time fluid simulation but you seem like a very nice guy so i shall check out your video!
@selimgonen
@selimgonen Год назад
Very nice. Please create an optimization and shader video as well!
@batchprogrammer108
@batchprogrammer108 Год назад
I've added optimization into the GitHub on this branch (github.com/AJTech2002/Smoothed-Particle-Hydrodynamics/tree/feat/optimization) incase you're interested, currently working on the video :)
@selimgonen
@selimgonen Год назад
@@batchprogrammer108 glad to hear :)
@batchprogrammer108
@batchprogrammer108 Год назад
As promised - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-9M72KrGhYuE.html
@selimgonen
@selimgonen Год назад
@@batchprogrammer108 cool, added to my watchlist :)
@bike_n_fish
@bike_n_fish Год назад
Hey, thanks for this tutorial that was insane ! 11:36 nazi pro tip : if particleMass is constant, then 1f / particleMass is a constant too force * (1f / particleMass) will be faster to compute :P
@batchprogrammer108
@batchprogrammer108 Год назад
True! I'll keep it in mind next time 🤙
@batchprogrammer108
@batchprogrammer108 Год назад
Checkout the full-length tutorial here : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zbBwKMRyavE.html
@user-mj3ll9hv6r
@user-mj3ll9hv6r Год назад
OMG, extremely useful video. Please make a new one about optimization
@batchprogrammer108
@batchprogrammer108 Год назад
Will do!
@user-mj3ll9hv6r
@user-mj3ll9hv6r Год назад
@@batchprogrammer108 I m really interested about building bvh trees for optimization using gpu.