Main Menu
Menu

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.

Show posts Menu

Messages - hoangitk

#1
Dear Mr.EgonOlsen,

I found out why.

Because I forgot changing texture name between "textureLocation" and "textureSelectedLocation".

Best regards!

#2
Support / How to change texture after pick up a object
February 28, 2011, 01:51:06 AM
Dear all,

I would like to change the texture of picked object.
I have tried:

.....
if (event.getAction() == MotionEvent.ACTION_UP) {

if (System.currentTimeMillis() - time < 1000) {
Object3D clickedObj = renderer.PickObj(xpos, ypos);

if (clickedObj != null) {
// set prevClickedObj for tracking
if(prevClickedObj == null || !clickedObj.equals(prevClickedObj)) {
prevClickedObj = clickedObj;
}

statusInfo.setText(clickedObj.getName());
clickedObj.setTexture("textureSelectedLocation");

} else {
// uncheck clicked object
if(prevClickedObj != null) {
prevClickedObj.setTexture("textureLocation");
}
}
}
....


With purpose highlight a picked object.
But it is not effect.

Please kindly advise!

Thank you so much!
#3
Support / Re: Default XYZ Coordinate, default direction
January 25, 2011, 08:41:30 PM
Dear Mr.Thomas,

:) many thanks for your reply!

Have fun!
#4
Support / Default XYZ Coordinate, default direction
January 25, 2011, 07:14:37 PM
Dear all,

First, I have tried some time to get default XYZ coordinate and direction (NEWS).
The result runs well.

But today, the result is not correct as I think.

Everybody please kindly confirm below coordinate is correct or not?
And help me change if it is not correct.

Many thanks for your help!v :)

#5
Support / Re: How to fill a pattern on a plane
January 23, 2011, 05:46:05 PM
Thank you so much!  :)
#6
Support / How to fill a pattern on a plane
January 23, 2011, 05:21:06 AM
Dear everyone,

Please advise me how to fill a pattern on a plane with bigger size?

Some thing likes:



===>



Thank you!
#7
Support / Re: Blue transparent screen
January 21, 2011, 10:24:26 PM
Yes, sir.

Thanks!

I check again and change back to BLACK. And it is transparent as I want. :)
#8
Support / Blue transparent screen
January 21, 2011, 09:57:50 PM
Dear all,

I am developing a AR app.
Include:
Layers:
- Camera
- ARView with GLSurfaceView (using jPCT-AE): display object (latitude, longitude)
- Layout control: Compass, infomation status,...
- Logic: loading locations from server.

The screen can see camera. but ARView is blue in background like below:

I placed my phone on desk -> can see blue clearly.




Is blue default of screen color in JPCT-AE? How to change bg color of World?

Many thanks for yours help!
Sorry, if my E is not well. :D