SDK upload a Configuration RFW file

Using the SDK, is there a way to upload a RFW file generated by RecFusion Pro?

Hey David,

unfortunately it is not possible to load a recfusion workspace (rfw) with the SDK.

Best
Alex

Ok, so I assume can still get all the RFW options set/enabled and then use the SDK with discrete call settings?

Yes it should be possible to configure most sensor, reconstruction and marker settings manually through the sdk.

Hi, so one of the configuration settings we require is to use ‘No Color’ in the model. I do not see an obvious way to configure that option. Please advise on how to accomplish it.

Hi, please provide us with your rfw file. Is it no option for you to just ignore the color in the result of the mesh?
Best

Hi,

please find attachment image outlining our project selected settings. I do not see an option to attach a RWF file to this forum thread.

regards,
David

Oh, I just realized that the ‘rfw’ is xaml, so here it is;

<?xml version="1.0" encoding="utf-8"?> 0 100 190 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0.689407245059064 0.258946495343426 -0.676508952645439 51.0382891181504 -0.0154484117567936 0.938965681601515 0.343663782422291 -1.1436788796612 0.724209221864969 -0.226473312608705 0.65133005584095 353.614753706872 0 0 0 1 256 768 768 200 600 600 0 0 017322072908 017322072908 1280 720 30 1280 720 30 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 637.094543457031 0 642.339904785156 0 637.094543457031 358.423980712891 0 0 1 925.355773925781 0 643.174926757812 0 925.784729003906 357.462066650391 0 0 1 0.999798893928528 0.0196062009781599 0.00421700766310096 14.634614944458 -0.0196080692112446 0.99980765581131 0.000402043806388974 -0.067190445959568 -0.00420831376686692 -0.000484650314319879 0.999990999698639 0.286713361740112 0 0 0 1 0 600 1 150 1000.00006103516 0 1536 1 156 64 1 8500 16 1 4600 50 0 300 0 64 50 0 0 0 1 934222070606 934222070606 1280 720 30 1280 720 30 -0.00188246495774324 0.0493830789920157 0.998778143096046 -297.999488578915 -0.0362997859001037 -0.998125062246894 0.049282370452581 -9.00783749319961 0.999339186527513 -0.0361626625841561 0.00367153059950165 294.14919558823 0 0 -0 1 643.427307128906 0 636.814270019531 0 643.427307128906 359.376831054688 0 0 1 921.078369140625 0 635.994812011719 0 919.970031738281 361.836395263672 0 0 1 0.999576807022095 -0.0257067531347275 -0.0136140352115035 14.8821401596069 0.0257036052644253 0.999669551849365 -0.000406087230658159 0.533568441867828 0.0136199751868844 5.5985598010011e-05 0.999907255172729 0.327733099460602 0 0 0 1 0 600 1 150 1000.00006103516 0 1536 1 156 64 1 8500 16 1 4600 50 0 300 0 64 50 0 0 0 -0.0590567115489511 -0.978159750788846 -0.199288250425676 -913.131030527397 0.977100795850824 -0.0975221304741032 0.189112317989811 750.262324910114 -0.204417072595983 -0.183556356480769 0.961520007294073 4132.97784275288 -0 0 -0 1 0

Hey David,

I understand what you try to achieve.
In the API of the RecFusion SDK we did not expose that option it seems.

So for me you have two options now:

  1. remove the color in the output mesh, you could even do this with some processing on the mesh
  2. Try a hack like making sure the color does not end up in the reconstruction volume, i.e. through setting the color camera to a far a way position by setting setDepthToColorTransformation. You could use a translation value like vec3 T = vec3::Constant(5000); and put this into the mat4 matrix

Best
Alex