Menu

#387 meshlabserver crashes with Ambient Occlusion Script

v1.0_(example)
closed
None
1
2014-04-16
2014-04-15
Sebastian
No

I tried to apply ambient occlusion filter using the meshlabserver and a mlx
script. Unfortunately the server crashes. I tested with different models
and different parameters, but the crash occurred always. Below you will
find the console output.

meshlabserver -i Twingo/twingo_cleaned.stl -o Twingo/twingo_empty.stl -s
Scripts/AmbientOcclusion.mlx -om vn fn
Input mesh C:/Users/skn/Desktop/Test/Twingo/twingo_cleaned.stl
output mesh C:/Users/skn/Desktop/Test/Twingo/twingo_empty.stl
script C:/Users/skn/Desktop/Test/Scripts/RemoveHiddenGeometry.mlx
Output mask:
vertex normals, face normals, Loading Plugins:
Current Plugins Dir is: C:/Users/skn/Desktop/Test/MeshLab/plugins
Total 237 filtering actions
Total 13 io plugins
Opening a file with extention stl
Mesh twingo_cleaned.stl loaded has 2862936 vn 954312 fn
Apply FilterScript: 'C:/Users/skn/Desktop/Test/Scripts/AmbientOcclusion.mlx'
FilterScript
Reading filter with name Ambient Occlusion - Per Vertex
Reading Param with name dirBias : RichFloat
Reading Param with name reqViews : RichInt
Reading Param with name coneDir : RichPoint3f
Reading Param with name coneAngle : RichFloat
Reading Param with name useGPU : RichBool
Reading Param with name useVBO : RichBool
Reading Param with name depthTexSize : RichInt
Reading filter with name Select Faces by Vertex Quality
Reading Param with name minQ : RichDynamicFloat
Reading Param with name maxQ : RichDynamicFloat
Reading Param with name Inclusive : RichBool
Reading filter with name Delete Selected Faces and Vertices
Starting Script of 3 actionsfilter: Ambient Occlusion - Per Vertex
----------AngleRad 0.523599 Angledeg 30.000000 ratio 0.066987 vn 128 vn2
1910
asked 1910 got 4098 (expecting 274 instead of 128)

Discussion

  • Guido Ranzuglia

    Guido Ranzuglia - 2014-04-16

    The bug has been fixed in the current version of the MeshLabServer code...that will be committed on the MeshLab SVN repository on the 26th May 2014...
    Thanks for the report!

     

    Last edit: Guido Ranzuglia 2014-04-16
  • Guido Ranzuglia

    Guido Ranzuglia - 2014-04-16
    • status: open --> closed
    • assigned_to: Guido Ranzuglia
     
  • Sebastian

    Sebastian - 2014-04-16

    Thanks for replying so quickly!

    Is there a possibility to get a patch before 26th of may?
    If you don't want to release any code before that date, is there the possibility to obtain a precompiled version of meshlabserver with that fix?

    Best regards

     

Log in to post a comment.