jPCT-AE - a 3d engine for Android > Support

Getting "Can't add 'null' to the World" in jPCT-AE

(1/3) > >>

SuperCreeper:
Hello! I've created the world using jBrush v0.3 and exported all files to the /assets/ folder in HelloWorld project.
I'm tried to load my world with this code:

            AssetManager am = getAssets();
            objects = Scene.loadLevelAE("testscene.txt", objects, world, am);

I placed that code in onSurfaceChanged method below the world.addObject(cube).
Here's my LogCat and piece of code:
My /assets/ folder contains now:
floor.3ds
mcgrass.png
table_lowpoly.3ds
planks02.jpg
testscene.txt

How I can fix it?
P.S. Excuse for my English, please.

Wolf17:
Hello! Welcome!
Maybe you forgot to include the texture which is applied to the floor model!? :-\
Make sure to include all the assets that you can visually see in your jbrush editor. :)

SuperCreeper:

--- Quote from: Wolf17 on December 09, 2013, 11:55:51 am ---Make sure to include all the assets that you can visually see in your jbrush editor. :)

--- End quote ---
I included all the assets.
If you need, here's what testscene.txt contains:
fp-floor.3ds on-floor tp-mcgrass.png rx-0.0 ry-0.0 rz-0.0 tx-0.0 ty-10.0 tz-0.0 oc-0 cx-0 cz-0.0 cc-true sl-false ot--1 bm-null pa-null os-1.0 st-0 sh-1
fp-table_lowpoly.3ds on-table_lowpoly tp-planks02.jpg rx-0.05 ry--0.7500001 rz-0.0 tx-0.0 ty-0.0 tz--10.0 oc-0 cx-0 cz-0.0 cc-true sl-false ot--1 bm-null pa-null os-5.5 st-0 sh-1

SuperCreeper:
And that's my HelloWorld project
http://www.datafilehost.com/d/13495410

Wolf17:
Oh ! sorry!  yes you did that!
Have you tried to recreate and reload the scene?
....Once I reach home ,I'll make an apk out of your source to see what is wrong !

Navigation

[0] Message Index

[#] Next page

Go to full version