i am wondering about camera.VisibilityFlags.
Why is this value always exactly the same?
do i have to setup something before using this? (expected setup visibility mask on entitys, this is clear for me)
the reason why iam asking, is simple that the camera / viewport seems too completly ignore those flags
Did you look to the API?
Maybe it can help.
There are several members with VisibilityFlags. Use Search function with highlight
option in Firefox to get a good overview.
The Mogre names are not the same, but equal I think.
virtual void setVisibilityFlags (uint32 flags)
Sets the visiblity flags for this object.
As well as a simple true/false value for visibility (as seen in setVisible), you can also set visiblity flags which when 'and'ed with the SceneManager's visibility mask can also make an object invisible.
virtual void addVisibilityFlags (uint32 flags)
As setVisibilityFlags, except the flags passed as parameters are appended to the existing flags on this object.
virtual void removeVisibilityFlags (uint32 flags)
As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on this object.
virtual uint32 getVisibilityFlags (void) const
Returns the visibility flags relevant for this object.
static void setDefaultVisibilityFlags (uint32 flags)
Set the default visibility flags for all future MovableObject instances.
static uint32 getDefaultVisibilityFlags ()
Get the default visibility flags for all future MovableObject instances.
Flags determining whether this object is visible (compared to SceneManager mask).
static uint32 msDefaultVisibilityFlags
Default visibility flags.
thanks a lot
I will give some of the options a try.