Entity always visible

Everything related to 3D programming
Philippe-felixer76-3
User
User
Posts: 45
Joined: Mon Dec 30, 2013 10:12 pm

Entity always visible

Post 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.
User avatar
Mijikai
Addict
Addict
Posts: 1360
Joined: Sun Sep 11, 2016 2:17 pm

Re: Entity always visible

Post by Mijikai »

Yes, generally thats no problem in DX9 for example u just change the renderstate.
Philippe-felixer76-3
User
User
Posts: 45
Joined: Mon Dec 30, 2013 10:12 pm

Re: Entity always visible

Post 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?
User avatar
Mijikai
Addict
Addict
Posts: 1360
Joined: Sun Sep 11, 2016 2:17 pm

Re: Entity always visible

Post by Mijikai »

By PB u mean Ogre ? - If so no idea.
Philippe-felixer76-3
User
User
Posts: 45
Joined: Mon Dec 30, 2013 10:12 pm

Re: Entity always visible

Post 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
box_80
Enthusiast
Enthusiast
Posts: 111
Joined: Mon Sep 03, 2012 8:52 pm

Re: Entity always visible

Post 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.
Philippe-felixer76-3
User
User
Posts: 45
Joined: Mon Dec 30, 2013 10:12 pm

Re: Entity always visible

Post 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.
Post Reply