Re: [Paraview] PDF export missing colors

2014-02-25 Thread David Lonie
Hi Jon,

Good, that was going to be my next suggestion -- disabling Interpolate
Scalars Before Mapping helps preserve colors that may otherwise be lost
during the export.

As far as the axis, I think that might be as good as it gets. In ParaView,
there are ways to render an object in an overlay so that it always appears
on top, but the gl2ps library (which is used to generate the pdfs from the
3d geometry) internally depth sorts all of the primitives, so any
overlay-tricks are ignored.

A workaround would be to add an Outline source that is the same size as the
axis you want, then enable it's axis and set the box's opacity to 0. This
will in effect give you a custom axis that you can resize/relocate anywhere
you'd like. By making it slightly larger than your geometry, it shouldn't
clash like the other axis.

Hope this helps,
Dave


On Tue, Feb 25, 2014 at 2:56 AM, Jon Vegard Venås zeti...@gmail.com wrote:

 A new problem arises though. How can I get the axis to be at the top
 layer:

 http://folk.ntnu.no/jonvegar/pdf/ydispNew.pdf


 2014-02-25 8:31 GMT+01:00 Jon Vegard Venås zeti...@gmail.com:

 I found a solution! I disabled Interpolate Scalars Before Mapping and I
 set Backface Representation to Cull Backface (the latter was to get
 around a bug). Thank you for your help!


 2014-02-25 8:02 GMT+01:00 Jon Vegard Venås zeti...@gmail.com:

 I found  Interpolate Scalars Before Mapping now. It is enabled.


 2014-02-24 21:46 GMT+01:00 Jon Vegard Venås zeti...@gmail.com:

 Where do I find Interpolate Scalars Before Mapping?

 Here is a screenshot of my window:

 http://folk.ntnu.no/jonvegar/pdf/screenshot.jpg


 2014-02-24 19:03 GMT+01:00 David Lonie david.lo...@kitware.com:

 Conversation moved here from:

 http://www.kitware.com/blog/home/post/508

 Jon,

 In the Coloring section of the Properties tab, what is selected in
 the drop-down box?

 Also, is Interpolate Scalars Before Mapping enabled?

  Dave




 --


 mvh
 Jon Vegard




 --


 mvh
 Jon Vegard




 --


 mvh
 Jon Vegard




 --


 mvh
 Jon Vegard

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] PDF export missing colors

2014-02-24 Thread David Lonie
Conversation moved here from:

http://www.kitware.com/blog/home/post/508

Jon,

In the Coloring section of the Properties tab, what is selected in the
drop-down box?

Also, is Interpolate Scalars Before Mapping enabled?

Dave
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview