Search found 8 matches

by gemelo
06 May 2022, 10:48
Forum: General Discussion
Replies: 6
Views: 6363

Re: CUDA / Noesis

I guess I found the replacement. The method moved to the RenderDeviceGL class which makes sense:
public static Texture WrapTexture(object texture, IntPtr nativePointer, int width, int height, int numMipMaps, bool isInverted, bool hasAlpha)
by gemelo
05 May 2022, 21:53
Forum: General Discussion
Replies: 6
Views: 6363

Re: CUDA / Noesis

Sorry for reactivating this thread. We are working on a small update for the project this thread was about. We also updated the NuGet packages to the current version as a test. However, we noticed that the WrapGLTexture methods apparently no longer exist in the new version. public static Texture Wra...
by gemelo
26 Aug 2021, 22:48
Forum: General Discussion
Replies: 5
Views: 5088

Re: Download Images and show them dynamically

unfortunately marked as solve too early...

By doing this, I got a huge memory leak. And even Destroying the texture2d after no need for the TextureSource with
UnityEngine.Texture2D.Destroy(texture2D);
does not clean up all the memory.

Do I have to dispose the TextureSource, too?
by gemelo
26 Aug 2021, 19:27
Forum: General Discussion
Replies: 5
Views: 5088

Re: Download Images and show them dynamically

Thanks for your quick answer. I manage it to load an image, by building this helper method: public static BitmapSource CreateFromLocalFile(string localFilePath) { byte[] buffer = File.ReadAllBytes(localFilePath); Texture2D tex = new Texture2D(2, 2); tex.LoadImage(buffer); TextureSource textureSource...
by gemelo
26 Aug 2021, 17:39
Forum: General Discussion
Replies: 5
Views: 5088

Download Images and show them dynamically

Hi, we need to download custom changed jpeg&pngs at runtime, store them locally on the device and show them by code. I get problems with the last point: - File.Exist(filename) is true. - my noesis demo app, running with visual studio without unity has no problems. Images appeared. Problems start...
by gemelo
25 May 2021, 10:05
Forum: General Discussion
Replies: 6
Views: 6363

Re: CUDA / Noesis

A small follow-up to my post and my questions: to 1. I have now decided to use OpenGL. The performance in the first tests was convincing. Nevertheless, I would be interested to know if there is any experience comparing the two technologies in relation to Noesis. to 2./3. I have discovered the Noesis...
by gemelo
21 May 2021, 13:02
Forum: General Discussion
Replies: 6
Views: 6363

CUDA / Noesis

I am looking into using Noesis for a project to use a XAML based UI in front of a texture created with CUDA. Currently we are using WPF with a D3DImage. But that suffers from poor performance (no stable framerates) and screen tearing. I could transfer the CUDA texture directly on the GPU to DirectX/...
by gemelo
16 Feb 2018, 17:12
Forum: General Discussion
Replies: 3
Views: 2662

"document contains no elements" XAML error (and more)

Hi, we are making our first steps with the Noesis engine and for us - coming from WPF - is seems to be great opportunity to combine Unity and XAML. Our first tests gave us quickly successful results. It seems to be a great product :) BUT: With the current version (latest version for Unity 2.1.0rc3) ...