On Fri, 6 Dec 2013 00:18:58 +0100 Andreas Volz <[email protected]> said:
> Hello, > > I've the use case to develop a digital cluster instrument demo with > Edje or Elementary. Main element are two rotating pointers as on this > mechanical device, but with a big display: > > http://www.passatplus.de/umbauten/kombiinstrument/tachoringe.jpg > > My requirement is that that speed should be around 400°/sec rotary > speed without visual bad result. > > I developed two first demos. One with a 2D image which is rotated with > a edje map. Another with a prerendered pointer for each angle. Both > solutions work, but visual effect is bad for very fast rotating > pointers. have you looked at the tacho used for cpufreq in e? it does a separate shadow object that is "below" the dial so its in the right position (split shadow out from the dial needle itself). it's always looked rather nice to me... shadow is correct, dial can rotate any way i like and at any speed... > I would prefer a solution where I draw a 3D pointer (maybe even with > shadow) as 3D model with OpenGL and hand optimized calls. How do I put > this in the Edje design? Is it possible to create a new widget type > where I directly use OpenGL calls to draw my pointer? swallow in edje + smart object or elm glview + evas gl... :) > How would you solve this? > > regards > Andreas > > -- > Technical Blog <http://andreasvolz.wordpress.com/> > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
