Questions tagged [vcg]

The Visualization and Computer Graphics Library (VCG for short) is a open source portable C++ templated library for manipulation, processing and displaying mesh with use of OpenGL. Library page: vcg.isti.cnr.it/vcglib

24 questions
6
votes
1 answer

Display CFG from llvm in xvcg

There is -view-cfg option (doc) in llvm's opt program, which enables me to view the Control Flow Graph via dot program. But the CFG in too big to be rendered as postscript from dot. I know that there is the xvcg utiity capable of displaying complex…
osgx
  • 90,338
  • 53
  • 357
  • 513
3
votes
2 answers

Remove self-intersections in Meshlab or vcglib

How to remove self-intersection of a mesh with the Meshlab application or vcglib?
sergio campo
  • 190
  • 2
  • 13
3
votes
1 answer

Program crashes while creating VertexPointer of more then 400k Vertex in VCG

I'm new to VCG and facing some problem with creating a VertexPointer of size 400K+ Vertex. The actual question was asked here in the solution's comment. I tried to make an array of VertexPointer MyMesh::VertexPointer vi[400000]; The program…
Teh Sunn Liu
  • 517
  • 3
  • 16
3
votes
1 answer

Sample code from VCGlib crashes Visual Studio 2013

I'm now studying vcglib (http://vcg.sf.net) My problem is that the following code crashes VS 2013 when I try to inspect variables in 'Locals' or 'Auto' windows. std::vector cloud; std::vector colors; std::vector
wl2776
  • 4,099
  • 4
  • 35
  • 77
2
votes
1 answer

Need help compiling vcglib code with g++

I'm trying to learn how to use the library vcglib (http://vcg.sourceforge.net/index.php/Main_Page) but I'm having the hardest time getting anything to compile. Right now I'm trying to compile trimesh_definition.cpp which is just a basic example…
martega
  • 2,103
  • 2
  • 21
  • 33
2
votes
1 answer

Can Meshlab determine whether a point is inside a mesh

Meshlab uses vcglib c++ library at its core. I was wondering if Meshlab can check if a point is inside a 3D mesh (polyhedron). I found an article which explains a possible way to determine an internal face. However, the proposed method colors…
afp_2008
  • 1,940
  • 1
  • 19
  • 46
2
votes
1 answer

how to save color using vcglib?

I'm trying to save color of vertices using vcglib but failed. Even if I read a file in and save it out without doing anything, the color of the original file is lost. Here is the code I…
Sui
  • 35
  • 5
1
vote
1 answer

What is the difference between universal quantifiers and meta-universal quantifiers?

The universal quantifier in first-order logic (the symbol is ∀) and meta-universal quantifier in meta-logic (the symbol is ⋀) what is the main difference? For the following two lemmas, the first example proves successful using universal…
1
vote
1 answer

What does `wedge` means in vcglib?

In the Visualization and Computer Graphics Library (VCG for short), there's a concept as wedge. For example, vcg::face::WedgeTexCoord and vcg::face::WedgeColor. What does wedge mean?
Jing Zhao
  • 2,420
  • 18
  • 21
1
vote
1 answer

Coloring Rgl 3d mesh faces

I'd like to color faces on an triangular RGL mesh based on proximity to a vertex. The thing is, it seems that a lot of the times that the vertices are associated with faces that are very far from the actual vertex location itself, which creates a…
Bruce Wang
  • 11
  • 2
1
vote
1 answer

Number of detected self intersection in vcglib does not coincide with the Meshlab number

When I execute my program C:\Users\me\Documents\projectCGALII\build\Debug>test.exe pig.obj I get 6 intersections and when it is checked in Meshlab it say 4 intersection. This is my program: void countSelfIntersection(const char* filename) { …
sergio campo
  • 190
  • 2
  • 13
1
vote
0 answers

Improper results using Ball pivoting from VCG

While using meshlab application, I'm able to create a mesh using the ball pivoting algorithm giving radius as 3.1952 and clustering 0.2. Results are good. But when I call the same method using VCG library giving same values of radius and clustering…
1
vote
0 answers

Unify normal estimation using PCL

I used PCL (Point-cloud library) to triangulate a 3D point cloud. But the triangulation I got is not consistent. I get a similar situation as at question: How to unify normal orientation. But this code does not work well, I can't compile it. I get…
hoding1991
  • 11
  • 3
1
vote
1 answer

Assertion Failure when using vcglib examples

I want to use vcglib for reconstructing a surface based on a point cloud. But whenever I run my program (also with the provided examples, e.g. /vcglib/apps/sample/trimesh_allocate) I get the following output: trimesh_allocate:…
Mirco
  • 107
  • 2
  • 11
1
vote
1 answer

How to extract vertex coordinates in vcg library

I am trying to extract the 3d coordinates of vertices from a mesh object using VCG library. Does anyone know how to do this? I have tried a whole evening and got nothing. It seems that the Capital letters represent some attributes of the vertex but…
user1200781
  • 111
  • 1
  • 5
1
2