www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: zammbi on March 09, 2012, 02:10:24 am

Title: Couple of questions
Post by: zammbi on March 09, 2012, 02:10:24 am
1) I just noticed in the javadoc for setMipmap on Textures that it gives a warning: "Default is false, because most Android hardware doesn't support it anyway, which results in white polygons all over the place."
Is this still the case? Is there a way to see which ones support it which ones don't? Otherwise am I safe if I just turn it on for the latest devices? (say only 2+ cores for cpu).

2) Is setFiltering method on Textures set to on or off for default?

3) For collisions, how one visualise the collision box itself? I'm having collision bugs.
Otherwise can we get a ellipsoid method for Primitives class that accepts the same values you use to do the collision (vector)?
Title: Re: Couple of questions
Post by: EgonOlsen on March 10, 2012, 02:22:19 pm
1) I just noticed in the javadoc for setMipmap on Textures that it gives a warning: "Default is false, because most Android hardware doesn't support it anyway, which results in white polygons all over the place."
Is this still the case? Is there a way to see which ones support it which ones don't? Otherwise am I safe if I just turn it on for the latest devices? (say only 2+ cores for cpu).

2) Is setFiltering method on Textures set to on or off for default?

3) For collisions, how one visualise the collision box itself? I'm having collision bugs.
Otherwise can we get a ellipsoid method for Primitives class that accepts the same values you use to do the collision (vector)?

1) That comment is a relic of the past. It was true on my old Android 1.5 based device, but it isn't any longer. I'll change the docs and default to true in the next version.

2) It's no by default.

3) There's no collision box. The collision is always ray/sphere/ellipsoid against the mesh... ???
Title: Re: Couple of questions
Post by: zammbi on March 10, 2012, 03:14:32 pm
Quote
1) That comment is a relic of the past. It was true on my old Android 1.5 based device, but it isn't any longer. I'll change the docs and default to true in the next version.
Ah good to know.

Quote
3) There's no collision box. The collision is always ray/sphere/ellipsoid against the mesh...

Sorry I mean collision ellipsoid. Just would make setting up the collision ellipsoid easier if one could view it.
Title: Re: Couple of questions
Post by: EgonOlsen on March 11, 2012, 06:38:27 pm
2) ...it's not no by default...it's ON by default...sorry...  :-[