HD Fusion improves upon the original KinectFusion in terms of scaling. It is now possible to:
- scan scenes at a higher level of detail than before
- scan scenes of virtually infinite size
- increase the viewing distance proportionally to the number of GPUs
For last project i was need show part of main display to distant big screen, connected to another PC. So i need somehow send video feed via Ethernet. Firstly i tried find any encoder lib for sending h264 video, but this was so complicated. So i did small Socket server in adobe air for this distant big screen PC and wrote some code in c# for unity client.
There is 2 ways for sending images to flash via sockets.
1. Send uncompressed bitmap data (ARGB = 4 bytes) from Unity and then use bitmapData.setPixels(rect, byteArray) for recteate bitmap
2. Convert bitmap data into PNG in Unity via Texture2D.EncodeToPNG and them use Loader.loadBytes() in flash.
While doing one Unity3d project, i was need to make part of mesh subdivided. Not whole mesh, what is easy, but only few regions, defined by grayscale bitmap and threshold. After some googling, i found some nice publishings about this
Hi friends!
I was very busy last months, so didn't update blog. Now i slowly learn Unity3D (such a great tool) for using it in my future projects. Slowly abandoning Flash and Processing. Love how Unity3D handle DirectX11 stuff. All those compute shaders etc.. ) During learning and doing some of my test projects, i was needed convert GPU texture to BITMAP for sending it to printer, so i wrote this small piece of code and want to share it )
I'm not C++ programmer, but this code is working )
If you know how to optimize it, just send me a comment )