Added Emoticon Pictures To Library
We had collected some images about emotions.You can download from the website and use them. URL: https://www.weiy.city/Download/Lychee/public/#16695987182918
We had collected some images about emotions.You can download from the website and use them. URL: https://www.weiy.city/Download/Lychee/public/#16695987182918
Make canvas response to key press event We often create our custom iteractor style object to define our interactive behaviors.Write some debug code in OnKeyPress event.For web page, the element canvas is like Qt’s widget. Set property tabindex for responsing to user key press event. Asynchronous call It’s synchronous for JS code call wasm Read more…
Js code call C interface synchronously, it will wait if the interface is in an infinite loop.Write a function which has an infinite loop. Here is html page Compile C file to wasm and JS file. The web page will be blocked after click on the button to call C Read more…
The test environment is Linux system and C.These interfaces can be used in wasm project to check files in virtual memory.
Mathematics mulan | Sophie Germain数学花木兰 | 索菲·热尔曼 Happy childhood 幸福的童年 Germain was born in a wealthy merchant family. When she was young, the social environment in France was not very good, and the society order was chaotic. In order to protect her, her parents made her stay at home to Read more…
Here is a funny tool photo box for displaying different images. You can upload your zip file which contains images on this page, the tool can extract these files and show them as a rotating box. It’s recommended to have 6 images in the zip file. The address: https://www.weiy.city/functions/photo-box/
The definition for struct GapValue in header file UController.h. Struct usage and binding for wasm in UController.cpp.
The post shows how to use difference matrix to let two camera have same action. We can get the following relationship between viewUp vector and view plane normal. The view transform matrix can be generated from camera focal point, postion and view up vector. Matrix of camera’s view transform: Read more…
Set An Image As Render Background std::string bgImgPath = “./resource/bg.png”; vtkNew<vtkPNGReader> imgReader; imgReader->SetFileName(bgImgPath.c_str()); vtkNew<vtkTexture> backgroundTexture; backgroundTexture->SetInputConnection(imgReader->GetOutputPort()); m_Renderer->GradientBackgroundOff(); backgroundTexture->Update(); m_Renderer->SetBackgroundTexture(backgroundTexture); m_Renderer->SetTexturedBackground(true); Save 3D Model Screen Shot With Transparent Background Don’t set textured background for renderer object. Then set alpha bits for renderer window object, read RGBA information from back buffer when Read more…