Loading same obj Model in different Activity

Started by gaurav, September 02, 2014, 07:15:10 AM

Previous topic - Next topic

gaurav

i have 3 Activity . say a ,b, c . i have loaded obj model in "a" Activity then when i click on button it open "b" Activity and take image and open c Activity . In "c" Activity i want display same model which i loaded in "A" Activity. is any way so that i can save the time   and use same loaded model instead of loading again

EgonOlsen

JPCT-AE doesn't bind itself to an Activity. You should be able to reuse the World instance in the third Activity. You might habe to create an additional instance of FrameBuffer though.

gaurav

k will give a try and will let u knw ..

is it possible to apply pinch zoom to obj model

EgonOlsen

Yes, of course. But jPCT-AE doesn't provide any means for this. You have to use the default methods that the Android SDK offers for this and apply the results to your objects.  jPCT-AE is not invasive. It doesn't force you into a specific way of structuring your app or making you use special input methods. It "just" does the rendering. Everything else is up to you.