08-17-2016, 06:19 PM
Hi,
I am trying to evaluate Ab3D.DXEngine for using in a Oculus Rift application. To the end, I may need to redirect the viewport3D rendering to a custom RenderingContext, however, I've got stuck at the very beginning.
I've the Ab3D.DXEngine evaluation version installed and created a simple .NET 4.0 application with an empty DXViewportView in the main window:
<dxControls:DXViewportView x:Name="TestDXViewportView" PresentationType="DirectXImage" />
I've added assembly references for all dlls in the 'C:\Program Files\AB4D Products (Trial)\Ab3d.DXEngine\bin\net40' folder.
Next, I added the following code in the Window_Loaded handler:
var scene = TestDXViewportView.DXScene;
var g = TestDXViewportView.DXScene.RenderingContext;
When I tried to access the DXScene property programmatically or in the Watch window, I am getting this error:
Cannot load assembly 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Ab3d.DXEngine\v4.0_1.4.6025.40__d45c8e156fba2841\Ab3d.DXEngine.dll'.
Why does it look for GAC assembly, when I have direct references in my test project with 'Copy Local' in true? Can I access the DXScene object and, hopefully, make it rending on my custom RenderingContext?
Thank you in advance!
I am trying to evaluate Ab3D.DXEngine for using in a Oculus Rift application. To the end, I may need to redirect the viewport3D rendering to a custom RenderingContext, however, I've got stuck at the very beginning.
I've the Ab3D.DXEngine evaluation version installed and created a simple .NET 4.0 application with an empty DXViewportView in the main window:
<dxControls:DXViewportView x:Name="TestDXViewportView" PresentationType="DirectXImage" />
I've added assembly references for all dlls in the 'C:\Program Files\AB4D Products (Trial)\Ab3d.DXEngine\bin\net40' folder.
Next, I added the following code in the Window_Loaded handler:
var scene = TestDXViewportView.DXScene;
var g = TestDXViewportView.DXScene.RenderingContext;
When I tried to access the DXScene property programmatically or in the Watch window, I am getting this error:
Cannot load assembly 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Ab3d.DXEngine\v4.0_1.4.6025.40__d45c8e156fba2841\Ab3d.DXEngine.dll'.
Why does it look for GAC assembly, when I have direct references in my test project with 'Copy Local' in true? Can I access the DXScene object and, hopefully, make it rending on my custom RenderingContext?
Thank you in advance!