EntityInView -> AnimMesh

Blitz3D Forums/Blitz3D Programming/EntityInView -> AnimMesh

Jeroen(Posted 2003) [#1]
Hi!

I have an odd problem. I use EntityInView to check if an entity is in my camera or not. If not, hide the entity, if yes, show the entity.

Now I have animMeshes, trees. Weird enough the foilage is hidden/shown when still in the camera view, and the tree branch is always shown. But it's one mesh! How can this be?


Ross C(Posted 2003) [#2]
Don't use entity in view. Blitz will not render object that can't be seen. Only speed up in hiding is collisions aren't checked for that item :)


TartanTangerine (was Indiepath)(Posted 2003) [#3]
I use entityinview to speed up and it does just that.

Can you share the code that you are using to hide/show the entities?


Jeroen(Posted 2003) [#4]
Hey,

I guess the problem is something different: it's seems as parts of the meshes are dissapearing. I hope to inform you with a better description...I dont think the show/hide code causes this.

Thanks