实例介绍
1. 鼠标显示STL三维模型; 2. 支持旋转、缩放和平移; 3. 该资源为源码,可先下载OpenGL鼠标旋转缩放及STL三维模型显示(demo.exe)预览一下,是否符合自己的要求,然后再下载
【实例截图】
【核心代码】
MDIDemo
└── MDIDemo
├── bin
│ ├── SharpGL.dll
│ ├── SharpGL.pdb
│ ├── SharpGL.SceneGraph.dll
│ ├── SharpGL.SceneGraph.pdb
│ ├── SharpGL.WinForms.dll
│ └── SharpGL.WinForms.pdb
├── Deploy
│ └── Debug
│ ├── SharpGL.dll
│ ├── SharpGL.SceneGraph.dll
│ └── SharpGL.WinForms.dll
├── ipch
│ └── clrgl-fd1e3fd4
│ └── clrgl-fd476420.ipch
├── MainForm
│ ├── App.config
│ ├── bin
│ │ └── Debug
│ │ ├── 11.stl
│ │ ├── JianZhenQi.stl
│ │ ├── MainForm.exe
│ │ ├── MainForm.exe.config
│ │ ├── MainForm.pdb
│ │ ├── MainForm.vshost.exe
│ │ ├── MainForm.vshost.exe.config
│ │ ├── MainForm.vshost.exe.manifest
│ │ ├── SharpGL.dll
│ │ ├── SharpGL.pdb
│ │ ├── SharpGL.SceneGraph.dll
│ │ ├── SharpGL.SceneGraph.pdb
│ │ ├── SharpGL.WinForms.dll
│ │ ├── SharpGL.WinForms.pdb
│ │ ├── sp.stl
│ │ ├── VS2005ToolBox.dll
│ │ └── WeifenLuo.WinFormsUI.Docking.dll
│ ├── Form1.cs
│ ├── Form1.Designer.cs
│ ├── Form1.resx
│ ├── Form3.cs
│ ├── Form3.Designer.cs
│ ├── Form3.resx
│ ├── FrameElement.cs
│ ├── MainForm.csproj
│ ├── obj
│ │ ├── Debug
│ │ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ │ ├── MainForm.csproj.FileListAbsolute.txt
│ │ │ ├── MainForm.csproj.GenerateResource.Cache
│ │ │ ├── MainForm.csprojResolveAssemblyReference.cache
│ │ │ ├── MainForm.exe
│ │ │ ├── MainForm.Form1.resources
│ │ │ ├── MainForm.Form3.resources
│ │ │ ├── MainForm.pdb
│ │ │ ├── MainForm.Properties.Resources.resources
│ │ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ │ └── TempPE
│ │ │ └── Properties.Resources.Designer.cs.dll
│ │ └── x86
│ │ └── Debug
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── MainForm.csproj.FileListAbsolute.txt
│ │ ├── MainForm.csproj.GenerateResource.Cache
│ │ ├── MainForm.csprojResolveAssemblyReference.cache
│ │ ├── MainForm.exe
│ │ ├── MainForm.Form1.resources
│ │ ├── MainForm.Form2.resources
│ │ ├── MainForm.Form3.resources
│ │ ├── MainForm.Form4.resources
│ │ ├── MainForm.pdb
│ │ ├── MainForm.Properties.Resources.resources
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ └── TempPE
│ │ └── Properties.Resources.Designer.cs.dll
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── STLElements.cs
│ ├── STLPoint.cs
│ ├── VS2005ToolBox.dll
│ └── WeifenLuo.WinFormsUI.Docking.dll
├── MainForm.sdf
├── MainForm.sln
├── MainForm.v11.suo
├── SharpGL
│ ├── bin
│ │ └── Debug
│ │ ├── SharpGL.dll
│ │ └── SharpGL.pdb
│ ├── DIBSection.cs
│ ├── Enumerations
│ │ └── OpenGLEnumerations.cs
│ ├── FontBitmaps.cs
│ ├── FontOutlines.cs
│ ├── obj
│ │ └── Debug
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── SharpGL.csproj.FileListAbsolute.txt
│ │ ├── SharpGL.csprojResolveAssemblyReference.cache
│ │ ├── SharpGL.dll
│ │ └── SharpGL.pdb
│ ├── OpenGL.cs
│ ├── OpenGLExtensions.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── RenderContextProviders
│ │ ├── DIBSectionRenderContextProvider.cs
│ │ ├── ExternalRenderContextProvider.cs
│ │ ├── FBORenderContextProvider.cs
│ │ ├── HiddenWindowRenderContextProvider.cs
│ │ ├── IRenderContextProvider.cs
│ │ ├── NativeWindowRenderContextProvider.cs
│ │ └── RenderContextProvider.cs
│ ├── RenderContextType.cs
│ ├── SharpGL.csproj
│ ├── SharpGL.csproj.vspscc
│ ├── SharpGL.v12.suo
│ ├── Tesselators
│ │ └── Delegates.cs
│ └── Win32.cs
├── SharpGL.SceneGraph
│ ├── Assets
│ │ ├── Asset.cs
│ │ ├── Material.cs
│ │ └── Texture.cs
│ ├── bin
│ │ └── Debug
│ │ ├── SharpGL.dll
│ │ ├── SharpGL.pdb
│ │ ├── SharpGL.SceneGraph.dll
│ │ └── SharpGL.SceneGraph.pdb
│ ├── Cameras
│ │ ├── ArcBallCamera.cs
│ │ ├── Camera.cs
│ │ ├── FrustumCamera.cs
│ │ ├── LookAtCamera.cs
│ │ ├── OrthographicCamera.cs
│ │ └── PerspectiveCamera.cs
│ ├── Collections.cs
│ ├── Core
│ │ ├── ArcBall.cs
│ │ ├── BoundingVolume.cs
│ │ ├── IBindable.cs
│ │ ├── IFreezable.cs
│ │ ├── IHasMaterial.cs
│ │ ├── IHasObjectSpace.cs
│ │ ├── IHasOpenGLContext.cs
│ │ ├── IRenderable.cs
│ │ ├── IVolumeBound.cs
│ │ ├── RenderMode.cs
│ │ ├── SceneContainer.cs
│ │ ├── SceneElement.cs
│ │ ├── SceneElementTraversal.cs
│ │ ├── VertexArgs.cs
│ │ └── VertexGrid.cs
│ ├── DisplayList.cs
│ ├── Effects
│ │ ├── ArcBallTransformationEffect.cs
│ │ ├── Effect.cs
│ │ ├── LinearTransformationEffect.cs
│ │ └── OpenGLAttributesEffect.cs
│ ├── Evaluators
│ │ ├── Evaluator1D.cs
│ │ ├── Evaluator2D.cs
│ │ ├── Evaluator.cs
│ │ ├── NURBS.cs
│ │ ├── NurbsCurve.cs
│ │ └── NurbsSurface.cs
│ ├── Face.cs
│ ├── Feedback
│ │ ├── Feedback.cs
│ │ ├── Polygonator.cs
│ │ └── Triangulator.cs
│ ├── GLColor.cs
│ ├── Helpers
│ │ ├── BoundingVolumeHelper.cs
│ │ ├── FreezableHelper.cs
│ │ ├── HasObjectSpaceHelper.cs
│ │ ├── OpenGLHelper.cs
│ │ └── SceneHelper.cs
│ ├── IDeepClonable.cs
│ ├── Index.cs
│ ├── Lighting
│ │ ├── Light.cs
│ │ └── Spotlight.cs
│ ├── Matrix.cs
│ ├── NETDesignSurface.cs
│ ├── obj
│ │ └── Debug
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── SharpGL.SceneGraph.csproj.FileListAbsolute.txt
│ │ ├── SharpGL.SceneGraph.csprojResolveAssemblyReference.cache
│ │ ├── SharpGL.SceneGraph.dll
│ │ └── SharpGL.SceneGraph.pdb
│ ├── OpenGLAttributes
│ │ ├── AccumBufferAttributes.cs
│ │ ├── ColorBufferAttributes.cs
│ │ ├── CurrentAttributes.cs
│ │ ├── DepthBufferAttributes.cs
│ │ ├── EnableAttributes.cs
│ │ ├── EvalAttributes.cs
│ │ ├── FogAttributes.cs
│ │ ├── HintAttributes.cs
│ │ ├── LightingAttributes.cs
│ │ ├── LineAttributes.cs
│ │ ├── ListAttributes.cs
│ │ ├── OpenGLAttributeGroup.cs
│ │ ├── PixelModeAttributes.cs
│ │ ├── PointAttributes.cs
│ │ ├── PolygonAttributes.cs
│ │ ├── PolygonStippleAttributes.cs
│ │ ├── ScissorAttributes.cs
│ │ ├── StencilBufferAttributes.cs
│ │ ├── TextureAttributes.cs
│ │ ├── TransformAttributes.cs
│ │ └── ViewportAttributes.cs
│ ├── OpenGLEventArgs.cs
│ ├── OpenGLSceneGraphExtensions.cs
│ ├── ParticleSystem
│ │ ├── Particle.cs
│ │ └── ParticleSystems.cs
│ ├── Plane.cs
│ ├── Primitives
│ │ ├── Axies.cs
│ │ ├── Cube.cs
│ │ ├── Folder.cs
│ │ ├── Grid.cs
│ │ ├── Polygon.cs
│ │ ├── Shadow.cs
│ │ └── Teapot.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Quadrics
│ │ ├── Cylinder.cs
│ │ ├── Disk.cs
│ │ ├── DrawStyle.cs
│ │ ├── Normals.cs
│ │ ├── Orientation.cs
│ │ ├── Quadric.cs
│ │ └── Sphere.cs
│ ├── Raytracing
│ │ ├── Intersection.cs
│ │ ├── IRayTracable.cs
│ │ ├── Ray.cs
│ │ ├── RayTracer.cs
│ │ └── ScreenPixel.cs
│ ├── Scene.cs
│ ├── Shaders
│ │ ├── FragmentShader.cs
│ │ ├── Shader.cs
│ │ ├── ShaderProgram.cs
│ │ └── VertexShader.cs
│ ├── SharpGL.SceneGraph.csproj
│ ├── SharpGL.SceneGraph.csproj.vspscc
│ ├── Transformations
│ │ ├── LinearTransformation.cs
│ │ └── Transformation.cs
│ ├── UV.cs
│ └── Vertex.cs
└── SharpGL.WinForms
├── bin
│ └── Debug
│ ├── SharpGL.dll
│ ├── SharpGL.pdb
│ ├── SharpGL.SceneGraph.dll
│ ├── SharpGL.SceneGraph.pdb
│ ├── SharpGL.WinForms.dll
│ └── SharpGL.WinForms.pdb
├── GLColourPicker.cs
├── GLColourPicker.resx
├── MaterialListViewItem.cs
├── obj
│ └── Debug
│ ├── DesignTimeResolveAssemblyReferences.cache
│ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ ├── SharpGL.Controls.GLColourPicker.resources
│ ├── SharpGL.Controls.VertexControl.resources
│ ├── SharpGL.OpenGLControl.resources
│ ├── SharpGL.SceneControl.resources
│ ├── SharpGL.WinForms.csproj.FileListAbsolute.txt
│ ├── SharpGL.WinForms.csproj.GenerateResource.Cache
│ ├── SharpGL.WinForms.csprojResolveAssemblyReference.cache
│ ├── SharpGL.WinForms.dll
│ └── SharpGL.WinForms.pdb
├── OpenGLControl.cs
├── OpenGLControl.Designer.cs
├── OpenGLControl.resx
├── Properties
│ └── AssemblyInfo.cs
├── RenderEventArgs.cs
├── RenderTrigger.cs
├── SceneControl.cs
├── SceneControl.resx
├── SharpGL.ico
├── SharpGL.png
├── SharpGL.WinForms.csproj
├── SharpGL.WinForms.csproj.vspscc
├── VertexControl.cs
└── VertexControl.resx
52 directories, 257 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论