Questions tagged [jpct]

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

45 questions
0
votes
0 answers

Texture mapping issue in JPCT game engine

In a Blender every textures displays fine, but not in the Engine Sorry for my English. Recently I found on a game engine for Java - JPCT and decided to try to create a small game. I'm having a problem displaying textures on the .obj model. In…
Mark
  • 1
0
votes
2 answers

What's wrong with my classpath?

I'm trying to make an applet with jPCT. Using jPCT requires that the jPCT jar be added to the classpath. I thought I had it, but I'm still getting a class not found exception about one of jPCT's classes. My commands: $ javac -classpath…
John
  • 15,418
  • 12
  • 44
  • 65
0
votes
1 answer

vuforia sdk + android failed to initialize Vuforia with permission exception

App crashes after running the program with failed to initialize Vuforia with permission exception Android version is testing on device 4.1.1 (api level 16) with front camera…
vims liu
  • 643
  • 1
  • 9
  • 20
0
votes
1 answer

Disable software renderer jpct-ae

I use of JPCT-AE for Android,I need disable software renderer and enable opengl renderer from FrameBuffer. I found this code for JPCT desktop but I don't know how can I change that for Jpct-AE. JPCT desktop…
Nima.S-H
  • 777
  • 1
  • 9
  • 19
0
votes
1 answer

Adding a Video using jPCT-AE and Vuforia SDK

I'm trying to build an AR Android app that uses Vuforia + jPCT-AE. The jPCT is being used because it makes it easier to use objects exported from Blender, and dramatically reduces the code verbosity (when compared with vuforia stand-alone). I would…
ac0de
  • 260
  • 2
  • 10
0
votes
1 answer

jPCT: Strange camera rotation

I have created Rubik's cube by jPCT and now I need to rotate this whole cube. I have tried to achieve this by rotation matrixes and I have rotated single cube elements but this does not seem to be good way.. So I want to rotate my camera around the…
Firzen
  • 1,909
  • 9
  • 28
  • 42
0
votes
1 answer

To read obj file i use jpct but i can't find how to zoom on it

I can load .obj with jpct library for that i use something like that: InputStream isObj = new FileInputStream("/storage/emulated/0/Download/Vanne.obj"); InputStream isMtl = new…
tamtoum1987
  • 1,957
  • 3
  • 27
  • 56
0
votes
1 answer

How can I inflate glsurfaceview in android's layout xml

I am trying to put a GLSurfaceView in a xml layout, but when I try to do it my application keeps closing automatically. I think the problem is in layout/activity_main.xml, because I don't know the name of the tag for glsurgaceview. This is my code.…
0
votes
2 answers

opengl.GLSurfaceView Pinch zoom

This is my class file which use to load 3d model . i am using jpct lib for loading 3d object . i want to apply pinch zoom to GLSurfaceView can any one tell me how to do ? i didnt found any tut/code for zoom .. public class Model extends Activity…
user3405716
  • 13
  • 1
  • 9
0
votes
1 answer

Using 2 SurfaceView lag

I want to display 3D objects with jPCT, so I use a custum GLSurfaceView.Renderer to display what I want. And below, I need to display a camera preview. It's work fine but my problem is when I display the 2 SurfaceView (1 for the object and 1 for the…
Mekiis
  • 5
  • 3
0
votes
1 answer

Handling camera functions in jpct

I am working on android game. In this I am using JPCT framework. In this I want to use camera movement.As in some games the whole level view is viewed to the user( like in Angry Birds). I am putiing my code in OnDraw() function. @Override public…
0
votes
1 answer

3D model breaks in nexus 4 with android 4.2.1

I am trying to render a 3D model on marker in my AR app for android using JPCT-AE librtary. I have tested it on nexus one and Samsung note 1, its working fine but same code and same 3d model not displaying properly in higher version phones like…
gooner
  • 349
  • 1
  • 4
  • 17
0
votes
0 answers

Changing object for vuforia integrate JPCT-ae

I had successfully integrate vuforia with jpct-ae. Now, I want to change the cube into other object (either obj or md2 file). Below is my code in ImageTargetRenderer.java (not sure is true or not). How can I call this object to render on a…
angie1289
  • 1
  • 3
0
votes
1 answer

Texture ambiguty when integrating jpct-ae with vuforia

I successfully integrated vuforia and jpct-ae. I can download .obj model with its .Mtl file and texture file, and load it using jpct-ae loader on marker detection. 3D model is displayed very well over image target but without Texture (Material is…
gooner
  • 349
  • 1
  • 4
  • 17
0
votes
1 answer

JPCT-AE won't render inside of a shape

I'm using JPCT-AE and I am trying to put my camera inside of a sphere, but it simply isn't showing anything. If I set the camera to outside of the same pointing at it, then I can see the shape. Texture texture = new Texture(3000, 3000,…
Joe Simpson
  • 2,546
  • 4
  • 30
  • 46
1 2
3