Page 1 of 1

Entity always visible

Posted: Sun Feb 28, 2021 3:02 pm
by Philippe-felixer76-3
Hi,

I was wondering is it possible to always let a entity be visible, even if another entity blocks it (z-buffer).

So in the situation where a object is behind another object and is normaly not visible.

Re: Entity always visible

Posted: Sun Feb 28, 2021 4:00 pm
by Mijikai
Yes, generally thats no problem in DX9 for example u just change the renderstate.

Re: Entity always visible

Posted: Sun Feb 28, 2021 4:30 pm
by Philippe-felixer76-3
Mijikai wrote:Yes, generally thats no problem in DX9 for example u just change the renderstate.
And how can i do that in PB?

Re: Entity always visible

Posted: Sun Feb 28, 2021 4:39 pm
by Mijikai
By PB u mean Ogre ? - If so no idea.

Re: Entity always visible

Posted: Sun Feb 28, 2021 6:26 pm
by Philippe-felixer76-3
Mijikai wrote:By PB u mean Ogre ? - If so no idea.
To bad .. does seem to exist in Ogre:

https://www.ogre3d.org/docs/api/1.7/cla ... state.html

Re: Entity always visible

Posted: Sun Feb 28, 2021 8:01 pm
by box_80
I don't know if it would work as I never used it before. But I would read the information for SetRenderQueue() in Engine3D Index in the help file, it could help.

Re: Entity always visible

Posted: Mon Mar 01, 2021 11:01 pm
by Philippe-felixer76-3
box_80 wrote:I don't know if it would work as I never used it before. But I would read the information for SetRenderQueue() in Engine3D Index in the help file, it could help.
Tnx for the tip, but it didn't work out for me.