-
-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 290 export to SVG #588
Conversation
Here are the build results |
We use sign-off on our commits - see: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, it looks good, although my personal preference is no background color. 😄
I'm trying to figure out if there's a high-res Mac issue because of the scaling ratio. I'll post a some examples.
Yeah, it's not a resolution / scaling issue - it seems to just be aggressive culling |
Signed-off-by: serk12 <marc.prat.maso@estudiantat.upc.edu>
Signed-off-by: serk12 <marc.prat.maso@estudiantat.upc.edu>
Signed-off-by: serk12 <marc.prat.maso@estudiantat.upc.edu>
Signed-off-by: serk12 <marc.prat.maso@estudiantat.upc.edu>
I think we have a OS problem on the |
No, that's the background color I set. 😄 |
Code looks much better - @cryos do you want to take a look too? |
Here are the build results |
To make this clear, this fixes #290 |
"" | ||
) | ||
|
||
target_link_libraries(SVG LINK_PRIVATE Qt5::Svg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should combine into a single line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think pretty much all the plugins have been using multiple lines here, so let's work on that in a separate change.
@@ -0,0 +1,277 @@ | |||
#include "svg.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing copyright header, consider using the short one in array.h I think
@@ -0,0 +1,102 @@ | |||
/****************************************************************************** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider the short copyright header without name or year.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to head out, but took a quick look, haven't had a chance to build/play with it yet. It looks cool, I pointed out a few minor tweaks that you could make. Look forward to playing with it more next week when I have time in front of a compiler.
Just wanted to mention that it looks good to go. I wanted to wait for @cryos on this one, and it's a holiday weekend here in the States. |
Signed-off-by: serk12 <marc.prat.maso@estudiantat.upc.edu>
Here are the build results |
The Mac build is on me - I'll take a look after this is merged. |
I've added the SVG "ball and stick" export button. following #290 issue.
Some important notes are:
frustrumCulling
function is too conservative and I don't know exactly why