{"id":696,"date":"2011-05-05T11:00:00","date_gmt":"2011-05-05T11:00:00","guid":{"rendered":"http:\/\/pycheung.com\/weblog\/?p=696"},"modified":"2012-12-10T17:30:35","modified_gmt":"2012-12-10T17:30:35","slug":"pymgl_svg","status":"publish","type":"post","link":"https:\/\/www.pycheung.com\/weblog\/post\/696","title":{"rendered":"pyMGL_SVG"},"content":{"rendered":"<p>          <a href=\"http:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/rasterisedoutput.jpg\" title=\"rasterisedoutput.jpg\">            <img loading=\"lazy\" src=\"http:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/zrtn_001n6f6715f5_tn.jpg\" style=\"BORDER-BOTTOM: #000000 1px; BORDER-LEFT: #000000 1px; BORDER-TOP: #000000 1px; BORDER-RIGHT: #000000 1px\" height=\"362\" width=\"800\" alt=\"rasterisedoutput.jpg\" border=\"0\"\/>          <\/a>          <a href=\"http:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/pyMGLscreenshot.jpg\" title=\"pyMGLscreenshot.jpg\">            <img loading=\"lazy\" src=\"http:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/zrtn_002n328e11f8_tn.jpg\" style=\"BORDER-BOTTOM: #000000 1px; BORDER-LEFT: #000000 1px; BORDER-TOP: #000000 1px; BORDER-RIGHT: #000000 1px\" height=\"362\" width=\"800\" alt=\"pyMGLscreenshot.jpg\" border=\"0\"\/>          <\/a> <br \/>top: svg vector graphic output composite: vector graphic on top of mental ray render (rasterized for weblog) <br \/>bottom: playblast maya viewport with some maya geometry and drawing with pyMGL <\/p>\n<p>Convert maya viewport drawing through pyMGL custom drawing of scripted entities i.e. points\/line to vector graphics with matching mental ray\/hardware render that can be edited in inkscape\/illustrator for diagrams\/documentation <br \/>Current issues: no depth sorting, inaccurate circle projections, require file convertion (svg to pdf) for after effects<\/p>\n","protected":false},"excerpt":{"rendered":"<p>top: svg vector graphic output composite: vector graphic on top of mental ray render (rasterized for weblog) bottom: playblast maya viewport with some maya geometry and drawing with pyMGL Convert&#8230;<\/p>\n<div class=\"royalwp-readmore-wrap\"><a href=\"https:\/\/www.pycheung.com\/weblog\/post\/696\" class=\"royalwp-readmore\">Explore more <i class=\"far fa-hand-point-right\"><\/i><\/a><\/div>\n","protected":false},"author":2,"featured_media":1152,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[158],"tags":[34,60,75,109],"_links":{"self":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/696"}],"collection":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/comments?post=696"}],"version-history":[{"count":1,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/696\/revisions"}],"predecessor-version":[{"id":1019,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/696\/revisions\/1019"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media\/1152"}],"wp:attachment":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media?parent=696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/categories?post=696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/tags?post=696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}