On 16/03/2017 at 08:20, xxxxxxxx wrote:
I would like to know how exactly the visibility tag work.
Basicly I want to make something that modify only the viewport aspect of an object like the visibility tag does. I starting diving into point cloud, and have really succesfull test with it and result look promising.
http://img4.hostingpics.net/pics/289496pointCloud.jpg
My first idea was simply to set visibility viewport on the attached mesh and then make my own stuff.
But in this case I will have no control if I want to hide an object.
About the pointcould impentation for the moment it's only TP particles, but good things with TP is I just have to emit particle and set them into the world position.
But I was thinking to moving to BaseDraw only for speed since it do not have to handle all the TP things. wich is way more cleaner and maybe faster. But I have to redraw everythings on each camera move since point are only 2D and in top of that I must send a ray from the (3d)points to the camera for checking if any object is beetween and if yes don't display the 2d dots. So does it will be really faster? I doubt.
But is There any other way for managing particles instead of TP (cause for now I must allocate a Tp-group, hide it, allow X numbers of particles to be viewed and so on)
Or any other class for making 3d point with a color.
Again if it's not possible in python it's ok :)
Thanks in advance.