I need to create accurate scientific graphs that I can apply to Quads and to the faces of cylinders within JME3 (which I understand will be an array of Quads, anyhow).
My needs will include some form of
- drawLine(X1, y1, x2, y2, width, ColorRGBA)
- fillRect(int x1, int y1, int x2, int y2, ColorRGBA)
- printString(String chars, int x1, int y1, ColorRGBA, etc, etc)
I'm a bit confused by Image, Texture, and Material and see no clear means within Image (which I gather is the final source of this bitmap) to supply its data except upon construction.
Should I be using Java2D to create these images, and somehow there and then to hand these into the JME world of Images and Textures? Will I be able to semi-efficiently alter textures in a dynamic manner? Limited whiteboarding may be nice.
Thanks for any direction to get me started.