you can just use the camera culling setting in the Render properties Instead of using a geometric node: in the simplify section turn on "camera culling". And then you can enable or disable culling for each object in the scene with the "use camera cull" in the Object tab for more control.
@Zev_Reef
11 ай бұрын
Didnt even realize Simplify section had that, I never used simplify caus I thought it was just subdivion control
@infectioussneeze9099
11 ай бұрын
Cgmatter has left the chat...
@BlenderDaily
11 ай бұрын
wow! good to know, thanks!
@TheRumpletiltskin
11 ай бұрын
doesn't that completely destroy any reflections though? Like, if you have metallic items in the scene they won't have anything behind the camera to reflect.
@johanavril1691
11 ай бұрын
@@TheRumpletiltskin you can manually turn off the culling for the objects that will be visible in reflections but thats about it
@akre54
11 ай бұрын
This is cool but it's just frustum culling. You can turn it on in Render > Simplify > Camera Culling (or Distance Culling). I'd love to see an occlusion culling tutorial, since that isn't built into the software
@ri-gor
11 ай бұрын
I was going to say, I'm really surprised that blender wouldn't do frustrum calling by default... I guess it somewhat makes sense if you're using ray tracing on a scene with a bunch of shiny objects - you don't want things behind the camera to not render at all - but if you're not that concerned about realistic reflections from behind the camera it's kind of whatever. I can see some value in this method, but it's fairly niche and I would assume is exactly what frustrum calling does by default behind the scenes.
@Achelon
11 ай бұрын
@@ri-gor I just feel that if you want something like that, one could just use Eevee
@ri-gor
11 ай бұрын
@@Achelon in most cases, yeah. It might be a good one if you're doing a large space scene where there isn't much behind the camera anyway though. It was still allow ship and HDR reflections and have realistic nearby lighting for asteroids, but less detailed lighting from asteroids that may have passed behind the camera. Like I said, very very niche, but I could see some applications... Even in that example there are quite a few problems, but I am a total amateur in anything related to 3D rendering, so I will definitely defer to someone with more experience lol
@digital0785
11 ай бұрын
@@Achelonya with ssgi
@phizc
11 ай бұрын
@@ri-gorYou could also have objects outside the frustum that can cast shadows into the field of view, so frustum culling isn't safe to have on by default. It can be worked around by having a shadow pass with "all" objects enabled, I presume, but it's still too aggressive to have on by default.
@Eric-ue5mm
11 ай бұрын
This is.... Camera culling. You find that under "Render->Simplify->Culling"
@eternalgamer496
11 ай бұрын
I just got into college and was learning about vectors, at first it didn't appear that interesting but seeing you fix real life problems with it motivated me a lot to learn more about vectors.
@_S_P_A_C_E_M_A_N_
11 ай бұрын
Geometry nodes really made me appreciate all of the math and physics I did in highschool and college
@AHSEN.
11 ай бұрын
@@_S_P_A_C_E_M_A_N_ Typical story. Pretty much every subject you'll discover is way more fun and interesting when you're using it voluntarily, outside of school 😆
@sinom
11 ай бұрын
This is basically view space culling. While this is a great idea in rendering, in ray-traced applications like blender it will cause artifacting. Here it's usually a better idea to instead improve the sampling heuristics.
@elliotmarks06
11 ай бұрын
The only problem is the lack of lighting (cast shadows, reflections, etc.) from the deleted geometry
@jmh3d
3 ай бұрын
The fastest most concise version of the culling from what I've seen. Being able to tweak which aspect of the geometry is deleted in addition to easily focusing the culling cone makes this very powerful and useful. Thanks again!
@Purpbatboi
11 ай бұрын
You mean the most simple optimization trick in history of computer graphics?
@SuperSuperka
11 ай бұрын
most useless - defently.
@Purpbatboi
11 ай бұрын
@@SuperSuperka Its not useless its just that its basically the thing you SHOULD know and should be doing in the first place on Cycles there's a fancy setting while for eevee you need to setup a Geometry Node system
@alexvith
11 ай бұрын
I think the real value of this technique is easing the toll on the Workbench render engine, i.e the viewport render engine that struggles when there's lots of polygons in the scene. The issue, though, is that it becomes a pain in the ass to move the camera if you are doing culling on a lot of objects, because if has to recalculate everything with each transform you make.
@zyugyzarc
11 ай бұрын
bro invented frustum culling in geo nodes 💀
@SuperSuperka
11 ай бұрын
This method works only for these kind of super-simple scenes. For real-life scenes it just non-sence.
@mustafakhaled92
11 ай бұрын
man, you just make blender harder to learn every day! :D, I'm ok with the 16 sec
@True-VFX
11 ай бұрын
This doesn’t work for instances in cycles. So culling won’t make your renders faster if you’re camera culling anything scattered because an instance is only calculated once anyway. So this only works on culling objects which means you either need to have one massive object like yours (unlikely for the average user) or have the modifier on every object in a scene to get any value from this which at that point you may as well use the culling in the simplify tab because it’s quicker than putting a modifier on hundreds of asset and does the same thing. Also to caveat. If you’re using cycles then you’ve just destroyed any off camera bounce lighting so reflections will be wrong and global illumination will be wrong. May not be an issue in a still image but will be visible light artefacts in an animation so it’s useless for that, and if you’re working a still image only you may as well just not place objects outside of the camera view as this will optimise your viewport and renders as you work and is less work in the long run. A better way to optimise would be having off-camera decimation and texture lods so you can reduce geometry in the scene and reduce the amount of ram being used on textures so you’ll still get all your global illumination but now you’re not calculating high geo counts off camera. Decimation could be done in geo-nodes but you’d need a script to handle texture lods.
@KaidenBird
11 ай бұрын
Could you instead remove certain vertices? To keep reflections and stuff, instead of getting rid of it, potentially stopping some sort of light bouncing?
@moritz7214
11 ай бұрын
I thought of that too, I would create a new layer and render the reflections, in that new layer, with the backgound. For example, if you render a bathroom with a mirror in the center of the picture, you can "esaly" render it out and compose it together.
@TobiasLeanderOfficial
11 ай бұрын
U can use the same technique but with subdivision, so u have a low poly scene and anything in view gets subdivided.
@sander-wit
11 ай бұрын
Perhaps you could decimate all verts outside the view to lower the vert count but keep the rest for shadows and reflections, but I wonder if this solution is feasible with a complete scene with multiple objects and collections instead of a single mesh.
@robostep9829
11 ай бұрын
Applying gamedev tricks to blender renders day 532
@SongStudios
11 ай бұрын
This is really cool, but unfortunately it doesnt work with reflections. Is there a way to make it work with that?
@sutsuj6437
11 ай бұрын
No. The only thing you could do is disable culling for that object.
@Eric-ue5mm
11 ай бұрын
Probably not really, you could use alt+D instead of shift+D on individual objects to not copy them but reference them.
@baseult116
11 ай бұрын
Basically just using a world to screen function to not render anything outside of camera... Cool but nothing new
@mixerbrush7839
11 ай бұрын
For those who don't get whats happening. Remember you are not alone.
@lemonhscott7667
11 ай бұрын
Ooo this could be a cool idea for like a flashlight
@Heavenira
11 ай бұрын
damn you knew this video title was gonna be contentious didn't you 🤣 great tutorial
@bryangrunauer
11 ай бұрын
- teacher, when will i ever use this algebra BS in the real world? - well camera culling
@thalisgrey
11 ай бұрын
More questions than answers.
@tartyto
11 ай бұрын
I thought blender has this from default. Thanks for the tutorial!
@ejcy3101
11 ай бұрын
Viewport culling with geometry nodes, awesome. How does this compare to culling addons?
@jonathan6296
11 ай бұрын
WoW! Dude! You just discovered a ... wheel! But seriously, do an interior scene and see how this "technique" works ...
@tehf00n
11 ай бұрын
Dot Product is one of the handiest things in game development.
@vco7285
11 ай бұрын
I have my correction exam in maths soon and I'll have one problem about spherical coordinate system and I need to know what function can make a cone or a sphere n all that. Funny to see it in use after learning. Great video, thanks!
@Maarten-Nauta
11 ай бұрын
In an actual scene where you have more than 1 single geonode setup how would this be feasible. I have 5K objects in an avg archviz scene. And camera culling my scatter layers takes a fair amount of time when the render is still initializing. I just don't think this scene is a good representation of an avg blend project that needs optimization.
@vlodgoral8258
4 ай бұрын
it works but massively slows down my viewport navigation, but cool feature to have once you actually get to the rendering stage and enable it then to save time
@gavinpenrose
11 ай бұрын
I used to absolutely love yr videos, now i just feel dumb watching them as i don't understand them anymore :((((((
@user-qh3nq8np5i
11 ай бұрын
how do you do it if one of the objects in view is metal and you see things disappear from the reflection? but good video about frustum culling, you should do one about backface culling and occlusion culling!!!
@abdallahraafat432
11 ай бұрын
What if you have a reflecting material like metal or glass you want the material to catch data from other objects outside the camera frame as well
@mqbaka
11 ай бұрын
I also liked the video 2 times faster.
@pleaserespond3984
11 ай бұрын
Ah, so you've reinvented XGen's camera culling. (apologies to whoever's PTSD was triggered)
@ivanpergasiFreelance
11 ай бұрын
Is there a similar solution that could be applied to a complex scene with more than a single geometry node, can we exclude or temporary cut out part of a scene if it is not in the camera view ? Does it significantly reduce the render time?
@terr20114
11 ай бұрын
This man does not disappoint.
@serbanandrei7532
11 ай бұрын
Can you make it block the objects behind other objects? Maybe in distance layers?
@ujjwalsingh5188
11 ай бұрын
but If we delete other object there will be no reflected light from that .... and when the object appear again sudden Reflected light start to show ?
@janvandertoorn
11 ай бұрын
Bro, not a fan of overcomplementing someone but damn, dude, that's ff'n genius! Love it thnx
@ex-secular-4996
11 ай бұрын
Good information brother🎉
@rackneh
11 ай бұрын
Would this be more performant than the current culling system in Unity? I assume it would be if you used a kdtree for the foreach loop
@themollerz
11 ай бұрын
Like how the heck do you look at something called dot product and figure out a real use for it lmao
@ian2593
11 ай бұрын
Which object are you using to generate the Geometry Nodes? The camera, one of the spheres or a separate object?
@cg3Dim
11 ай бұрын
Nice
@AgustinCaniglia1992
2 ай бұрын
It isn't working for me :(
@muslim_vegeta1445
11 ай бұрын
Dont you have a channel called default cube ?
@abstract_duck
11 ай бұрын
you gaslit me real good here ... sadly im rendering 360 animation so week long render it is
@waelsahly30
11 ай бұрын
i need a upbge tutorial please :)
@VisualistAyush07
11 ай бұрын
Gigchad of geometry node
@radosawkubicki5076
11 ай бұрын
Hi. Are you able to help me? I have a challenge for you. It needs nodes thanks to which the shadow will be in the form of dots. But not regular, systematic dots. Something like dotted shadows in a drawing. Greater density of dots where the shadow is darker. I gave up and would like to use them for my projects.
@nehemiahsomers4141
11 ай бұрын
In Eevee, make a principled BSDF shader (white) and connect the output to a shader to RGB node. Use a color ramp to make it so only the shadows are visible, then use that as the factor for a MixRGB node connected to a voronoi texture with the randomness turned to zero. Also add a color ramp to the voronoi output so it's solid dots instead of soft ones. For the scale you can make another color ramp from the original shader-to-rgb node and plug that into the voronoi scale input. After all that, overlay it onto your original texture using a mixRGB node with itself as the factor.
Пікірлер: 78