Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 libgdx 0.9.8 并尝试将 .obj 文件加载为 Mesh。但是正如各种教程和文档中所指定的那样,它不Stream作为参数,而是要求 FileHandle。应该通过什么是因为版本?
Stream
我目前正在使用此代码,但我仍在为纹理加载而苦苦挣扎:
ObjLoader model = new ObjLoader(); meshCar = model.loadObj( Gdx.files.internal("data/car_white.obj"), Gdx.files.internal("data/car_white"), true );