Conversation
|
The new loadCamera function now can run without errors but i don't receive a message like: jsartoolkitNFT/emscripten/ARToolKitJS.cpp Lines 704 to 741 in 251de77 setCamera: jsartoolkitNFT/emscripten/ARToolKitJS.cpp Lines 413 to 456 in 251de77 It could depends by the type of printings, maybe stream by ARLOGw is not outputted in node? |
|
i make a simple test, i added a simple std::cout message before: if (arc->param.xsize != arc->width || arc->param.ysize != arc->height) {
ARLOGw("*** Camera Parameter resized from %d, %d. ***\n", arc->param.xsize, arc->param.ysize);
arParamChangeSize(&(arc->param), arc->width, arc->height, &(arc->param));
}and i get the message in the console, so i assume that for some reason simply the camera is not resized. |
- only basic methods
|
Testing new node listeners, but actually the code (see node/example.js) can't detect and track the pinball image. If the data passed to the process function it should print that the nft marker is tracked, Instead i got a NftMarkerInfo struct with a not found marker. When i have a bit of time i will try to debug why is not detecting. |
|
In regards of the previous comment: this could be caused because artoolkitNFT.NFTMarkerInfo Is not attached to the |
- fix for wrong merge in ARToolKitJS.cpp
…ing and development
|
I improved the code with a new dist dile specyfic for node, i added two new wxamples but still they can't detect the marker. Initially i thought that i was supplying the imnage data in a wrong way, but i'm not sure of this anymore. There is some bug somewhere in the code, maybe i can add some more debug printings in the C++ code? |
…s for improved ID handling
jsartoolkitNFT imported in a node environment
This continue from #128. As said in the issue and other, we should create an independentlib for node. The main reason is the loading of files, in node.js is different compared to a browser env. I will try to use the NODEFS loading the FyleSystem (FS). Note that this code in the PR is quite experimental, and i can't assure of the result.
Tasks to be completed