[JAVA3D] Obtaining rotation

2004-10-27 Thread Pasquale Di Gaetano
Good morning! I've a problem: i'm composing a 3d-scene using java 3d and i'm using the mouse to move the camera across my scene. When the user has selected his favourite camera view, the program should call the Pov-Ray raytracer, passing the camera position and all the objects and lights, to creat

Re: [JAVA3D] Example of code that distorts an image/texture to create a new one

2004-10-27 Thread Alessandro Borges
take a look at Java2D API. There is a lot of image operations available, including transforms, rotations, etc. At Java2D demo you can see some examples. Alessandro --- Thierry Milard <[EMAIL PROTECTED]> escreveu: > Hello java3d, > I am greatly looking for a way > A) to take a image, > B) to dist

[JAVA3D] mipmapping

2004-10-27 Thread Rolf Gabler-Mieck
Hi, I created mipmaps in the following method: private Texture[] makeTexture(Image[] img, int groesse){ int imghoch,imgbreit,imglvl; TextureLoader texloader=null; Texture[] textures=new Texture[img.length]; for(int i=0;i Texture.RGBA,imgbreit,imghoch); imglvl=0;

[JAVA3D] about geometry picking is next one ...

2004-10-27 Thread Rolf Gabler-Mieck
Hi again, there's another problem I got with geometry-picking I load geometry from an OBJ-File (some polygones...) after the BranchGroup is filled up with the data from the file I'm doing this: public BranchGroup getLoadedFile(){ BranchGroup sceneRoot = new BranchGroup(); TransformGroup szene

Re: [JAVA3D] about geometry picking is next one ...

2004-10-27 Thread Alessandro Borges
You must transverse the scene graph and set the proper capability bit. I have some code about Scene object transverse. Test,debug and change to meet your needs. Good Luck Alessandro //* /** * Transverse not compiled not live Scene, setting *

Re: [JAVA3D] about geometry picking is next one ...

2004-10-27 Thread Rolf Gabler-Mieck
phew, well, this works now ! Many thanks !!! after a bit of changing now it works as desired ! best regards rolf Alessandro Borges schrieb: You must transverse the scene graph and set the proper capability bit. I have some code about Scene object transverse. Test,debug and change to meet your needs