Тёмный

How to Avoid Object Intersection | Blender Geometry Nodes Tutorial 

Kenan Proffitt
Подписаться 36 тыс.
Просмотров 37 тыс.
50% 1

In this Blender tutorial I break down the RayCast Node in a Geometry Nodes network. The RayCast node can be used for multiple things, including telling Blender to avoid objects on the ground plane where we want to grow grass.
Download the Foliage Pack: www.motionblen...
Facebook: / motionblendstudio
My Website: www.motionblen...

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 80   
@SpencerMagnusson
@SpencerMagnusson 2 года назад
Great implementation of the Raycast node! Love seeing more people experimenting with it and coming up with good solutions. One tip I'll mention is that the "Ray Length" property for the raycast node can be shortened, not just to accidentally hit hovering objects that may not count as an intersection, but it can also drastically improve performance when colliding with more or more complex objects. The performance hit is minimal with smaller meshes like this, but may be helpful for big scenes. This is coming from someone who's used the Python equivalent of the Raycast in Blender for an add-on and learned that the hard way :) cheers
@KenanProffitt
@KenanProffitt 2 года назад
Good tip!
@gordonbrinkmann
@gordonbrinkmann Год назад
Great basic tutorial on the Raycast node. Just a quick tip, when you hoped the points would be visible enough in the video, there is a Set Point Radius node which could make them larger and much easier to see in the video. Setting the sphere to wireframe or bounding box while leaving the viewport in Solid mode would have also helped and saved you always switching between modes.
@contentwh0re
@contentwh0re 2 года назад
i must have done something wrong. using blender 3.2.2 and all points disappear when i add the raycast, when i add the NOT bool, all points show even in the sphere? :(
@contentwh0re
@contentwh0re 2 года назад
nvm i figured it out. the plane needs to be subdivided a bunch as all those vertices on the plane are where the actual rays fire from. I was just using a plane with 4 vertices. hope this helps someone.
@KenanProffitt
@KenanProffitt 2 года назад
Glad you figured that out! And yes thanks for sharing. I should have mentioned that tip in the video. 😅 best of luck to you!
@daimonxart8253
@daimonxart8253 6 месяцев назад
@@contentwh0re Gd, you sabed me, for ome reason i couldt make it work, thank you so much for your comment!
@yuroomsusa
@yuroomsusa 4 месяца назад
Thank you. I had the same question and you answered it!
@AnthonyAragues
@AnthonyAragues Год назад
thanks for this. I keep finding new uses for this node. Still have the big open question I came here for. If I instance on points, I want its instances to avoid colliding with each other. so far I managed to create some circular logic that errors :)
@Boipelo
@Boipelo Год назад
On your point distribution node, change the distribution method from "Random" to "Poisson Disk" using the drop down arrow. You can then adjust the "Distance min" value to your liking.
@AnthonyAragues
@AnthonyAragues Год назад
@@Boipelo thanks, I was aware of that and it only works with the max size in a collection, not great with varying sizes
@kazes
@kazes 2 года назад
This is super cool and usefull for my project which is generate old stone houses. The wall ares mades with stones not the same sizes and shapes and no mortar, so I wanted them to scatter on wall faces but not overlap. Thanks!
@KenanProffitt
@KenanProffitt 2 года назад
Sounds cool! I'd love to see that when you finish it. Thanks for leaving a comment!
@nswij123
@nswij123 Год назад
This is exactly what I was looking for! Thanks!
@KenanProffitt
@KenanProffitt Год назад
Glad I could help! Thanks for watching!
@RefaeiWork
@RefaeiWork Год назад
Great tutorial
@KenanProffitt
@KenanProffitt Год назад
Thanks Rafaei!
@dyingeveryseconds396
@dyingeveryseconds396 2 года назад
Awesome!!!!!!
@KenanProffitt
@KenanProffitt 2 года назад
Thanks for watching! 😎
@phalhappy8612
@phalhappy8612 Год назад
How can I use image texture to mask point instancing in Geometry node? I have digital elevation terrain with image texture. I want to instance trees on the green channel of texture. I already isolate the Green Channel in photoshop and make it black and white as a mask. Now I don't know how to instance trees on that terrain base on texture mask. Hope that explain my problem.
@Mr-dk1dh
@Mr-dk1dh 3 месяца назад
This didnt work for me at first, make sure your ground plane hase enough geometry
@samuelsantos
@samuelsantos 2 года назад
Nice one! I just noticed it's possible to use "Set Position" just after the "Object Info" to slightly scale the rock's vertices in its normal directions just in the context of "RayCast". This way you can have an even better behavior preventing intersections. Just plug "Normal" -> "Scale (vector)" - > "Set Position (Offset)".
@KenanProffitt
@KenanProffitt 2 года назад
Great tip! Thank you! :)
@paulopma
@paulopma Год назад
Hello. In this case you avoid collision of two different collections. I tried avoiding collision within the same collection but couldn't make it, is it possible? I'm new to Blender, thx for your videos.
@KenanProffitt
@KenanProffitt Год назад
Hey Paulo, have you tried feeding your collection node into a "realize instance" node then taking that into the raycast node? 11:50 of this video might help...
@cr4723
@cr4723 5 месяцев назад
@@KenanProffitt He means avoiding collision within the SAME collection. That does not work.
@DamianPatkowski
@DamianPatkowski Год назад
Is there a way to create a pile of rocks so I'll have a collection of big rocks, 2nd collection of middle ones, and 3rd of small and these objects inside the collections will not intersect each other? I wonder of is there an option to randomly create a pile of rocks where big ones are in the center, middle around, and smaller ones in small holes or outside.
@wildguardian
@wildguardian Год назад
Is there a way to use this in order to make every geometric shape randomly distributed into the instance points not to touch itself? "distance min" isn't good enought.. either too distant or then it clips elements when distance is setted as too close
@kazes
@kazes 2 года назад
I just discovered the Proximity Geometry node and I was wondering if we could achieve the same effect with it?
@pcforgaming3772
@pcforgaming3772 2 года назад
Now blender is becoming more powerful compared to houdini, Maya, 3dx, cenema4d
@RealGaryGibson
@RealGaryGibson 9 месяцев назад
FINALLY someone explains raycast in a way that I can understand it. Thank you soooo much!
@KenanProffitt
@KenanProffitt 9 месяцев назад
You’re welcome! So glad it’s helpful!
@mubzy4706
@mubzy4706 3 месяца назад
my points are massive ~~ for some reason????????
@KenanProffitt
@KenanProffitt 3 месяца назад
Hey! you might need to apply the scale on your object. "Ctrl-A + apply scale" that should bring the points down to the correct scale
@abandonedcranium6592
@abandonedcranium6592 3 месяца назад
Very helpful video, although I still can't figure out something. This video demonstrates how to prevent an object from clipping into another object. I'm using "distribute points on faces" to place leaves on a tree. How do I prevent the leaves from clipping into themselves?
@alperenozgur
@alperenozgur Год назад
what about self-intersection?
@KenanProffitt
@KenanProffitt Год назад
ah yeah, still workin on that one!
@Mr_Steve3D
@Mr_Steve3D Год назад
Awesome, thanks. You can also get rid of all clipping by adding a scale elements node just before you realize :) It is the cheat method to get proximity!!!
@KenanProffitt
@KenanProffitt Год назад
Hey good tip. Thanks!
@_casg
@_casg 8 месяцев назад
bro what if i wanna distribute on volume? how can I make my particles no touch from my collection object instances
@SkinnyBlackout
@SkinnyBlackout 2 года назад
Today I learned how to get rid of penetration.
@sebastianosewolf2367
@sebastianosewolf2367 Год назад
why you jdont just added an object for the points before ? instead of "i hope you can see this little tiny gray on gray points ?
@iraisynn.attinom
@iraisynn.attinom 2 года назад
very nice! thanks! will implement it in my addon (ia scatter) asap. also, connecting a normal node to the ray direction input makes sense for both horizontal and vertical surfaces
@KenanProffitt
@KenanProffitt 2 года назад
Awesome thanks for watching! And yes, good tip!
@DavidWinstead
@DavidWinstead Год назад
Wow, that's very useful man, thanks for sharing your demonstration!
@KenanProffitt
@KenanProffitt Год назад
Thanks, David! :)
@andallicansayis
@andallicansayis Год назад
4:50 :D
@KenanProffitt
@KenanProffitt Год назад
😜
@RamiLovesFortnite
@RamiLovesFortnite 2 года назад
Dear Kenan, thank you for sharing this amazing tool! is there anyway to prevent the grass from overlapping each others using ray cast?
@KenanProffitt
@KenanProffitt 2 года назад
Hey there! it all depends on how close together the assets are and how big the overlap of the grass is. The raycast controls where the point of origin they are grown out of is located. So if you adjust that enough the grass won't intersect at all. Kind of depends on the assets. :) Hope that helps....
@atekdigital
@atekdigital Год назад
Great video will this work with particles or scatter object overlapping each other or is there any option. Thanks for the video
@KenanProffitt
@KenanProffitt Год назад
It should help with avoiding collision with existing scattered objects. Hope it helps!
@OfficiallyOToole
@OfficiallyOToole 2 года назад
Are you from Nebraska? You seem really Nebraskan
@KenanProffitt
@KenanProffitt 2 года назад
Haha nope. Texan. Nebraskan's seem cool though ;)
@deepthoughtsradio
@deepthoughtsradio 6 месяцев назад
Great video. Ty!
@KenanProffitt
@KenanProffitt 6 месяцев назад
Glad you enjoyed it! Thanks for watching!
@VisualistAyush07
@VisualistAyush07 2 года назад
Thanks man
@KenanProffitt
@KenanProffitt 2 года назад
You’re welcome! :) hope it was helpful
@_editdude_
@_editdude_ Год назад
Hi it's not working in blender 3.3.1 why?
@KenanProffitt
@KenanProffitt Год назад
The node isn't working?
@irismuddyhehe
@irismuddyhehe Год назад
thank you very much!!
@KenanProffitt
@KenanProffitt Год назад
You're welcome!
@aidelank
@aidelank Год назад
what if my rocks are colliding with each other and I want to avoid self-intersections?
@arinarici
@arinarici Год назад
can we do same thing with geometry proximity for instance - with a line ?
@KenanProffitt
@KenanProffitt Год назад
Hey Arin! I haven't done much experimenting yet but yes it looks like you can!
@syidm7840
@syidm7840 10 месяцев назад
Hey, great tutorial! Just a quick question, why did you use realize instance node?
@stephanepolin8981
@stephanepolin8981 2 года назад
Thx a lot, very good and simple tuto for GN raycast
@KenanProffitt
@KenanProffitt 2 года назад
Glad to hear it! and thanks for watching. :)
@GGeneBrush
@GGeneBrush Год назад
Very useful.
@KenanProffitt
@KenanProffitt Год назад
Glad it was helpful!
@SanOcelotl
@SanOcelotl Год назад
How do you give a falloff to this? so the closer the grass is to the geometry the less dense it is, is it possible with this node?
@cl0msy
@cl0msy Год назад
i followed exactly what he did and it did not work in 3.4
@Pkg_gaming2847
@Pkg_gaming2847 2 года назад
Bro after year?
@KenanProffitt
@KenanProffitt 2 года назад
After a year! 😅
@dyingeveryseconds396
@dyingeveryseconds396 2 года назад
Great comeback!!
@Micthebear1
@Micthebear1 2 года назад
What the sus it has been a year!
@KenanProffitt
@KenanProffitt 2 года назад
Haha yes... I’m back!
@waltage
@waltage Год назад
now it's work different
@waltage
@waltage Год назад
calculation not accurate
@MrAsavich
@MrAsavich 5 месяцев назад
Awesome!
Далее
Make Dynamic Blender Puddles in 1 Minute! #shorts
1:01
Blender Geometry Nodes - Raycast to Surface
12:42
Просмотров 13 тыс.
Новый вид животных Supertype
00:59
Просмотров 201 тыс.
Трудности СГОРЕВШЕЙ BMW M4!
49:41
Просмотров 1,5 млн
How Ian Hubert Hacked VFX (and you can too!)
22:26
Просмотров 229 тыс.
Filling Objects is Easy Now (Blender Tutorial)
12:42
Просмотров 69 тыс.
Grasswald Now Free For Everyone!
8:40
Просмотров 57 тыс.
How I made this battle scene in blender
11:05
Просмотров 573 тыс.
How Games Have Worked for 30 Years to Do Less Work
23:40
All 54 Modifiers in Blender Explained in 10 Minutes
11:31
Make STYLIZED GRASS using GEOMETRY NODES in Blender
16:18
I Built the Pyramids in LEGO!
16:08
Просмотров 375 тыс.
Новый вид животных Supertype
00:59
Просмотров 201 тыс.