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 - Gopinath

Pages: [1]
1
Support / Will JPCT - AE support .dae format
« on: August 18, 2015, 06:54:07 pm »
I have a requirement to use .dae file format to form the 3D object in Android. Is there any possibility to achieve this. If so, pls guide me with the necessary steps.

2
Support / Pre loader for opengl
« on: January 10, 2014, 04:33:42 pm »
I have lots of objects (.pbj) to be loaded along with its texture. It is taking more time around 7 secs to load everything. I would like to add a loading message meanwhile for the user to know whats happening. I am clueless on how to show this in opengl / jpct-ae. It can be even simple text like "Loading...." at the center of the screen

3
Support / Need info for using bump image texture
« on: January 07, 2014, 07:35:18 pm »
Hi,

From the docs and searches done, I understand that the applying bump image texture for 3D model using JPCT is not possible. Is there any update on how this can be done. Incase if there is any other method where the bump image can be applied apart from the texture to an object, pls share the same.

4
Hi,

I have a landscape map model with streets name boards all in separate models. I have now loaded it successfully and could rotate the map with all objects. Now the camera is placed with cameraDistance = 135, cameraAngle = 1.18f.

Now customer is expecting to navigate it like google maps where the vertical gesture (1 finger) should move the map object similar to road navigation (in 3D). I have now made the camera to look at the center of the map.

Any suggestion on how to achieve this. Also for single finger the map has to be navigated and with double finger gesture the map has to rotate. Zoom and Pan option with 2 fingers are already taken care from cube sample. Pls help !!

5
Hi,

I have a 3D landscape map / object model (.obj) file with streets in it. I have the name boards of the streets in it. Each of the name boards are separate 3D object files that I have successfully loaded on the map. Also i have set the pivots of each board so that when the map is rotated, the name boards are also rotated along with the map.

Now the problem is that when the map is rotated, the name board gets turned and after certain degree of rotation, the name board is not readable as it is rotated along with the map. But I need the name board to keep facing the camera.

I had tried by changing the pivot to object center so i can rotate the board in opp direction when the map is rotated. After this I again change the pivot to the center of the map and rotate the object by multiplying the angle with (-1.0). But this makes the map stand still in one place and map along gets rotated. I have used the below code. Pls indicate what i am doing wrong?

public void onDrawFrame(GL10 gl) {
.
.
//poi is the name board 3D object model
poi.setRotationPivot(df); // where df is the changed simple vector referring the center of the map
poi.rotateY(touchTurn); // to rotate along with the map
poi.setRotationPivot(new SimpleVector(poi.getCenter())); // to get the object's own enter for self rotate
touchTurn = (float) (touchTurn * -1.0);  // change the angle to opp direction
poi.rotateY(touchTurn);   // for self rotation
.
.
}

I have been breaking my head to resolve this.  Need urgent solution as i need to complete my assignment.

Pages: [1]