Hi,
Le 13/09/2014 11:05, kilon alios a écrit :
have integration with Blender so my idea now is to drop Hyperion and instead make the GUI inside Blender and export it as a set of animatable bitmaps.
I am curious. You mean rendering Bitmap from blender, for later use in Pharo UI?
My dilemma is what graphic library to use : a) Morphic b) Athens or c)Roassal
I will suggest bare bone Morphic mainly, then Athens when you need vectorial drawing.
What I need is the following: 1) Ability to render small bitmaps fast and do animation , big bitmaps will be mostly static used for backgrounds
You can do that from Athens over Morphc canvas.
2) Basic interaction ability , mouse left and right click , mouse drag , mouse click press and release events. Of course keyboard events too
no problem
3) The ability to scale up and down images with minimum distortion
For iStoa I decided to go purely Morphic, I have a lot of bitmap. Bitmap source is SVG, then converted to PNG, overscaled for production use. Then from iStoa, depending on the application window extent, the bitmap are downscaled accordingly, I am pretty satisfied by the result.
4) The ability to render text smoothly and scale it up and down
That's may be more tricky. I have issue to deal with when migrating DrGeo to Athens regarding text. I forgot about the details, but the hacks are in the Morph object for text rendering in DrGeo.
Igor was very kind to help accurately on those problems.
5) Transparency also plays a big role in layering those images
Never dig on that, I may need that for DrGeo when importing bitmap.
I think so far that Roassal is the best candidate because it also integrates well with Morphic and Athens. Also I may still need some vector graphics for example charts or dynamic graphics that will depend on user input that would not be suitable to do strictly with SVG so the morphic option is getting weaker and weaker.
Sure. The downpoint, you will depend on one additional layer.
I wanted a second opinion though since you are much more experienced than me. I may also create an API for creating such GUIs with Blender for Pharo.
Nice. What will be the expected outcomes of such API, I am not sure to understand and I am curious.
Another thing I am wondering is how to download all these images to Pharo , what you guys use to do download big data to Pharo , maybe Fuel ?
Images=pictures? Use plain PNG files! Use fuel to store the state of your application objects. Good work! Hilaire -- Dr. Geo - http://drgeo.eu iStoa - http://istao.drgeo.eu
