vanyarachell / droidar

Automatically exported from code.google.com/p/droidar
0 stars 0 forks source link

load 3d obj to the MultiMarket project #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Hi,
my project contain the multimarker project and the modelLoaderAdapter, i can 
load the 3d obj, but i can't use them on the Marker project, i get null 
MeshComp all the time. what am i doing wrong?

Original issue reported on code.google.com by o...@fetch-app.com on 20 Aug 2012 at 10:55

GoogleCodeExporter commented 8 years ago
so your modelLoaderAdapter tests work and the objects are loaded and displayed 
correctly? and when you add the marker project to your used android libraries 
the objects suddenly do not load anymore? the logcat often helps in such 
scenarios to find the point where the application does not behave as expected

Original comment by simon.heinen on 20 Aug 2012 at 1:27

GoogleCodeExporter commented 8 years ago
Yes, the ModelLoaderAdapter works fine. I am trying to load from the 
multimarkers setup but I get null  exception. The only way it work was when i 
called it from the addworldsto rendere method, but then i had to wait about a 
min untill the obj appear on the marker. 
Maybe I'm loading it from the wrong place in the setup?
Also, there is a way to load large number of object without creating a new 
model loader for each file? 

תודה רבה, 
אורית ברדה

ב-20 באוג 2012, בשעה 16:27, droidar@googlecode.com כתב/ה:

Original comment by o...@fetch-app.com on 20 Aug 2012 at 3:23

GoogleCodeExporter commented 8 years ago
If you use the defaularsetup then the method where you create the objects and 
add them to the world is only called after the gps signal is accurate enough, 
thats why there is a loading bar. please take a look at the defaularsetup 
implementation and create your own setup class. maybe its enough for you to 
extend the defautlarsetup in a different way and maybe its a better way to 
create your own setup similar way to the default ar setup. its important that 
you understand the concepts of inheritance, anonymous classes and overwriting 
classes. i dont recommend to use a framework without understanding what is 
going on in the most important classes like the setup class in the DroidARs 
case ;)

Original comment by simon.heinen on 20 Aug 2012 at 9:17

GoogleCodeExporter commented 8 years ago
I know the method addobjtoworld called only after the gps signal accrue. I'm 
not talking about the default setup,I'm asking about the MultimarkerSetup. And 
why it take about a min untill he load the obj and put it on the marker

תודה רבה, 
אורית ברדה

ב-21 באוג 2012, בשעה 00:17, droidar@googlecode.com כתב/ה:

Original comment by o...@fetch-app.com on 21 Aug 2012 at 8:35

GoogleCodeExporter commented 8 years ago
And there is another problem, if I use the default setup and load the obj from 
the addobjtoworld I can see it when the gps signal accuse but if u add more one 
to the wold, like a cube or something I still can see only the obj I loaded

תודה רבה, 
אורית ברדה

ב-21 באוג 2012, בשעה 00:17, droidar@googlecode.com כתב/ה:

Original comment by o...@fetch-app.com on 21 Aug 2012 at 8:37

GoogleCodeExporter commented 8 years ago
that depends on the object you load. the libgdx object loaders might not be the 
fastest, i had also some models which had to many polygons. you should start to 
optimize your models fist in this case

Original comment by simon.heinen on 21 Aug 2012 at 10:41