简体   繁体   English

在Metal中显示目标文件

[英]Display object file in Metal

I was trying to use metal api to display 3D object and I followed this tutorial ( http://metalbyexample.com/textures-and-samplers/ ) but when I tried to change the Object he use with my object it showed like a block، I'm sorry I can't post an image, it's supposed to be an object for a foot. 我试图使用金属API来显示3D对象,并且按照本教程( http://metalbyexample.com/textures-and-samplers/ )进行操作,但是当我尝试更改与对象一起使用的对象时,它显示为一个块,很抱歉,我无法发布图像,它应该是脚的对象。

I can understand if the object didn't fully display or any thing like this but it didn't have any features just a block. 我可以理解该对象是否未完全显示或类似的东西,但它没有任何功能只是一个块。

Any help for this ? 有什么帮助吗?

Maybe you need to set appropriate scale of the object you want do display. 也许您需要设置要显示的对象的适当比例。 Also you may need to set appropriate position of your object otherwise it can be clipped by the camera. 另外,您可能需要设置对象的适当位置,否则相机可能会将其剪切。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM