Hello,

On 03/18/2014 09:12 PM, 郭晓新 wrote:
> I want to use vtk with scene graph, and I notice that opensg provides
> the integration with vtk. I build the whole code of opensg
> including  contributing code of vtk. But when I tried the test code
> provided in opensg package named testvtk, testvtkcluster
> and testvtkclusterconnect, they all crashed. So I want to know if it is
> the problem of vtk version compatibility that vtk version developer used
> is different from mine, which is vtk-5.10.0, or any other reasen that I
> don't know and how to fix it.

hmm, I've tried it now with the VTK package on my system (which is VTK 
5.8) and testVTK loads the example data "office.binary.vtk" and shows a 
visualization of it.

> To be specific,  the crash point is the line "file1->updateVolume();" in
> the testvtk code. I thought it might be the vtk data didn't be loaded
> correctly. But it didn't report any error or alert when I trace the
> whole code line by line from the beginning.

Does it produce any kind of printout before crashing? In particular 
while loading the VTK data a bunch of lines like the following should be 
printed:
0 550 | 549 541 20635
Mapper::execute 0x2a364c0
P : 0 | L : 0 | Poly : 0 | S : 120
Got normals 0 1 0x2c8ed50
Got colors 0 1 0 0x2c94480 (nil)

Do any of the other OpenSG test programs work and could you let us know 
which OS you are on? Thanks!

        Cheers,
                Carsten

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to