Author Topic: "flat" 3D panels impossible with clipping?  (Read 2128 times)

sintua

  • Jr. Member
  • **
  • Thank You
  • -Given: 7
  • -Receive: 0
  • Posts: 63
    • View Profile
"flat" 3D panels impossible with clipping?
« on: March 10, 2013, 04:34:43 PM »
I'm trying to make the nice 3d angled panels as demonstrated in the examples, but since the contents are a clipped draggable panel, is this not an option? If I raise the contents off the Z-level enough to not get stuck behind the window, it's pretty obvious when they're at an angle!

To make matters stranger, normally when I tilt down the content falls behind the window, but I found that if I cloned the menu, then I could look at them from top or bottom and they would be correct, as long as they were closest to the camera... where before they would have their contents covered if looked at from below!

I was hoping to use flat 3D menus, but it seems this is not possible with that sub-panel with clipping and dragging?

Is there some workaround? Perhaps if I can specify the order of the draw calls on the panels?
« Last Edit: March 10, 2013, 05:37:33 PM by sintua »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: "flat" 3D panels impossible with clipping?
« Reply #1 on: March 11, 2013, 09:17:14 AM »
3D + multiple panels or atlases = headache. I have a theory on how I can resolve it, but for now it's just that -- a theory. I'm in Copenhagen all week so it's unlikely that I will have a chance to test it for the next ~3 weeks. For now I suggest you adjust the Z of the clipped panel until it's much closer to the camera than the background panel.

sintua

  • Jr. Member
  • **
  • Thank You
  • -Given: 7
  • -Receive: 0
  • Posts: 63
    • View Profile
Re: "flat" 3D panels impossible with clipping?
« Reply #2 on: March 11, 2013, 02:23:58 PM »
Well I excitedly await the results of your experiments! From the looks of it this is a pretty common problem that comes up in the forum.

Hopefully your work with Unity directly comes out sooner than later and you don't have to do work-arounds for this kind of thing! Yeah, I ended up just moving the z panels and not doing the 3d UI for now. Maybe I can bring it back in the future if your theory works!