Search found 34 matches

by Logrus
07 Dec 2021, 14:17
Forum: General Discussion
Replies: 6
Views: 7003

Re: ProjectMatrix for control

thanks
by Logrus
06 Dec 2021, 16:01
Forum: General Discussion
Replies: 6
Views: 7003

Re: ProjectMatrix for control

my 3d elements are interactive,
and the Main and 3d IView overlap
in this case, there will be problems with management display events
by Logrus
06 Dec 2021, 13:22
Forum: General Discussion
Replies: 6
Views: 7003

Re: ProjectMatrix for control

Unfortunately no,
I am using multiple Viewports,
so for each Viewport it will be necessary to calculate and store copies WorldViewProjMatrix , instead of one
by Logrus
04 Dec 2021, 10:36
Forum: General Discussion
Replies: 6
Views: 7003

ProjectMatrix for control

Hi, How can I set the Project matrix for the control (like Canvas)? Setting a common Project matrix for IView doesn't suit me. Have an idea to implement a custom FrameworkElement but not sure if this solution will work: class Viewport3D : public Noesis::FrameworkElement { using Base = Noesis::Framew...
by Logrus
27 Oct 2021, 11:41
Forum: General Discussion
Replies: 4
Views: 4929

Re: IView does not resize when window Restored or Maximized

OK

bugtracker#2165
by Logrus
26 Oct 2021, 22:59
Forum: General Discussion
Replies: 4
Views: 4929

IView does not resize when window Restored or Maximized

Hi,
in version 3.1.1 the Win32Display::DispatchEvent code has been changed.
in the handler SIZE_RESTORED and SIZE_MAXIMAZED removed the notification mSizeChanged (...)

in 3.1.1 there is another way to resize IView?
by Logrus
26 Oct 2021, 16:30
Forum: General Discussion
Replies: 1
Views: 3853

Crash loading texture

Hi.
Crash when loading texture 60x170
(DX11, Noesis 3.1.0)

FileTextureProvider calculates numMipLeves incorrectly
Ptr<Texture> FileTextureProvider::LoadTexture(const Uri& uri, RenderDevice* device)
{
....
 uint32_t numLevels = Max(Log2(x), Log2(y));   /////  Min(Log2(x), Log2(y))    !!!!
}
by Logrus
23 Sep 2021, 13:00
Forum: General Discussion
Replies: 5
Views: 634

Re: Iteraction.Trigger inside DataTemplate

Thanks
by Logrus
23 Sep 2021, 12:06
Forum: General Discussion
Replies: 5
Views: 634

Re: Iteraction.Trigger inside DataTemplate

How to bind in this case? <i:Interaction.Triggers> <EventTrigger EventName="???" SourceName="msb"> <InvokeCommandAction Command="{Binding ChangeSelectedNodesCommand}" /> </EventTrigger> </i:Interaction.Triggers>
by Logrus
23 Sep 2021, 09:37
Forum: General Discussion
Replies: 5
Views: 634

Re: Iteraction.Trigger inside DataTemplate

The problem is in Behavior. Handler Binding occurs after CloneCommonCore(const Freezable* source) , therefore Handler bind only to source (Behavior) in DataTemplate. This is how it works, not sure if this is correct void TreeViewMultipleSelectionBehavior::CloneCommonCore(const Freezable* source) { B...