Hi...
 
I want to make a rotating globe with texture on it, and if I click on one continent, it will display pop up text, change that continent's color and open another image.
But I don't know much about Java3D..
Please check this step :
1. Get trianglearray from the image
2. Create object for each triangle
3, If user clicks mouse on one point, pick the closest triangle
4. Find if that triangle is a part of one active area
5. If yes, get information from the active area
6. Display text on it
 
Please tell me whether I'm in a correct path or not.
The step no. 4 is still not clear for me actually. I plan to put information about active areas in one file which contains coordinates (in polygon shape) for each active area.
I want to ensure several things :
1. What is actually the result of TriangleArray ? If I have a world map with no country boundaries, just continents, will it bring me to all those continents?
2. Can I pick the triangle object?
 
And if somebody here can give me advice to find out how to give color to one area, I would really appreciate it.
 
Thanks...I'm waiting for your comments.
 
Regards,
Tria

Reply via email to