1
\$\begingroup\$

I want to build web game in html5 with canvas/svg.

Can I convert/export file from blender to canvas/svg?

Maybe via unity3d?

\$\endgroup\$
3
  • \$\begingroup\$ I really doubt it. I assume that you want the game to scale nicely and thats why you want SVG? If so render your scene multiple times to different resolutions and send over the size that best fit the window/graphics settings. \$\endgroup\$ Apr 23, 2012 at 19:29
  • 2
    \$\begingroup\$ You do realize SVG is a 2D graphics format, right? I suppose you could export 3D curves as 2D vectors, or are you asking about rendering out images as vector graphics? Does Blender have a cartoon renderer? \$\endgroup\$
    – jhocking
    May 23, 2012 at 20:27
  • \$\begingroup\$ -1. It's unclear what is being asked here. What should be exported? A rendered image, or a 3D model ("file" is not specific enough)? Then again, why SVG (which is a 2D vector-graphics format). HTML5, canvas and SVG have basically nothing to do with Unity3D as well. \$\endgroup\$
    – bummzack
    Oct 15, 2012 at 15:18

2 Answers 2

1
\$\begingroup\$

Try Three.js and use the Blender to JSON.

\$\endgroup\$
0
\$\begingroup\$

There is this - Blender to WebGL Javascript exporter

\$\endgroup\$
2
  • 1
    \$\begingroup\$ Answering the wrong question perhaps? Exporting mesh data for WebGL doesn't help with Canvas and the project doesn't even mention SVGs. \$\endgroup\$ Apr 23, 2012 at 19:38
  • 3
    \$\begingroup\$ Ah, possible. WebGL, though, renders on canvas and this might help him achieve what he wants. \$\endgroup\$
    – Damir
    Apr 23, 2012 at 20:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .