Questions tagged [jpct]

jPCT is a free, lightweight 3D-Engine for Java and Android.

45 questions
51
votes
5 answers

Looping Error on Android Emulator

I can't seem to launch any of my apps in my Android emulator because every ~2 seconds this error pops up, and I believe this is making my app crash... Note: I've never once tried to record audio, which I think it's trying to do... so why is it…
hewiefreeman
  • 1,137
  • 1
  • 14
  • 31
9
votes
4 answers

Load 3d models with jPCT-AE

I am trying to load 3d models in my application with jPCT-AE. I read through several tutorials and I think I understand the basics, but I have yet to succeed in integrating the 3d files I have. I am making use of pieces of codes I found on…
Romain
  • 173
  • 1
  • 7
8
votes
3 answers

Integrating jpct-ae to Qualcomm's Vuforia engine in android

In Android, I am trying to integrate JPCT to Vuforia by using this tutorial: http://www.jpct.net/wiki/index.php/Integrating_JPCT-AE_with_Vuforia The first time the application is launched, it works, but when I go back and I touch "play" again, it…
Romain
  • 173
  • 1
  • 7
4
votes
1 answer

Integrating jPCT with Vuforia / QCAR SDK

I have problem using Vuforia with jPCT. I have successfully passed the modelViewMatrix from Vuforia native code QCAR::Matrix44F modelViewMatrix = QCAR::Tool::convertPose2GLMatrix(imageResult->getPose()) to Java. And then I try to set the camera…
jack
  • 41
  • 1
4
votes
3 answers

Is it possible to postpone garbage collection after loading

I am loading 3d models (1MB - 10MB) into memory which takes a long time (20 sec for 1.5MB model). When I look at the logs I see that the garbage collector constantly frees memory and pauses. See below for the logs: 07-20 17:37:25.340:…
cooxie
  • 2,934
  • 5
  • 18
  • 17
3
votes
1 answer

Stretch 2D plane to 3D cube

I'm working on a Java game that has both a 2D game panel and "pseudo"-3D one. It isn't real 3D as it's merely some 2D planes put in a 3D environment (no custom created models). I'm using jPCT as render engine and I'm currently looking into getting…
srdoso
  • 31
  • 2
3
votes
0 answers

how toset a same generic scale for different 3d models in jpct-ae

In my app, am using JPCT-ae for 3d rendering. I am downloading 3d models form server and rendering it in android device. my problem is some models are small and some are very big. I want to set one generic scale for all the models regardless of what…
gooner
  • 349
  • 1
  • 4
  • 17
3
votes
1 answer

Integrating JPCT-AE with Vuforia

I am Integrating JPCT-AE with Vuforia for as Vuforia sample ImageTarget teapot model. I followed the kelmar and Sam Rad's answer and now I am able to render my model as well as teapot but in landscape mode only. :::::BUT::::::: When I make changes…
ashunkhs
  • 61
  • 1
  • 7
3
votes
0 answers

Why is JPCT-AE AGL font class only working on Android emulator?

I am currently using the JPCT-AE framework to build a 3D game for android. Because it does not have a class for displaying Fonts yet, it has created what is called an AGLFont class for displaying text on the android screen. Here is the link to the…
user1207381
  • 581
  • 2
  • 8
  • 19
2
votes
0 answers

one model how to use multiple texture with jpct-ae

one model how to use multiple texture? i have one obj model contain house and grass , how can i setTexture use house texture and grass texture for this obj model ? TextureManager tm = TextureManager.getInstance(); Texture houseTexture = new…
ushang000
  • 21
  • 2
2
votes
1 answer

Texture with alpha channel not working on 3ds model in JPCT

About my problem: What is the way to get textures with alpha channel to work? I use a png texture with alpha channel, but the result is black color on transparent area. Android program result: enter image description here 3ds model in…
2
votes
1 answer

Integrating jPCT-AE and ARToolKit in Android

I'm using the ARToolKit for Android to build an AR app. I can apply the Projection Matrix and the Marker Transformation Matrix in OpenGL without problem, as explained in the ARSimple example. However, I did not find a way to apply correctly these to…
Giuppe
  • 434
  • 3
  • 7
2
votes
1 answer

integrating JPCT-ae with QCAR(vuforia)

i know what i am going to ask is already discussed sometimes but after going through all of them i can't found my complete answer so i am asking a new question when i tried integrating JPCT-ae with QCAR all goes well as expected, i got my modelview…
mrYogi
  • 992
  • 2
  • 9
  • 29
2
votes
1 answer

JPCT - 3D to 2D (flat perspective)

I'm using JPCT to create 3D modelling software. The center of the program has a big view of the model. There are xy, xz and yz views at the side to see each side of the model in detail. The Problem I have is that I can not remove the "perspective"…
aZen
  • 223
  • 1
  • 8
2
votes
0 answers

Performance on GLSurfaceView

I am using JPCT-AE on a GLSurfaceView to create a live wallpaper. First I left the renderer do draw on the surface freely (not trying to cap the frame rate in any way). Obviously, the cpu usage went to 90% (using a Defy+ with gingerbread -- my…
arvere
  • 727
  • 1
  • 7
  • 21
1
2 3