hi, sorry in advance for bad language, not that good at english nor programming, so i’m having trouble expressing myself explicitly regarding to the programming issues =)
me and some mates are doing this school project, where we are supposed to develop some software in which the user should be able to place shapes such as:
- circles & ellipses, closed or open (like a pie missing one piece of pie =), without the lines from circle centre to the border )
- bezier curves
- straight lines
- parabolas
… into a 2-dimensional plane.
these shapes will be given a certain height, and both sides (of the shape, inside/outside) will be given different parametres regarding to absorption og diffusing (dont know if these are the english word for it) of the surfaces.
further on, we are supposed to render this into a 3d-picture, showing some advanced caustics.
the display of these caustics is the main point of the software, as the user of the software wants to get the specific measures of these shapes, so that they can reproduce this setting and caustics in real life. ( they are artists of some kind)
only thing we DO know, is that the GUI will be programmed in Java.
We’ve found several helpful classes in the Graphics2D for modelling 2d-shapes, but cant seem to find any way to get these shapes into a Java3D context…
So: IS there a way to do it by the help of Graphics2D shapes?
We’ve looked into the Java3D API as well, but there seem to be little or none classes that could help our “shaping needs” in such a way as Graphics2D can…
Or is it?
Finally, if the answer to the 2 questions above is NO; which API would you recommend for us?
Or do you have any other ideas?
thanks in advance,
lars petter
NORWAY