Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - daemontus

Pages: [1]
Thank you for clarification. Object has around 12000 polygons, so I understand it is going to consume a lot of memory, but honestly I did not expect that much :D

Yes, it has jPCT tag. Thanks for info anyway.

Thanks for advice about exporter, I will definitely look at this.
But that part about native .bones file is interesting. I am actually using .bones format and I get this warning anyway. To be more specific, I am using following code to covert .DAE file to .bones on desktop:

Code: [Select]

                File Spectre = new File("/Users/daemontus/Downloads/pilsner.DAE");
URI uri = Spectre.toURI();
final SimpleResourceLocator resLocater = new SimpleResourceLocator(uri.resolve("./"));
        ResourceLocatorTool.addResourceLocator(ResourceLocatorTool.TYPE_MODEL, resLocater);
ColladaImporter Col = new ColladaImporter().loadTextures(true);
ColladaStorage Stor = Col.load(uri.toString());
AnimatedGroup A3D = BonesImporter.importCollada(Stor, 4, new Quaternion());
BonesIO.saveGroup(A3D, new FileOutputStream("test.bones"));

And this code to load it on android device:

Code: [Select]
                Resources res = mActivity.getResources();
        model = BonesIO.loadGroup(res.openRawResource(R.raw.test));
        for (Animated3D o : model) {;

I get this warning both on Android and desktop. Any suggestions how to get rid of that warning on Android device?

Hi. I am new to Bones and I am trying to load one quite big .DAE animated model (12k vertices, around 10MB file size) on Android and I get this warning in LogCat:

 WARNING: Coordinate array is sparsely populated! Consider to pre-process it to save memory!

 Since this model needs around 128MB heap memory just to be loaded successfully, I was wondering what the Warning means and how can I do such a thing. Also any other help on reducing the memory needed to load such model is highly appreciated :) (I am noob so I have just processed the .DAE to .bones using convertion scripts, loaded it using BonesIO.loadGroup() and then added it to world.)

Pages: [1]