Search found 3586 matches
- 04 Jan 2023, 12:57
- Forum: General Discussion
- Replies: 3
- Views: 98
Re: ScrollViewer setting offset
Sorry for the late reply, part of the team is still on Christmas Holidays. We will answer this post and the other one (viewtopic.php?t=2810) as soon as possible.
- 04 Jan 2023, 12:55
- Forum: General Discussion
- Replies: 15
- Views: 6582
Re: Noesis 2 png transparency
Given Noesis' insistence on pre-multiplied Alpha, and Unity's insistence on not having pre-multiplied Alpha... might be good to have this in the Noesis API somewhere (if such a thing doesn't already exist). It is impossible to get the right result without using pre-multiplied alpha, but we could do...
- 03 Jan 2023, 14:00
- Forum: General Discussion
- Replies: 1
- Views: 77
Re: Ownership of the Noesis::IView object in the IntegrationGLUT example
Noesis objects are reference-counted . When the last Release() is invoked the instance is destroyed. Ptr<> is a smart pointer that handles references automatically for you. GLUT does not offer any opportunity to clean resources, so if you have a global Ptr<> to the renderer, it will be automatically...
- 03 Jan 2023, 13:55
- Forum: General Discussion
- Replies: 5
- Views: 109
Re: Advice for sharing an OpenGL context with Noesis
My understanding is you recommend approach 2, and furthermore to not use OpenGL's native push/pop support, yes? Yes, exactly, that's my recommendation. You could implement a InvalidateState() function of your side that should be called after entering the 3 Noesis points described above. I assume yo...
- 02 Jan 2023, 13:11
- Forum: General Discussion
- Replies: 5
- Views: 109
Re: Advice for sharing an OpenGL context with Noesis
Agree with you, debugging OpenGL is tedious. I recommend using RenderDoc , it can save hours of debugging. In general, we don't recommend pushing and popping state using GL mechanisms because it is much faster if you restore the state on your side, manually. You have the source code of the renderer,...
- 02 Jan 2023, 13:04
- Forum: General Discussion
- Replies: 1
- Views: 67
Re: Caching of textures
Probably this is happening because after MyWindow1.xaml is closed, Atlas1 is unused and we release it. When MyWindow2.xaml is opened, Atlas is requested again and needs to be loaded. By default, we only implement a reference counter mechanism for textures, if you need something more sophisticated yo...
- 02 Jan 2023, 12:58
- Forum: General Discussion
- Replies: 1
- Views: 62
Re: GLFactory::CreateDevice's sRGB bool parameter is a bit confusing to me
When sRGB parameter is set to true, we render internally in linear space , using SRGB textures (in D3D12 parlance, using DXGI_FORMAT_R8G8B8A8_UNORM_SRGB instead of DXGI_FORMAT_R8G8B8A8_UNORM for example) for internal render targets and texture gradients. This affects the way ramps are interpolated a...
- 02 Jan 2023, 12:50
- Forum: General Discussion
- Replies: 10
- Views: 175
Re: Is it valid to call GUI::SetApplicationResources with a NULL pointer?
Thanks for catching this! I have created a ticket (#2483). This is something we must fix.
- 21 Dec 2022, 11:57
- Forum: General Discussion
- Replies: 5
- Views: 137
Re: ios arm64
I am sorry to say that only PRO licenses with access to source code can compile Noesis.
- 21 Dec 2022, 11:55
- Forum: General Discussion
- Replies: 10
- Views: 175
Re: Is it valid to call GUI::SetApplicationResources with a NULL pointer?
Hmm... our bug or yours? :) Without clearing the resources before Shutdown I see this: [NOESIS/I] Noesis Shutdown [NOESIS/W] Memory leaks detected: 1024 bytes The number of bytes may be larger if I do more actions in the application. We clear resources at shutdown time. Are you able to reproduce th...