Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_meshCells.size() == 0 #7

Open
clones1201 opened this issue Nov 3, 2014 · 3 comments
Open

_meshCells.size() == 0 #7

clones1201 opened this issue Nov 3, 2014 · 3 comments

Comments

@clones1201
Copy link

I ported fastfusion to Windows 8.1, and tried to run it with rgbd_dataset_freiburg2_large_with_loop

but a exception occurred in void FusionMipmapCPU::pushMeshCellQueue()
relative code is

 for (LeafNeighborhood::iterator j = _meshCellIndicesLeaf[leaf].begin(); j != _meshCellIndicesLeaf[leaf].end(); j++){
    if ((*j) >= _meshCells.size()) 
    fprintf(stderr, "\nERROR: Leaf Queue Index %li >= _meshCells.size() of %li",*j, _meshCells.size());
if (!(*_meshCellIsQueuedNext)[*j]){
    if (*j >= MAXCELLINDEX){
        fprintf(stderr, "\nERROR: Wrong Index at Leaf %i: ", leaf);
        for (LeafNeighborhood::iterator k = _meshCellIndicesLeaf[leaf].begin(); k != _meshCellIndicesLeaf[leaf].end(); k++){
            fprintf(stderr, " %li", *k);
        }
    }
 /*....and so on*/

i put a breakpoint at if(!(*_meshCellIsQueuedNext)[*j]) and notice that *j==862 while _meshCellIsQueuedNext.size() == 0 and _meshCells.size() == 0.

I couldn't find any _meshCells.push_back() in this geometryfusion_mipmap_cpu.cpp

@mobooya
Copy link

mobooya commented Jul 25, 2015

Hey I just hit the same issue, did you resolve it? what did you do to fix it? thanks in advance

@clones1201
Copy link
Author

sorry, I didn't solve this, and i dropped my project.


从 Mailbox 发送

On Sat, Jul 25, 2015 at 8:27 AM, Mohamed Ahmad notifications@github.com
wrote:

Hey I just hit the same issue, did you resolve it? what did you do to fix it? thanks in advance

Reply to this email directly or view it on GitHub:
#7 (comment)

@mobooya mobooya mentioned this issue Jul 27, 2015
@mobooya
Copy link

mobooya commented Jul 27, 2015

i fixed it by adding
#undef MESHCELLINDICES_COMPACT
to definitions.h
by doing that it enabled SWITCH_MESHCELLS_SPLIT which means _meshCells is pointing to _meshCellsSplit instead of _meshCellsCompact

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants