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.


Topics - PaniX

Pages: [1]
1
German corner / Mond :)
« on: March 22, 2015, 02:11:31 pm »
Hallo!

Bin zwar immer noch ein blutiger Anfänger, habe aber generell im programmieren etwas
Erfahrung seit dem letzten Versuch mit jPCT gesammelt...

Wie würdet ihr denn einen Mond mit jPCT-AE realtime rendern? Mit einer bumpmap?
Oder dann lieber doch direkt als *echtes* 3D-Modell?

Wie macht man denn am besten eine Bumpmap um eine Kugel, gibt's da schon irgendwo Infos
oder muss ich das von "scratch" selber programmieren?

Liebe Grüße,
PaniX

2
Support / Screen Size +FullScreen
« on: September 20, 2013, 07:12:44 pm »
Two hopefully smaller questions, which aren't direct about JPCT-AE, but which may be helpful for others using the engine too.
1) How to get the screen size from the smartphone the user uses?
2) How to make the application full screen, without the status bar on the upper part of the screen?
Thanks!

3
Support / setScale which values?
« on: September 17, 2013, 04:23:57 pm »
Hey guys,
just a small question. When I use setScale();, between which values the scale must be?
Thanks!

4
Support / JPCT-AE error loading models (.md2, .3ds ...)[SOLVED]
« on: September 15, 2013, 07:07:03 pm »
Hello guys,
as I'm an Android and JPCT-AE noob, I have to ask something.
I'm currently playing a little bit around with the HelloWorld-AE example, and found a problem.
The normal
Code: [Select]
cube = Primitives.getCube(10.0f);
cube.calcTextureWrap();
cube.setTexture("texture");
cube.strip();
cube.build();
method works. But when I try to load my own Model instead, like this:
Code: [Select]
cube = Loader.loadMD2(getResource().openRawResource(R.raw.gun), 0.5f);
//cube = Primitives.getCube(10.0f);
cube.calcTextureWrap();
cube.setTexture("texture");
cube.strip();
cube.build();
the Application crashs. I'm not sure why, as it worked already for me. The same happens when I try to load a 3DS file, like it's written in the wiki.
Does someone knows what's the problem?
Thanks
PaniX

Pages: [1]