|
How to add an image to the Wall in SurfaceChart |
Posted by Martin Faszinka on Feb-04-2010 00:24 |
|
Hello,
i'm currently experiencing problems with adding an image to the SurfaceChart.
Tried the setWallpaper & setBGImage methods but both didn't scale with the viewAngle.
Means -> when i call setViewAngle then the background is static flat.
I guess the best way would be to put the image to the Wall.
But there is no way doing so or i'm missing something?
Help appreciated
Thanks |
Re: How to add an image to the Wall in SurfaceChart |
Posted by Peter Kwan on Feb-04-2010 16:15 |
|
Hi Martin,
Unluckily, there is no method to add an image to the walls of a surface chart. There are only methods to add the image to the background of the surface chart (setWallpaper and setBGImage).
Regards
Peter Kwan |
Re: How to add an image to the Wall in SurfaceChart |
Posted by Martin Faszinka on Feb-04-2010 16:29 |
|
Hey Peter
Do you plan to implement a feature like this in a further release?
Either setting an image to the wall or place an image inside the chart.
Would be nice to see this
Thanks
P.S. we are using Java, just forgot to mention it |
Re: How to add an image to the Wall in SurfaceChart |
Posted by Peter Kwan on Feb-05-2010 02:13 |
|
Hi Martin,
Currently, we do not really have a plan for such a feature. It may or may not be available in a future release.
The feature you mentioned is not easy to implement. The "wall", after rotation and perspective transformation, will become a quadrilateral in which the 4 sides are of different lengths and opposite sides are no longer parallel. It is very resource intensive to map an image to such a quadrilateral. In many realtime applications, this is done using hardware graphics acceleration. But the Java VM does not support this type of hardware graphics acceleration. Also, hardware graphics acceleration is not suitable for server usage (as the hardware graphics accelerators may not be good in handling concurrent operations from multiple threads and multiple processes simultaneously).
Regards
Peter Kwan |
|