jPCT is a free, lightweight 3D-Engine for Java and Android.
Questions tagged [jpct]
45 questions
2
votes
2 answers
JPCT loading multiple objects
I'm currently learning JPCT for Android.
After reading some tutorials and examples, I've noticed that everyone loads their objects and textures on the scene one by one, like this:
cube = loadModel(getAssets().open("cube.3ds"),…

arvere
- 727
- 1
- 7
- 21
2
votes
1 answer
thread main exiting due to uncaught exception in jpct game engine
I am trying to run a demo of JPCT. But run time error is happening. My code is below.
//////////////////////////////////////////////////////
//////////////////////////////////////////////////////
package com.JPCTDemo;
import…

Humayun Kabir
- 561
- 2
- 13
- 27
1
vote
0 answers
JPCT-AE highlight overlapping objects - polygons
I am using JPCT AE in my
Android app for drawing polygons of the same color which represent a path that a vehicle have covered. Currently I am using transparency to highlight the areas where polygons overlap but I would like to have those areas…

colens
- 467
- 3
- 12
1
vote
1 answer
Scale along a particular axis of an 3D object in JPCT
I have gone through the 3D object documentation in JPCT but i couldn't find a way to scale an 3D object[a Cylinder] along y axis only. My world have multiple objects and I goal is to scale one particular object. Appreciate any leads. Thank…

Tarun Tapan Saha
- 21
- 4
1
vote
0 answers
Altering Simple ARToolkit and JPCT-AE to display 3d models
Altering simple ARToolkit android application to display 3d models using jpct-ae engine
I want to display 3d models on top of a Hiro marker. I downloaded the simple ARToolkit application and added jpct-ae engine as a dependency. Then altered the…

Anandu
- 361
- 3
- 5
1
vote
0 answers
The relationship between JPCT-AE camera distance and real world distance is what?
Currently I am building an AR app with a function of AR navigation. I use JPCT-AE to render the 3D objects. Now I am facing a problem, in JPCT-AE camera we can set the near plane and far plane(default is near:1, far:1000), the unit I know it just…

OtakuFitness
- 542
- 7
- 20
1
vote
3 answers
Touch 3D object ArToolKitJpctBaseLib
I found an adaptation of ARToolKit + jpct + android:
https://github.com/plattysoft/ArToolKitJpctBaseLib
I've got draw various 3D objects on the screen.
But now I have the problem: I need to touch them
I saw this tutorial:…

andvazva
- 39
- 4
1
vote
1 answer
Rendering a model basic on JPCT-AE with ARToolkit in Android
i want to render model via JPCT-AE and use the ARToolkit to realizing AR Application.
so , i inject the code as below into the ARToolkit Project:
Matrix projMatrix = new Matrix();
projMatrix.setDump(ARNativeActivity.getProjectM());
…

Bio. X
- 13
- 3
1
vote
0 answers
Rotate camera around 3D cube with gyroscope
I need to develop app demo that shows camera preview and as overlay render 3D model. When user rotate device, the camera that is looking at the object should rotate as well. My knowledge about 3D is pretty basic. I have used jPCT-AE engine for this…

Billda
- 5,707
- 2
- 25
- 44
1
vote
0 answers
Animation 3d: How can I lift the knee of my human rigged model?
Hi I am just a beginner in the 3d animation, my problem is this:I have a rigged human model and I have to lift his leg in this way. ![enter image description here][1]
( I don't care about the position of the arms) What I wanted to know is what kind…

Alessio Il Pierce Giannelli
- 109
- 2
- 13
1
vote
1 answer
Vuforia jPCT integration and build jni
I getting following error while running imagetarge vuforia jPCT project
W/dalvikvm(3469): threadid=1: thread exiting with uncaught exception (group=0xa4c4e648)
E/AndroidRuntime(3469): FATAL EXCEPTION: main
E/AndroidRuntime(3469):…
user3748230
1
vote
1 answer
Adding zoom functionality to jPCT scene
I would like to add zoom functionality to my scene. How would one do that?
This is my code at the moment:
private static float touchTurn = 0;
private static float touchTurnUp = 0;
private static float xpos = -1;
private static float ypos =…

user754730
- 1,341
- 5
- 31
- 62
1
vote
1 answer
how to load multi textured object in jpct-ae
Right now I can load 3D model with single texture file using jpct-ae successfully.
cube = loadModel(getAssets().open("cube.3ds"), 1);
TextureManager.getInstance().addTexture("texture.png", new…

gooner
- 349
- 1
- 4
- 17
1
vote
1 answer
how to add 3d models dynamically in glsurface view renderer in android
In my Augmented reality application I need to render 3D model over a marker. with predefined/ initialized 3d model i can show teapot over a marker detecion. but now I want to replace it with another 3d model dynamically from sd card on some trigger…

gooner
- 349
- 1
- 4
- 17
1
vote
0 answers
jpct-ae, deform shape
I used the code form jpct wiki to display the shape. Is there a way to deform this shape when screen is touched, without using blender or simiar apps? How to do it?
http://www.jpct.net/wiki/index.php/Hello_World

aptyp
- 251
- 1
- 6
- 19