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

Pages: [1]
1
Support / Laser Alps MID-782 Android 4.4.2
« on: October 07, 2016, 05:04:46 am »
Hi All,

Has anybody tested a JCPT-AE app on the Laser Alps MID-782? I have an AR project which works great on my Samsung Galaxy S24G, however when testing the device on the Laser tablet, I simply get a grey screen? No errors or anything that stands out in the log? Not sure where else to start looking?

Ace

2
Support / Pause, resume and restart
« on: February 24, 2013, 10:54:51 pm »
Hi Egon,

In your examples you have a function to copy a "master" activity if it does not exist and this is used to handle pause resume. I have extracted the renderer into a standalone class, therefore myActivityClass.this in your renderer does not work for me. Do you have another solution for handling pause and resume? Android activity and GLSurfaceView states are driving me crazy trying to work this out...

3
Support / Virtualizer and storing models (.ser) on SD card
« on: February 08, 2013, 12:27:40 am »
Hi Egon,

Just wondering if you could show an example of using the virtualizer for transferring texture data to SD card. I would also like to store my models on SD card, is this a matter of using the correct path to the SD card??

Thanks in advance.

4
Support / Polylines
« on: October 23, 2012, 12:29:07 am »
Hi All,

I'm thinking I may be able to derive polylines from my models? In the snippet below I am assigning multi textures via the polygon manager. Do you think it may be possible to use modulus to create the polylines at equal intervals? Something like : if (vertextHeight.z % 10 = 0), polylineVertexs.append(vertexHeight.x, vertextHeight.y, vertexHeight.z), new Polyline(polylineVertexs) ??

Code: [Select]
for (Object3D obj : models) {
PolygonManager objPolyManager = obj.getPolygonManager();

// for each polygon set texture according to normalised vertex elevations
for (int i = 0; i < objPolyManager.getMaxPolygonID(); i++) {
float u0 = 0, u1 = 0, u2 = 0;

for (int j = 0; j < 3; j++) {
SimpleVector vertexHeight = objPolyManager.getTransformedVertex(i, j);
float normalisedHeight = (vertexHeight.z - MIN_Z)/(MAX_Z - MIN_Z);

if (j == 0) {
u0 = normalisedHeight;
}
else if (j == 1) {
u1 = normalisedHeight;
}
else if (j == 2) {
u2 = normalisedHeight;
}
}

TextureInfo ti = new TextureInfo(tm.getTextureID("esri_color_scale"), u0, u0, u1, u1, u2, u2);
objPolyManager.setPolygonTexture(i, ti);
}
world.addObject(obj);
}

5
Support / Camera.setPosition
« on: September 18, 2012, 07:21:51 am »
Hi,

How can I get the difference in z between the camera position and the terrain beneath the camera at its current position?

I want my camera position to always be at 2 units above the terrain.

Thanks in advance..

6
Support / Multiple textures on a terrain
« on: August 24, 2012, 06:26:26 am »
Hi All,

I have a .ser model that I am loading onto a GLSurfaceView for an Augmented Reality app I am building. So far I am using a single texture. I would like to use different textures based on the height of the polygon in my model.

What is the best way to approach this?

Thanks in advance...

Pages: [1]