Author Topic: Scroll view (Panel) with 3d model  (Read 15429 times)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Scroll view (Panel) with 3d model
« Reply #15 on: October 04, 2012, 10:40:01 AM »
Clipping is done via a shader, so unless the shader used on the 3D model has code that lets it use clipping, there won't be any.

ArvoAnimi

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
    • View Profile
Re: Scroll view (Panel) with 3d model
« Reply #16 on: January 07, 2014, 01:08:40 PM »
Edit: could make some changes to the layout to make it work with the draggable camera so screw it XD... Thanks anyway!

I'm sorry about reviving the poster's question, but I'm in need of making a spine2d object (a bunch of animated sprites but still would be a 3d obj for ngui) work with panel clipping, and haven't been able to do it, need a vector to point to and if possible Help from pro users ( ArenMook is updating this thing like crazy so it's understandable if he doesn't have the time ). Note that I said help, do not want people to do stuff for me, I've just tried and looked for an answer for some time and have come to accept it's beyond me atm. Need direction.
« Last Edit: January 07, 2014, 05:30:56 PM by ArvoAnimi »

3dmodelfarm

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
    • 3dmodelfarm
Re: Scroll view (Panel) with 3d model
« Reply #17 on: September 26, 2014, 12:54:37 AM »
Is this issue fixed ? If yes then please share some suggestions regarding the issue i am not able to get anything from those comments.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Scroll view (Panel) with 3d model
« Reply #18 on: September 27, 2014, 06:06:44 PM »
What issue? 3D models are not a part of the UI, so they won't get clipped. You want them clipped, you need to write a custom shader or draw them to a render texture.

Wisteso

  • Full Member
  • ***
  • Thank You
  • -Given: 21
  • -Receive: 3
  • Posts: 103
    • View Profile
Re: Scroll view (Panel) with 3d model
« Reply #19 on: September 28, 2014, 05:44:12 PM »
There's a post somewhere in this forum where another (very kind) user posted their code. It did not work 100% for me until I resolved a general issue with it. I posted that amendment to the same thread. If you search my history you'll see it.

Though it's not a bug. NGUI does not support 3D components, you're on your own if you chose to do it (though it's definitely doable).