杂波工具箱中演员的负深度?
我正在使用 clutter (pyclutter,具体来说,但我认为这并不重要)编写一个简单的动画 GUI,并且我需要我的演员具有负深度。这样做的原因是正深度参数似乎使它们更靠近相机,这打破了我对布局的想法:-)。 我尝试使用 clutter_stage_set_perspective()
,但没有从中得到任何有用的东西。
如何才能实现将演员移到“零”平面后面而不是向前的效果?
I'm programming a simple animated gui using clutter (pyclutter,to be specific, but I don't think that matters) and I need my actors to have a negative depth. The reason for this is that positive depth parameter seems to move them closer to the camera, and this kind of breaks my idea of the layout :-).
I tried playing with clutter_stage_set_perspective()
, but didn't get anything useful from that.
How can I make the effect of moving my actors behind my "zero" plane instead of forward?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
哦,所以你可以使用演员的负深度。没关系。问题是零平面背后的演员被我隐藏了
背景纹理。
Oh, so you can use negative depth of an actor. Nevermind. The problem was that the actor behind the zero plane was hidden by my
background texture.