-1

I am struggling to render texture using rajawali library. My Code is below,

ObjParser objParser = new ObjParser(mContext.getResources(), mTextureManager,    
                                    R.raw.objtest);
objParser.parse();
mObjectGroup = objParser.getParsedObject();

Same as specified in sample.

As specified in tutorial I have moved all images into nodpi folder. obj and mtl files are in raw folder.

I have exported obj from blender using right checked images. It is rendering texture properly in blender with "Render Images Option", but it is not able to render texture when i use option for "open GL render image"

Though with same approach Rajawali sample if loading texture properly.

Is this seems to be a problem with obj file or way I am rendering the obj?

4

1 回答 1

0

终于解决了,是图片的问题,我们需要使用2张图片的幂。

请找到链接

于 2013-09-23T07:42:54.267 回答