Page MenuHome

svg exporter & viewport render
Closed, ArchivedPublic


System Information
Win7x64 GTX660M

Blender Version
Broken: 2.73

Short description of error
there are two bugs:

  1. internal viewport rendering is not working (unless you do f12 render),
  2. doing blender internal viewport rendering appended to svg file

Exact steps for others to reproduce the error
open prepared simple blend

for first problem with viewport rendering not working just hit f12 render to create svg file
and after that there comes second issue - enable viewport rendering (now it works), rotate view and see how svg file goes bigger in size also you can open it to see that every viewport render is appended to this file.

besides that this is very cool - thx for great work



Event Timeline

Czarek Kopias (kopias) set Type to Bug.
Czarek Kopias (kopias) created this task.
Czarek Kopias (kopias) raised the priority of this task from to Needs Triage by Developer.
Julian Eisel (Severin) triaged this task as Needs Information from User priority.

If I understand correctly you mean the freestyle part is not working in the viewport rendering? Or is the viewport not rendering in general? In this case better to open 2 separate reports.

the freestyle line rendering is not working (internal is ok) when you enable svg exporter unleass the *.svg file is created wich takes place when do f12 render

Thanks @Czarek Kopias (kopias) for the bug report. I confirmed the issue on my side. I will look into the problem.

I believe disabling SVG export entirely during viewport preview is the way to go. Generated SVG files are likely intermediate results and not supposed to be final output.

Plus, unlike the case of F12 rendering, none of render_init, render_write, render_pre and render_complete callback functions are executed in the case of viewport preview. The SVG export addon relies on these callbacks to get things done behind the scene.

We then need a reliable way to check if the Freestyle rendering process at hand is for viewport preview. Since none of the render callbacks are out of service, I feel like we need to employ something like proposed in the patch D921 (at the moment the checking is not done properly but that is easy to fix).

@Campbell Barton (campbellbarton), do you have any thoughts on this matter?

Tamito Kajiyama (kjym3) raised the priority of this task from Needs Information from User to Confirmed, Medium.Jan 26 2015, 3:27 AM