Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] problem of shaders in poisson reconstruction demo

Subject: CGAL users discussion list

List archive

[cgal-discuss] problem of shaders in poisson reconstruction demo


Chronological Thread 
  • From: shelling343 <>
  • To:
  • Subject: [cgal-discuss] problem of shaders in poisson reconstruction demo
  • Date: Sat, 21 May 2011 00:57:03 -0700 (PDT)

Hi,

I am trying the Surface_reconstruction_point_3 demo. All compiling and
linking process are Ok. But when running the executable file, errors occur.
The console messages like these:

### Loading "libPS_demo_average_spacing_plugin.so"...
### Loading "libPS_demo_cleaning_plugin.so"...
### Loading "libPS_demo_inside_out_plugin.so"...
### Loading "libPS_demo_local_spacing_plugin.so"...
### Loading "libPS_demo_normal_estimation_plugin.so"...
### Loading "libPS_demo_off_plugin.so"...
### Loading "libPS_demo_poisson_plugin.so"...
### Loading "libPS_demo_simplification_plugin.so"...
### Loading "libPS_demo_smoothing_plugin.so"...
### Loading "libPS_demo_xyz_plugin.so"...
SplatRenderer: warning floating point textures are not supported.
Succesfully loaded shader func 'VisibilityVP' in file 'Raycasting.glsl'
Succesfully loaded shader func 'VisibilityFP' in file 'Raycasting.glsl'
Succesfully loaded shader func 'AttributeVP' in file 'Raycasting.glsl'
Succesfully loaded shader func 'AttributeFP' in file 'Raycasting.glsl'
Succesfully loaded shader func 'Finalization' in file 'Finalization.glsl'
Shader info :
linking with uncompiled shaderlinking with uncompiled shader
Shader info :
linking with uncompiled shaderlinking with uncompiled shader
Shader info :
linking with uncompiled shader
Point_set_demo:
/home/hushell/Downloads/CGAL-3.8/demo/Surface_reconstruction_points_3/GlSplat/Shader.cpp:92:
void GlSplat::Shader::activate() const: Assertion `mIsValid' failed.
Aborted

I am using Ubuntu 10.04 with 32bits CPU. I have followed the suggestion in:
http://cgal-discuss.949826.n4.nabble.com/Re-Error-by-compiling-poisson-reconstruction-example-td2268101i20.html
, in which Laurent said comment the line findpackage(GLEW) in CMakeList.txt
to disable the GlSplat rendering. Although no errors show up, but loaded
data is invisible. So I guess GLEW is necessary in my case. but how can I
address the shader problem?

Thanks a lot.

-Shelling

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/problem-of-shaders-in-poisson-reconstruction-demo-tp3540279p3540279.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


  • [cgal-discuss] problem of shaders in poisson reconstruction demo, shelling343, 05/21/2011

Archive powered by MHonArc 2.6.16.

Top of Page