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.


Messages - penprakash

Pages: 1 [2]
16
Support / Re: I have an issue in OBJ model scaling
« on: June 26, 2013, 02:57:42 pm »
Can you please provide how to use bounding box to the object and how to find out min and max value from the screen.

17
Support / rotating the 3d model object
« on: June 25, 2013, 05:12:00 pm »
Hi,

  i have integrated jpct-ae with vuforia, model is not displayed in the right angle. As per tutorial modelViewMatrix has to be rotate with 180 in x axis,

SampleUtils::rotatePoseMatrix(180.0f, 1.0f, 0, 0, &modelViewMatrix.data[0]);

I have done this in my code, but model is not displayed in the right angle.

Thanks & Regards,
Prakash V

18
Support / I have an issue in OBJ model scaling
« on: June 25, 2013, 03:59:37 pm »
Hi,

 I have integrated JPCT-AE with vuforia and showing dynamic 3d models, my issue is each model has its own scaling, when i load it with scale 1

Loader.loadOBJ(new FileInputStream(objFiles),
                  new FileInputStream(mtlFiles),1)[0];

each model displayed with own scale and some of them showing very little, how to i uniform the scale?

Should i scale the modelViewMatrix from vuforia?

19
Hi,

  Could you please explain or give the sample to use the Virtualizer  to store the data on disk. What Context needs to be set in Virtualizer in android?

Thanks & Regards,
Prakash V

20
Support / Re: Obj model loading error
« on: April 10, 2013, 05:49:57 pm »
Hi,

 How do i find out texture height and width is power of 2? If it is not, is possible to convert texture width and height?

Thanks & Regards,
Prakash V

21
Support / Re: How to i load texture folder for obj
« on: April 05, 2013, 03:34:15 pm »
i want to add texture folder which has 40 textures for the model.

22
Support / How to i load texture folder for obj
« on: April 05, 2013, 02:20:32 pm »
Hi,

 I'm using vuforia+jpct, i want to load obj file which has material defined in mtl file, materials are in textures folder in sdcard. How do i load texture when i load obj?

Prakash V

23
Support / Re: Obj model loading error
« on: March 05, 2013, 03:57:59 pm »
But docs says Texture size has to be a power of 2. Any texture using another width and/or height will automatically be scaled to a width of 256 pixels. jPCT will print out a warning in this case.

24
Support / Obj model loading error
« on: March 04, 2013, 06:31:30 pm »
Hi,

 I have downloaded obj file from this site http://people.sc.fsu.edu/~jburkardt/data/obj/obj.html and tried to use it in my application ( JPCT-AE) got following error

03-04 22:58:47.749: E/AndroidRuntime(22464): java.lang.RuntimeException: [ 1362418127753 ] - ERROR: java.lang.RuntimeException: [ 1362418127740 ] - ERROR: Unsupported Texture width: 929
03-04 22:58:47.749: E/AndroidRuntime(22464):    at com.threed.jpct.Logger.log(Logger.java:193)
03-04 22:58:47.749: E/AndroidRuntime(22464):    at com.threed.jpct.Texture.loadTexture(Texture.java:798)
03-04 22:58:47.749: E/AndroidRuntime(22464):    at com.threed.jpct.Texture.loadTexture(Texture.java:771)
03-04 22:58:47.749: E/AndroidRuntime(22464):    at com.threed.jpct.Texture.<init>(Texture.java:138)

Please tell me supported texture width.

Prakash V

25
Support / 3d model limitations
« on: March 04, 2013, 06:17:07 pm »
Hi,

  We have integrated the JPCT-AE engine with vuforia qualcomm for image recognition and displaying the 3d model.

 Can you please provide the how many polygon count it will support and texture size. If there are any other limitations please provide it.

  Thanks in advance.

Prakash V

26
Support / integration with vuforia help
« on: February 28, 2013, 02:20:15 pm »
 I have followed the JPCT integration tutorial provided by JPCT wiki and i had a problem in camera view. Camera view shown only portion of the screen (1/4 bottom),  not coming full screen camera view. Can you please tell me why it is not displaying the full screen camera view. Also they have given updateCamera method, when this will be called and from where should this be called?

 

public void updateCamera() {
   Matrix m = new Matrix();
   m.setDump(modelViewMat);
        cam.setBack(m);
}

 

Prakash V

Pages: 1 [2]