Search found 25 matches
- 03 Jul 2019, 05:16
- Forum: General Discussion
- Replies: 16
- Views: 2910
Re: [C++, OpenCV] Display image CV::Mat queue as video in XAML
On Ubuntu 16.04, I've tried to use WrapTexture to load an image to texture using code below: But glGenerateMipmap(GL_TEXTURE_2D); is not found. I include these headers: #include <GL/gl.h> #include <GL/glut.h> InitializeComponent(); cv::Mat image = cv::imread("./1.jpg"); _image = FindName<I...
- 02 Jul 2019, 11:41
- Forum: General Discussion
- Replies: 4
- Views: 1620
Re: [C++] Setting ImageSource to Runtime generated RGBA Information
Awesome works well. GLuint TextureID = 0; glGenTextures(1, &TextureID); glBindTexture(GL_TEXTURE_2D, TextureID); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, ...
- 01 Jul 2019, 11:11
- Forum: General Discussion
- Replies: 16
- Views: 2910
Re: [C++, OpenCV] Display image CV::Mat queue as video in XAML
Do we have any example using OpenGL in Noesis?
I got some problems of integrating Noesis to use OpenGL :(
I got some problems of integrating Noesis to use OpenGL :(
- 19 Jun 2019, 11:57
- Forum: General Discussion
- Replies: 16
- Views: 2910
Re: [C++, OpenCV] Display image CV::Mat queue as video in XAML
Do you have any example or more suggestion? Thanks you :)guess you would like to use cbimtmap ..
- 19 Jun 2019, 11:44
- Forum: General Discussion
- Replies: 16
- Views: 2910
Re: [C++, OpenCV] Display image CV::Mat queue as video in XAML
It seems that the program could not find implementation of WrapTexture . does libNoesisApp.so or libNoesis.so contain WrapTexture implementation? Thank you! If you search inside the code you will find the implementation in the D3D11RenderDevice.cpp file. Hi, D3D11RenderDevice.cpp includes D3D11Rend...
- 17 Jun 2019, 09:14
- Forum: General Discussion
- Replies: 11
- Views: 10266
Re: CMakeList for c++ project with NoesisGUI
Sorry! I forgot to upload this CMake project:
You can find the simplest example here: https://github.com/ducdanganhit/hello-noesis-gui
In this version, you have to copy these libs into system.
You can find the simplest example here: https://github.com/ducdanganhit/hello-noesis-gui
In this version, you have to copy these libs into system.
- 17 Jun 2019, 05:21
- Forum: General Discussion
- Replies: 16
- Views: 2910
Re: [C++, OpenCV] Display image CV::Mat queue as video in XAML
For example, If you are using D3D11 you can create a texture using an external handle with WrapTexture : struct NS_RENDER_D3D11RENDERDEVICE_API D3D11Factory { static Noesis::Ptr<Noesis::Texture> WrapTexture(ID3D11Texture2D* texture, uint32_t width, uint32_t height, uint32_t levels, bool isInverted)...
- 17 Jun 2019, 04:41
- Forum: General Discussion
- Replies: 5
- Views: 962
Re: Custom project with Application Framework
I think this will help u: viewtopic.php?f=3&t=1710
- 14 Jun 2019, 09:49
- Forum: General Discussion
- Replies: 16
- Views: 2910
Re: [C++, OpenCV] Display image CV::Mat queue as video in XAML
I tried to convert from cv::Mat to ID3D11Texture2D* but got an error: Main.cpp:58: undefined reference to `NoesisApp::D3D11Factory::WrapTexture(ID3D11Texture2D*, unsigned int, unsigned int, unsigned int, bool)' This is my code: cv::Mat img = cv::imread("./photo_2018-12-25_23-49-35.jpg"); I...
- 13 Jun 2019, 08:59
- Forum: General Discussion
- Replies: 4
- Views: 986
Re: Include header files - Link .so Files in Linux
I see. Thank you jsantos