Skip to content

Commit 45d40f2

Browse files
committed
Initial commit
1 parent 01030cc commit 45d40f2

File tree

493 files changed

+418715
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

493 files changed

+418715
-0
lines changed

Cloo.dll

85.5 KB
Binary file not shown.

MIConvexHullPlugin.dll

27 KB
Binary file not shown.

MathNet.Numerics.dll

930 KB
Binary file not shown.

OpenGL4Net.dll

1.19 MB
Binary file not shown.

OpenTK.GLControl.dll

48 KB
Binary file not shown.

OpenTK.dll

3.76 MB
Binary file not shown.

WindowsFormsApplication1/.DS_Store

14 KB
Binary file not shown.
Binary file not shown.
3.48 MB
Binary file not shown.
3.13 MB
Binary file not shown.
Binary file not shown.

WindowsFormsApplication1/.vs/OpenGL 4.2/v15/Server/sqlite3/db.lock

Whitespace-only changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<Model DefinitionId="3a3ca3f4-7ba7-4c09-a182-6ba59bf12599" DisplayName="Analysis Activity" xmlns="clr-namespace:Ark.PropertyModel;assembly=Ark">
2+
<Property Name="Application" Value="C:\Users\abasilak\Dropbox\UOI\Projects\ZF-Trimming\WindowsFormsApplication1\bin\Release\Depth_Peeling.exe" />
3+
<Property Name="EnableCgApiBuffer" Value="True" />
4+
<Property Name="EnableCgApiCgFx" Value="True" />
5+
<Property Name="EnableCgApiContext" Value="True" />
6+
<Property Name="EnableCgApiError" Value="True" />
7+
<Property Name="EnableCgApiGlBuffer" Value="True" />
8+
<Property Name="EnableCgApiGlMisc" Value="True" />
9+
<Property Name="EnableCgApiGlParameter" Value="True" />
10+
<Property Name="EnableCgApiGlProgram" Value="True" />
11+
<Property Name="EnableCgApiMisc" Value="True" />
12+
<Property Name="EnableCgApiParameter" Value="True" />
13+
<Property Name="EnableCgApiProgram" Value="True" />
14+
<Property Name="EnableCudaApiContextAttachDetach" Value="True" />
15+
<Property Name="EnableCudaApiContextManagement" Value="True" />
16+
<Property Name="EnableCudaApiD3D10Interop" Value="True" />
17+
<Property Name="EnableCudaApiD3D11Interop" Value="True" />
18+
<Property Name="EnableCudaApiD3D9Interop" Value="True" />
19+
<Property Name="EnableCudaApiDeviceManagement" Value="True" />
20+
<Property Name="EnableCudaApiEventManagement" Value="True" />
21+
<Property Name="EnableCudaApiFunctionManagement" Value="True" />
22+
<Property Name="EnableCudaApiLaunchFunctions" Value="True" />
23+
<Property Name="EnableCudaApiMemoryManagement" Value="True" />
24+
<Property Name="EnableCudaApiMemoryOperations" Value="True" />
25+
<Property Name="EnableCudaApiModuleManagement" Value="True" />
26+
<Property Name="EnableCudaApiOpenGlInterop" Value="True" />
27+
<Property Name="EnableCudaApiParameterManagement" Value="True" />
28+
<Property Name="EnableCudaApiPeerAccess" Value="True" />
29+
<Property Name="EnableCudaApiProfiler" Value="True" />
30+
<Property Name="EnableCudaApiStreamManagement" Value="True" />
31+
<Property Name="EnableCudaApiTextureReferenceManagement" Value="True" />
32+
<Property Name="EnableCudaApiTrace" Value="True" />
33+
<Property Name="EnableCudaApiUnifiedAddressing" Value="True" />
34+
<Property Name="EnableCudaGpuTaskTrace" Value="True" />
35+
<Property Name="EnableCudaRuntimeApiTrace" Value="True" />
36+
<Property Name="EnableCudaSoftwareCounters" Value="True" />
37+
<Property Name="EnableDirectXApiBlit" Value="True" />
38+
<Property Name="EnableDirectXApiClear" Value="True" />
39+
<Property Name="EnableDirectXApiCommandList" Value="True" />
40+
<Property Name="EnableDirectXApiLock" Value="True" />
41+
<Property Name="EnableDirectXApiPresent" Value="True" />
42+
<Property Name="EnableDirectXApiRender" Value="True" />
43+
<Property Name="EnableDirectXApiTrace" Value="True" />
44+
<Property Name="EnableDirectXPerformanceMarkers" Value="True" />
45+
<Property Name="EnableDirectXShaderCompileTimes" Value="True" />
46+
<Property Name="EnableDirectXWorkloadCopies" Value="True" />
47+
<Property Name="EnableDirectXWorkloadCpuFrames" Value="True" />
48+
<Property Name="EnableDirectXWorkloadDispatches" Value="True" />
49+
<Property Name="EnableDirectXWorkloadDrawCalls" Value="True" />
50+
<Property Name="EnableDirectXWorkloadGpuFrames" Value="True" />
51+
<Property Name="EnableOpenClApiCommandQueue" Value="True" />
52+
<Property Name="EnableOpenClApiContext" Value="True" />
53+
<Property Name="EnableOpenClApiD3D10Interop" Value="True" />
54+
<Property Name="EnableOpenClApiD3D11Interop" Value="True" />
55+
<Property Name="EnableOpenClApiD3D9Interop" Value="True" />
56+
<Property Name="EnableOpenClApiDevice" Value="True" />
57+
<Property Name="EnableOpenClApiEnqueueCommands" Value="True" />
58+
<Property Name="EnableOpenClApiEventObject" Value="True" />
59+
<Property Name="EnableOpenClApiFlushAndFinish" Value="True" />
60+
<Property Name="EnableOpenClApiKernelObject" Value="True" />
61+
<Property Name="EnableOpenClApiMemoryObject" Value="True" />
62+
<Property Name="EnableOpenClApiOpenGlInterop" Value="True" />
63+
<Property Name="EnableOpenClApiPlatform" Value="True" />
64+
<Property Name="EnableOpenClApiProgramObject" Value="True" />
65+
<Property Name="EnableOpenClApiSampler" Value="True" />
66+
<Property Name="EnableOpenClApiTrace" Value="True" />
67+
<Property Name="EnableOpenClCommandTrace" Value="True" />
68+
<Property Name="EnableOpenClResourceProgramBuildCallbackBinaryCodeTrace" Value="True" />
69+
<Property Name="EnableOpenClResourceProgramBuildCallbackTrace" Value="True" />
70+
<Property Name="EnableOpenClResourceProgramSourceCodeTrace" Value="True" />
71+
<Property Name="EnableOpenClResourceRefCountTrace" Value="True" />
72+
<Property Name="EnableOpenClResourceTrace" Value="True" />
73+
<Property Name="EnableOpenGlApiBegin" Value="True" />
74+
<Property Name="EnableOpenGlApiClear" Value="True" />
75+
<Property Name="EnableOpenGlApiDisplayList" Value="True" />
76+
<Property Name="EnableOpenGlApiErrors" Value="True" />
77+
<Property Name="EnableOpenGlApiEval" Value="True" />
78+
<Property Name="EnableOpenGlApiFence" Value="True" />
79+
<Property Name="EnableOpenGlApiFlush" Value="True" />
80+
<Property Name="EnableOpenGlApiFrameBufferObject" Value="True" />
81+
<Property Name="EnableOpenGlApiGet" Value="True" />
82+
<Property Name="EnableOpenGlApiLight" Value="True" />
83+
<Property Name="EnableOpenGlApiPixel" Value="True" />
84+
<Property Name="EnableOpenGlApiProgram" Value="True" />
85+
<Property Name="EnableOpenGlApiRaster" Value="True" />
86+
<Property Name="EnableOpenGlApiState" Value="True" />
87+
<Property Name="EnableOpenGlApiTexture" Value="True" />
88+
<Property Name="EnableOpenGlApiTrace" Value="True" />
89+
<Property Name="EnableOpenGlApiTransform" Value="True" />
90+
<Property Name="EnableOpenGlApiVertex" Value="True" />
91+
<Property Name="EnableOpenGlApiVertexArray" Value="True" />
92+
<Property Name="EnableOpenGlApiWgl" Value="True" />
93+
<Property Name="EnableOpenGlTrace" Value="True" />
94+
<Property Name="EnableOpenGlWorkloadCpuFrames" Value="True" />
95+
<Property Name="EnableOpenGlWorkloadDrawCalls" Value="True" />
96+
<Property Name="EnableOpenGlWorkloadGpuFrames" Value="True" />
97+
<Property Name="EnableSystemCpuThreadTrace" Value="True" />
98+
<Property Name="EnableSystemModuleTrace" Value="True" />
99+
<Property Name="EnableToolsExtMarkersAndRanges" Value="True" />
100+
<Property Name="EnableToolsExtResourceNaming" Value="True" />
101+
<Property Name="ExtensionsToSynchronize" Value="*.*;" />
102+
<Property Name="WorkingDirectory" Value="C:\Users\abasilak\Dropbox\UOI\Projects\ZF-Trimming\WindowsFormsApplication1\bin\Release\" />
103+
</Model>
+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
namespace abasilak
2+
{
3+
public class AnimationGUI
4+
{
5+
#region Private Properties
6+
bool _pause;
7+
bool _play;
8+
bool _animation_stop;
9+
#endregion
10+
11+
#region Public Properties
12+
public bool play
13+
{
14+
get
15+
{
16+
return _play;
17+
}
18+
set
19+
{
20+
_play = value;
21+
}
22+
}
23+
public bool animation_stop
24+
{
25+
get
26+
{
27+
return _animation_stop;
28+
}
29+
set
30+
{
31+
_animation_stop = value;
32+
}
33+
}
34+
public bool pause
35+
{
36+
get
37+
{
38+
return _pause;
39+
}
40+
set
41+
{
42+
_pause = value;
43+
}
44+
}
45+
#endregion
46+
47+
#region Constructor
48+
public AnimationGUI()
49+
{
50+
_pause = false;
51+
_play = false;
52+
_animation_stop = false;
53+
}
54+
#endregion
55+
}
56+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
using System;
2+
//using Assimp;
3+
//using Assimp.Configs;
4+
using System.IO;
5+
using System.Reflection;
6+
7+
namespace abasilak
8+
{
9+
class AssimpLoadScene
10+
{
11+
static void Main(string[] args)
12+
{
13+
//Filepath to our model
14+
String fileName = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Seymour.dae");
15+
16+
//Create a new importer
17+
///AssimpImporter importer = new AssimpImporter();
18+
19+
//This is how we add a configuration (each config is its own class)
20+
//NormalSmoothingAngleConfig config = new NormalSmoothingAngleConfig(66.0f);
21+
//importer.SetConfig(config);
22+
23+
//This is how we add a logging callback
24+
//LogStream logstream = new LogStream(delegate(String msg, String userData)
25+
//{
26+
// Console.WriteLine(msg);
27+
//});
28+
//importer.AttachLogStream(logstream);
29+
30+
//Import the model - this is considered a single atomic call. All configs are set, all logstreams attached. The model
31+
//is imported, loaded into managed memory. Then the unmanaged memory is released, and everything is reset.
32+
//Assimp.Scene model = importer.ImportFile(fileName, PostProcessPreset.TargetRealTimeMaximumQuality);
33+
34+
//Load the model data into your own structures
35+
36+
//End of example
37+
//importer.Dispose();
38+
}
39+
}
40+
}

WindowsFormsApplication1/Blend.cs

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using OpenTK.Graphics.OpenGL;
2+
3+
namespace abasilak
4+
{
5+
public class Blend
6+
{
7+
public static void enable() { GL.Enable (EnableCap.Blend); }
8+
public static void enable(int i) { GL.Enable (IndexedEnableCap.Blend, i); }
9+
10+
public static void disable() { GL.Disable(EnableCap.Blend); }
11+
public static void disable(int i) { GL.Disable(IndexedEnableCap.Blend, i); }
12+
13+
public static void equation(BlendEquationMode modeRGBA) { GL.BlendEquation(modeRGBA); }
14+
public static void equation(int i, BlendEquationMode modeRGBA) { GL.BlendEquation(i, modeRGBA); }
15+
public static void equationSeparate(BlendEquationMode modeRGB, BlendEquationMode modeA) { GL.BlendEquationSeparate(modeRGB, modeA); }
16+
17+
public static void func(BlendingFactorSrc src, BlendingFactorDest dst) { GL.BlendFunc(src, dst); }
18+
public static void func(int i, BlendingFactorSrc src, BlendingFactorDest dst) { GL.BlendFunc(i, src, dst); }
19+
public static void funcSeparate(BlendingFactorSrc srcRGB, BlendingFactorDest dstRGB,
20+
BlendingFactorSrc srcA , BlendingFactorDest dstA) { GL.BlendFuncSeparate(srcRGB, dstRGB, srcA, dstA); }
21+
}
22+
}

0 commit comments

Comments
 (0)