Depth sharing Design

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.

Re: Depth sharing Design

Postby kornerr » Thu Jun 30, 2011 12:34 pm

dark_sylinc, how's the progress?
kornerr
Greenskin
 
Posts: 110
Kudos: 5
Joined: 04 Dec 2005
Location: Russia

Re: Depth sharing Design

Postby dark_sylinc » Thu Jun 30, 2011 3:51 pm

I'll be looking at it this weekend (I'm taking an exam today and this saturday)

Cheers
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
 
Posts: 931
Kudos: 177
Joined: 21 Jul 2007
Location: Buenos Aires, Argentina

Re: Depth sharing Design

Postby kornerr » Thu Jun 30, 2011 5:06 pm

Thanks in advance (Good luck with the exams!)
kornerr
Greenskin
 
Posts: 110
Kudos: 5
Joined: 04 Dec 2005
Location: Russia

Re: Depth sharing Design

Postby dark_sylinc » Sat Jul 02, 2011 8:18 pm

kornerr wrote:Thanks in advance (Good luck with the exams!)

Thanks! I hope they went ok!!!

Quite a bug you've discovered. Turns out FBOs weren't using stencil buffers at any time! Fixed in trunk (GL; GLES & GLES2 Render systems were being affected) D3D rendersystems were fine.

Thanks for the bug report.

Cheers
Dark Sylinc

PS. Took me more time to get CEGUI working than fixing the bug itself...
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
 
Posts: 931
Kudos: 177
Joined: 21 Jul 2007
Location: Buenos Aires, Argentina

Re: Depth sharing Design

Postby kornerr » Sun Jul 03, 2011 6:53 am

Thanks a lot! Works as a charm :)
kornerr
Greenskin
 
Posts: 110
Kudos: 5
Joined: 04 Dec 2005
Location: Russia

Re: Depth sharing Design

Postby boyamer » Fri Nov 04, 2011 12:03 pm

This is nice feature,
I want to ask you if this featuer is included, its possible to bind depth texture to shader?
I mean if its possible to create Depth stencil texture D16 or D24X8 format and bind it as SetDepthStencilSurface during rendering of scene and after that use if as depth texture in shaders?
Or vendor hack is necessary for this?
http://aras-p.info/texts/D3D9GPUHacks.html#depth

Thanks,
User avatar
boyamer
Orc
 
Posts: 443
Kudos: 5
Joined: 24 Jan 2009
Location: Italy

Re: Depth sharing Design

Postby dark_sylinc » Wed Nov 09, 2011 6:36 pm

Hi!

No, it's not supported.

I remember someone wanted to implement it (was it sparkprime? I think it was in this thread) but AFAIK nothing was really done.

And yes, to implement what you're looking for, we need those hacks in directx 9.
It's natively supported in dx +10 (although Ogre doesn't use it)
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
 
Posts: 931
Kudos: 177
Joined: 21 Jul 2007
Location: Buenos Aires, Argentina

Previous

Return to Developer talk

Who is online

Users browsing this forum: No registered users and 2 guests