Re: [JAVA3D] more than two images in one face of a cube and every face with different images

2005-03-13 Thread H. Ding
Hi Alessandro and Ben, Thanks for you all. I am sorry I am not clear of my problem. With the sample code, I can add 2 or more images/icons to one cube face, but this is static and the images are overlapped. As you know, I can manully manage the location, so the multiple images will not overlap,

Re: [JAVA3D] more than two images in one face of a cube and every face with different images

2005-03-13 Thread Alessandro Borges
Hi, Ding   By using TextureUnitState you can mix your textures at runtime and show then. Of course a alpha channel can be nice, but you can create a method to add alpha channel , as well mix alpha mask   As Ben told, you can use Java2D to mix images into a single one. And with this new image (actua

Re: [JAVA3D] more than two images in one face of a cube and every face with different images

2005-03-13 Thread Alessandro Borges
Check at JavaAlmanac http://www.javaalmanac.com/ about same sample codes (search for image/images etc)Alessandro Borges <[EMAIL PROTECTED]> wrote: Hi, Ding   By using TextureUnitState you can mix your textures at runtime and show then. Of course a alpha channel can be nice, but you can create a me

Re: [JAVA3D] Fill a close LineStripArray with color

2005-03-13 Thread Omer Haybat
Thanks a lot Mark, ive done what you said. it works good. But now i have a huge polygon (with 40.000 vertexes). Do you think that it will be fast enough for activ zooming or rotating? (on a P3 machine). Desc: I have a world map. The program reads the coordinates from an .eps file which is bigger th