"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Java Heap Space Error in virtualButtons

Hi All,

In VirtualButtons i have to change teapot to car object.

I had a car animation file. I converted that .FBX file format to .OBJ through FBX converter and then I convert that .OBJ to .h file through obj2openGL.perlscript.

But that .h file was taking 405 mb memory how can I change teapot object to car object.

Was there any way to do for large files.

Can Any one Help me.

 

Thanks in Advance.

AlessandroB

Mon, 04/01/2013 - 14:48

Hi, 

such a large file cannot be handled on a mobile device. 

You might split it into several smaller models, but performance-wise they might be difficult to render anyway at a decent frame rate.

Hi AlessandroB,

Was there any other way to convert .obj file to .h file.

other than obj2openGLE.pl converter.

How can we add animations to banana or teapot images in virtual buttons.

like moving left/right/rotate.

Thanks in advance.

Hi,

I go through your links but nothing happening. when i putting that code what he gave in https://developer.vuforia.com/resources/dev-guide/textured-plane-target this link. when i building ndk it asking to declare "trackable" how to declare that one.

Hi,

That one i tried when i putting that code its showing SamplMath, fabs are not declared when i building ndk.

I found SampleMath.cpp and SampleMath.h file from videoplaback app but i don't found fabs one .

Is this correct way are wrong one.

Thanks in advance.

Hi AlessandroB,

Thanks,

Now It's working it moving from left to right but when we build and run then it will working.

if we run same apk it's not appearing 3d object on the screen.

what have to change for that.

Please help me.

Thanks in Advance.

Hi,

For Stop motion where have to change in below code.

QCAR::Matrix44F modelViewProjection;

SampleUtils::translatePoseMatrix(0.f, 0.f, kBananaScale,&modelViewMatrix.data[0]);