From: Rafael B. <raf...@gm...> - 2012-11-14 15:46:31
|
Yes, the graphics2d and -3d differ in some aspects (such as the drawpolygons). I prefer the 3d because of the OpenGL like drawing. Good luck! Raf On 14 November 2012 16:33, Toon Van Assche <too...@gm...> wrote: > Dear Raf, > > Graphics3dProxy didn't work (no DrawPolygon function) but > Graphics2dProxy with your solution did work! > Here is what I did: > > # .world > floorplan > ( > (...) > name "floor" > ) > > # .cnf > driver > ( > name "stage" > provides ["graphics2d:0] > model "floor" > ) > > Now I can use the "Graphics2dProxy gp1(&robot,0);" in my code > (main.cpp) without throwing exceptions. > The code I used draws something square-like but now I can easily > adjust this code to draw my particles. > Really appreciate your help Raf! > > Regards, > > Toon > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > |