rescale the distance to 0-0.5 by using fit() and then you can have an if statement checking that value against a generated random number like if(rand(@ptnum)
it is very great method. but it doesn't work if the camera was in the middle of the points, as it will mask the front and the back points for the camera.. i'm trying to find way to select only the front points in this case
@@ShortSweet3D actually i did that, but it didn't work.. logically it supposed to work. but it didn't .. like was trying to use this method to delete part of oceans mesh which i don't see through the camera but didn't work. so i came back to the old methods :).. thanks anyway
@@znbk5652 I does work, you only need to check if it's a negative or positive. The if statement would be something like this: if((campos.x+padding.x) 1 ||(campos.y+padding.y)1 || campos.z>0)
It's a nice tool. I have been using it for years and it is the first time I see it somewhere else. Happy that someone gives it some visibility.
Nice! Indeed, most people seem to be using volumes still
what is the advantage of this method please?
Thank you!
You always does wonders. HattsOff
This is much useful, Thank you so much Mikael 🤩 You are a great mentor 💝
this is great man thanks , how can a create fade density distance from the camera
rescale the distance to 0-0.5 by using fit() and then you can have an if statement checking that value against a generated random number like if(rand(@ptnum)
Thank You very much!
Nice! Thanks for sharing it! 🙂
it is very great method. but it doesn't work if the camera was in the middle of the points, as it will mask the front and the back points for the camera.. i'm trying to find way to select only the front points in this case
ah, yes you are right, but it's an easy fix. You can use the camera coordinates z value to check if it's in front or behind the camera
@@ShortSweet3D actually i did that, but it didn't work.. logically it supposed to work. but it didn't .. like was trying to use this method to delete part of oceans mesh which i don't see through the camera but didn't work. so i came back to the old methods :).. thanks anyway
@@znbk5652 I does work, you only need to check if it's a negative or positive. The if statement would be something like this: if((campos.x+padding.x) 1 ||(campos.y+padding.y)1 || campos.z>0)
then you can of course add padding to that as well
@@ShortSweet3D i'll give it another go. thanks for amazing technique you provide :) very useful
Neat.