[Paraview] Incorrect shading results in ParaViewWeb Local(VGL) mode
Junjie Xue
bitxue at foxmail.com
Mon Jan 18 11:29:48 EST 2016
Managed to display the data file in 'deprecated' mode. the black area
now display as transparency, looks like holes on the model.
在 2016/1/19 0:11, Sebastien Jourdain 写道:
> From the source tree it will be in
>
> {VTK-src}/Web/JavaScript/Lib/vtkweb.viewport.webgl.js
>
> Which will be gathered inside
>
> {www}/lib/core/vtk-web-all.js
>
> On Mon, Jan 18, 2016 at 9:01 AM, Junjie Xue <bitxue at foxmail.com
> <mailto:bitxue at foxmail.com>> wrote:
>
> Hi, Sebastien,
>
> Thanks for your quick reply!
>
> I need to modify the frustum parameter(modify the 'far' value from
> 1e4 t 1e5) to test the model in 'deprecated' mode. The code of
> 'local(cgl)' mode is located in '/.../ext/core/vgl.min.js'. Do you
> know where is the WebGL code of 'deprecated' mode?
>
> Best,
> Junjie
>
> 在 2016/1/18 23:36, Sebastien Jourdain 写道:
>> Did you try the other WebGL option that is marked 'deprecated' ?
>>
>> On Mon, Jan 18, 2016 at 1:12 AM, Xue Junjie <bitxue at foxmail.com
>> <mailto:bitxue at foxmail.com>> wrote:
>>
>> It seems the Local(VGL) rendering mode in ParaViewWeb has
>> issues with some model files.
>>
>> How to reproduce the issue:
>> open the visualiser, selecte the data file: 'can.ext2'.
>> Under 'Remote mode': all is ok, no issue
>> Under 'Local(VGL) mode': if the model is zoomed out to a
>> certain distance, some faces on the model is shaded black.
>>
>> I guees this is caused by the rendering mechanism differences
>> between Paraview and ParaViewWeb . This issue exists in both
>> paraview4.3 & 4.4, anyone knows how to solve it? or any other
>> solutions the get correct rendering results in Local(VGL)
>> mode? Thanks in advance!
>>
>> Junjie Xue
>> Beihang University
>> _______________________________________________
>> Powered by www.kitware.com <http://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
>>
>> Search the list archives at:
>> http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160119/59d58a00/attachment.html>
More information about the ParaView
mailing list