Search found 8 matches

by n3b
29 Jul 2024, 18:11
Forum: General Discussion
Replies: 4
Views: 6922

Re: Runtime reflections

So after digging into it a little bit more I figured out that nested properties are locked to static types only due to TypeProperty::FindMeta(const TypeClass* metaDataType) relying on StaticGetClassType. Would be really nice to have FindMeta to be virtual as well... Going to create a ticket for Sten...
by n3b
29 Jul 2024, 01:10
Forum: General Discussion
Replies: 4
Views: 6922

Re: Runtime reflections

never mind, figured it out by unwrapping all the macros!
by n3b
28 Jul 2024, 05:06
Forum: General Discussion
Replies: 4
Views: 6922

Runtime reflections

Hey guys, if I'm not missing anything, the c++ reflections docs are referring to templates/macros only, implying types are to be known at compile time. I wonder if there is a public API or something else to use it in a way like .Net proxies do? i.e. what's the proper way to map type names from xaml ...
by n3b
24 Feb 2024, 00:58
Forum: General Discussion
Replies: 5
Views: 2863

Re: Different matrices in native and managed builds

Thank you. What I meant is that Noesis internally multiplies the matrix I provide with another one which is not exposed. So I have to pass in it's inverse and MVP to cull in world space, and then to reapply it in DrawBatch in order to make it back to NDC to render to PBR textures. I'm wondering if t...
by n3b
16 Feb 2024, 04:14
Forum: General Discussion
Replies: 2
Views: 1360

Re: view->SetSize() reports thread safety errors

Great, thanks for confirming!
I'll create a ticket.
by n3b
16 Feb 2024, 04:09
Forum: General Discussion
Replies: 5
Views: 2863

Re: Different matrices in native and managed builds

Oh, thank you, I see the difference now. The .Net DeviceCaps does not have these two: bool depthRangeZeroToOne = true; bool clipSpaceYInverted = false; Sorry I forgot to mention that I use my own custom Vulkan renderer in both cases. And another question about those matrices - does Noesis keep the s...
by n3b
14 Feb 2024, 17:39
Forum: General Discussion
Replies: 5
Views: 2863

Different matrices in native and managed builds

I've been playing with managed build and found out DrawBatch produces matrix with Z axis being transformed into -1..1 range, while native keeps it in 0..1. Is it a recent change or am I missing some configuration option? Would it make more sense to have viewport matrix exposed rather than doing hidd...
by n3b
08 Feb 2024, 19:51
Forum: General Discussion
Replies: 2
Views: 1360

view->SetSize() reports thread safety errors

Hi, I was trying to integrate Noesis sample into my project and faced several issues in regard to multithreading. The code is pretty much the same as in integration sample, except I initialize Noesis in main thread, but create/update view in another one. void noesisUpdate() { if (noesisView == nullp...