svg pipeline to panda3d

Why can’t Cairo and RSVG be the answer? They are cross-platform afaik.

  1. SVG (just xml text)
  2. –> lxml --> objects in ram
  3. –> manipulate as required
  4. –> RSVG render_Cairo (to context)
    (or parse and draw ‘manually’ with Cairo.)
  5. –> Transfer bitmap to Panda.

Step 5 is hackey, to say the least – I didn’t have time to get a working result.
(I got a lot of crazy-looking effects that reminded me of my old Z80A days in front of a television on my Spectravideo-318!)

I have mentioned this before; in another thread; what is it that the Clutter-Project peeps are doing that is working so well? In that world you can draw textures in pure Cairo (or via RSVG) and have singing-dancing polygons without any sweat.

\d