svg exporter & viewport render #43300

Closed
opened 2015-01-17 22:02:42 +01:00 by Cezary Kopias · 14 comments

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 svg-exporter-bug.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

**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 [svg-exporter-bug.blend](https://archive.blender.org/developer/F137818/svg-exporter-bug.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
Author

Changed status to: 'Open'

Changed status to: 'Open'
Tamito Kajiyama was assigned by Cezary Kopias 2015-01-17 22:02:42 +01:00
Author

Added subscriber: @kopias

Added subscriber: @kopias

#44392 was marked as duplicate of this issue

#44392 was marked as duplicate of this issue
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

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.

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.
Author

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

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

Added subscriber: @flokkievids

Added subscriber: @flokkievids

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

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

Added subscriber: @ideasman42

Added subscriber: @ideasman42

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).

@ideasman42, do you have any thoughts on this matter?

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](https://archive.blender.org/developer/D921) (at the moment the checking is not done properly but that is easy to fix). @ideasman42, do you have any thoughts on this matter?

Added subscribers: @DanielGrauer, @kjym3

Added subscribers: @DanielGrauer, @kjym3
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

No activity here. Archiving.

No activity here. Archiving.
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#43300
No description provided.