Hello,
i want to load 2 images in jreality to get one picture.
I allready found that the method loadFile(File file) read the file and returned a SceneGraphComponent and then
this SceneGraphComponent will be set as Content in the Content object.
Also i read the first file and the second file.
And now i try to create from both SceneGraphComponents only one, that then
will be set as Content. But i don't know, how?
Is this the right way? Can anyone help, please.
Anke
load 2 images together
Re: load 2 images together
just create a SceneGraphComponent and set the two components that you have loaded as its children. Then set this SceneGraphComponent as the content.
Re: load 2 images together
Hello steffen,
i have done, what you describe.
But now the two images are side by side.
What i want is, merge both images to one image.
For example: loading a image of a screw and a image of a screw nut -> show the image, where the srew and the screw nut are combined.
i have done, what you describe.
But now the two images are side by side.
What i want is, merge both images to one image.
For example: loading a image of a screw and a image of a screw nut -> show the image, where the srew and the screw nut are combined.
Re: load 2 images together
Thanks to steffen,
he has given me the clue to use the class MatrixBuilder and now i have found a solution.
Anke
he has given me the clue to use the class MatrixBuilder and now i have found a solution.
Anke