Re: [Paraview] Desktop-delivery and LOD settings: no influence?

2012-06-21 Thread Paul Melis
Hi Utkarsh, I looked a bit into the code and the values used in pqGlobalRenderViewOptions::applyChanges() seem to be okay, e.g. void pqGlobalRenderViewOptions::applyChanges() { ... if (this-Internal-enableLOD-isChecked()) { printf(pqGlobalRenderViewOptions::applyChanges():

Re: [Paraview] Desktop-delivery and LOD settings: no influence?

2012-06-21 Thread Paul Melis
Ok, great. Actually just tried a few older PV versions, still seemed to work in 3.8.1, but 3.10.1 is where the bug shows up. Does that sound like the right timeline? Paul On 06/21/2012 12:15 PM, Utkarsh Ayachit wrote: Paul, Thanks for tracking this down. I think I know the problem. I

Re: [Paraview] Desktop-delivery and LOD settings: no influence?

2012-06-21 Thread Utkarsh Ayachit
Paul, Attached is the patch. It is possible to have been introduced around 3.10. I cannot remember when the views were refactored 3.10 or 3.12, but that would be the time when it would have stopped working. http://paraview.org/Bug/view.php?id=13255 Utkarsh On Thu, Jun 21, 2012 at 6:35 AM,

Re: [Paraview] Desktop-delivery and LOD settings: no influence?

2012-06-21 Thread Paul Melis
Thanks for the patch. I applied it but get really strange results I can't quite explain. I can see the correct values now appearing in vtkGeometryRepresentation::ProcessViewRequest() and the correct division value is set on the decimator (e.g. getting the X division value after being set returns

Re: [Paraview] Desktop-delivery and LOD settings: no influence?

2012-06-21 Thread Utkarsh Ayachit
Paul, What version did you apply the patch to? Utkarsh On Thu, Jun 21, 2012 at 8:14 AM, Paul Melis paul.me...@sara.nl wrote: Thanks for the patch. I applied it but get really strange results I can't quite explain. I can see the correct values now appearing in

Re: [Paraview] Desktop-delivery and LOD settings: no influence?

2012-06-21 Thread Utkarsh Ayachit
With git-master, I verified that changing the slider indeed changes the LOD refinement for a Sphere (phi/theta resolutions = 800). Also try running ParaView with -dr option just to avoid any anomolies due to the settings (for me, however, it works fine even when -dr isn't specified.) Utkarsh On

Re: [Paraview] Desktop-delivery and LOD settings: no influence?

2012-06-21 Thread Paul Melis
I applied it to the 3.14.1 sources. Perhaps I should indeed switch to the git version. Is the 3.14 client compatible with the server code in git? On 06/21/2012 02:22 PM, Utkarsh Ayachit wrote: With git-master, I verified that changing the slider indeed changes the LOD refinement for a Sphere

Re: [Paraview] Desktop-delivery and LOD settings: no influence?

2012-06-21 Thread Paul Melis
Argh, I see that git needs Qt 4.7.x :-/ On 06/21/2012 02:26 PM, Paul Melis wrote: I applied it to the 3.14.1 sources. Perhaps I should indeed switch to the git version. Is the 3.14 client compatible with the server code in git? On 06/21/2012 02:22 PM, Utkarsh Ayachit wrote: With

Re: [Paraview] Desktop-delivery and LOD settings: no influence?

2012-06-21 Thread Paul Melis
Forcing delivery (whatever that means ;-)) in vtkGeometryRepresentation::ProcessViewRequest() seems to solve it with 3.14.1: bool lod = this-SuppressLOD? false : (inInfo-Has(vtkPVRenderView::USE_LOD()) == 1); if (lod) { if (inInfo-Has(vtkPVRenderView::LOD_RESOLUTION()))

Re: [Paraview] Desktop-delivery and LOD settings: no influence?

2012-06-21 Thread Utkarsh Ayachit
Ah ok.its a very bad thing to do, but it's no longer needed in git-master so I'll not think too much about it :). Utkarsh On Thu, Jun 21, 2012 at 9:04 AM, Paul Melis paul.me...@sara.nl wrote: Forcing delivery (whatever that means ;-)) in vtkGeometryRepresentation::ProcessViewRequest() seems to