简体   繁体   English

选择在Android上使用Min3d渲染的对象

[英]Select object rendered using min3d on android

While going through the sample code given by min3d library, I cam across an example for loading multiple objects from a .obj file. 在查看min3d库提供的示例代码时,我介绍了一个用于从.obj文件加载多个对象的示例。 It loads the car's body and 4 tires as different objects. 它会将汽车的车身和4个轮胎作为不同的对象加载。 Is it possible to add a touch event to can detect which one of the 5 objects were touched/selected. 是否可以添加触摸事件以检测5个对象中的哪一个被触摸/选中。 If not , is there any other library which can load .obj file and enable me to detect the selected object. 如果没有,是否有其他库可以加载.obj文件并使我能够检测到所选对象。

min3D is obsolete now, the new framework is called Rajawali . min3D现在已过时,新框架称为Rajawali It supports object picking, see the tutorial here . 它支持对象拾取,请参见此处的教程。

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

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