自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

omni360的专栏

商域无疆 - 本博客专注于敏捷开发及移动和物联设备研究:数据可视化、GOLANG、Html5、WEBGL、THREE.JS

  • 博客(111)
  • 资源 (13)
  • 收藏
  • 关注

原创 THREE.js--数学之美,国外有大牛做的webgl 曲线动画.

商域无疆 (http://blog.csdn.net/omni360/)本文遵循“署名-非商业用途-保持一致”创作公用协议转载请保留此句:商域无疆 -  本博客专注于 敏捷开发及移动和物联设备研究:数据可视化、GOLANG、Html5、WEBGL、THREE.JS,否则,出自本博客的文章拒绝转载或再转载,谢谢合作。俺也是刚开始学,好多地儿肯定不对还请见谅.更多更新在 :

2015-01-23 14:18:57 6414

原创 THREE.js -- 增加Nurbs曲线旋转生成曲面,即时调整更新实例

three.js webgl - Nurbs曲线旋转生成曲面,即时调整更新实例拖动黄色节点,调整曲面母线

2015-01-17 01:05:56 6933 1

原创 THREE.js -- Nurbs曲线调整实例

商域无疆 (http://blog.csdn.net/omni360/)本文遵循“署名-非商业用途-保持一致”创作公用协议转载请保留此句:商域无疆 -  本博客专注于 敏捷开发及移动和物联设备研究:数据可视化、GOLANG、Html5、WEBGL、THREE.JS,否则,出自本博客的文章拒绝转载或再转载,谢谢合作。俺也是刚开始学,好多地儿肯定不对还请见谅.更多更新在 :

2015-01-15 12:10:53 4653 2

原创 THREE.js -- 沿物体表面放置对象

商域无疆 (http://blog.csdn.net/omni360/)本文遵循“署名-非商业用途-保持一致”创作公用协议转载请保留此句:商域无疆 -  本博客专注于 敏捷开发及移动和物联设备研究:数据可视化、GOLANG、Html5、WEBGL、THREE.JS,否则,出自本博客的文章拒绝转载或再转载,谢谢合作。俺也是刚开始学,好多地儿肯定不对还请见谅.以下代码是

2015-01-12 22:45:15 3196

转载 什么是OpenGL中的深度、深度缓存、深度测试?

1)直观理解深度其实就是该象素点在3d世界中距离摄象机的距离,深度缓存中存储着每个象素点(绘制在屏幕上的)的深度值!深度测试决定了是否绘制较远的象素点(或较近的象素点),通常选用较近的,而较远优先能实现透视的效果!!!2)Z值(深度值)、Z buffer(深度缓存)       下面先讲讲Z坐标。Z坐标和X、Y坐标一样。在变换、裁减和透视除法后,Z的范围为-1.0~1.0。

2014-12-22 13:24:03 1387

转载 混合、反走样、雾效、多边形偏移

混合:介绍如何指定混合函数,它通过将源颜色和目标颜色混合,使场景的某些部分为半透明;反走样:反走样通过修改颜色来消除点、线、多边形边缘的棱角和锯齿;多重采用是一种强大的反走样技术,适用于所有的图元;雾:描述如何根据物体到视点的距离来计算物体的颜色值,以创建立体感效果,使远方的物体看起来已经融入到场景中;点参数:讨论一种高效的技术,用于根据距离视点的距离渲染大小和颜色不同的点图元。在模拟

2014-12-07 17:45:24 1548

转载 OpenGL ES2.0 生成Mipmap纹理(2012-08-02)

转载请保留出处:http://xiaxveliang.blog.163.com/blog/static/297080342013467552467/ 在开发一些相对较大的场景时,如:一片铺满相同草地纹理的丘陵地形,如果不采用一些技术手段,就会出现远处的丘陵较近处的丘陵相比更加的清晰的视觉效果,而这种效果与真实世界中近处的物体清晰远处物体模糊的效果是相违背的。这是因为采用“透视投影”

2014-12-01 20:30:01 1299

转载 推荐!国外程序员整理的 C++ 资源大全

关于 C++ 框架、库和资源的一些汇总列表,由 fffaraz 发起和维护。内容包括:标准库、Web应用框架、人工智能、数据库、图片处理、机器学习、日志、代码分析等。 标准库C++标准库,包括了STL容器,算法和函数等。C++ Standard Library:是一系列类和函数的集合,使用核心语言编写,也是C++ISO自身标准的一部分。Standard Te

2014-11-15 21:20:45 1477

原创 webgl 关键帧动画-运动的小机器人

以下是源码:

2014-09-04 14:51:01 4146

原创 一个使用svg做的动态时钟--svg clock

一个使用svg做的动态时钟--svg clock

2014-08-26 14:15:18 3128

原创 webgl photo box

以下是源码:

2014-08-26 13:53:16 1238

原创 d3js做的星条图+源码。

一个dong

2014-08-26 11:06:26 2423 1

原创 关于地球内部猜想,火山和地震成因“之一”

地球内部是一个核反应堆,核反应堆向外释放能量。地面的火山和地震成因“之一”,太阳等能量可以通过辐射到达地球,南北极能量最强,因为磁场原因,地球上的四季是因为大气流动形成的,大气遵循涡流管的运动规律。北半球的冬季,大棚内的温度很高,太阳能量也可以到达大地。

2024-04-05 23:01:28 201

原创 相对论中关于光速不变理解的补充

中光速的光速不变的,在这里我对这个假设需要做一个补充,他是基于质能方程将光速C 在真是光速变化曲线做的一个采样。即光在真空中的速度。事实上并没有说光速C真的不变。因此光在不同介质中的传播速度依然是有效的 ,在不同介质中光速的采样应该做相应的调整。近几个月在物理直播间聊爱因斯坦相对论,发现好多人在理解爱因斯坦相对论关于基本假设,普遍认为光速是不变的,质能方程。

2024-04-05 01:00:25 422

原创 golang 反射结构字段类型

golang 反射结构字段类型

2015-09-11 20:45:07 3255

转载 JTS Geometry之间的关系

几何信息和拓扑关系是地理信息系统中描述地理要素的空间位置和空间关系的不可缺少的基本信息。其中几何信息主要涉及几何目标的坐标位置、方向、角度、距离和面积等信息,它通常用解析几何的方法来分析。而空间关系信息主要涉及几何关系的“相连”、“相邻”、“包含”等信息,它通常用拓扑关系或拓扑结构的方法来分析。拓扑关系是明确定的相等(Equals):几何形状拓扑上相等。

2015-03-26 16:29:56 3636

原创 three.js 源码注释(九十六)Cameras/CubeCamera.js

CubeCamera方法根据 near, far ,cubeResolution 生成立方体相机.CubeCamera对象的功能函数采用 定义构造的函数原型对象来实现. CubeCamera经常用来创建天空盒子.由六张图片拼接成一个场景.<summary>CubeCamera</summary><param name ="near" type="Number">指明相对于深度剪切面的近的距离,必须为正数,可选参数,如果未指定,初始化为0.1</param><param name ="far" ty

2015-02-01 20:33:49 3674

原创 three.js 源码注释(九十五)extras/core/Gyroscope.js

Gyroscope对象陀螺仪,听名字很神奇,一个陀螺仪对象的抽象基类.应该适用于移动端的.应该是将这个对象作为某个Object3D对象的子对象, 根据3d陀螺仪的数据,更新绑定对象的坐标,方位之类的.<summary>Gyroscope</summary>

2015-02-01 20:25:35 2070

原创 three.js 源码注释(九十四)extras/core/Shape.js

STEP 1 Create a path.1. 创建路径STEP 2 Turn path into shape.2. 将路径变成截面STEP 3 ExtrudeGeometry takes in Shape/Shapes3. 将截面拉伸成几何体STEP 3a - Extract points from each shape, turn to vertices3a. 导出所有的截面顶点到vertices属性中STEP 3b - Triangulate each shape, add faces

2015-02-01 20:22:13 2485

原创 three.js 源码注释(九十三)extras/core/Path.js

Path类创建2d的路径,包括点,线,和立方体,类似于HTML5 2D画布的API,curvePath类的扩展.<summary>Curve</summary><param name ="points" type="Vector2Array">2维向量数组</param>

2015-02-01 20:20:45 2350

原创 three.js 源码注释(九十一)extras/core/Curve.js

/************************************************************** * Abstract Curve base class 曲线抽象基类 **************************************************************/Curve对象曲线抽象基类,一个可扩展的曲线对象包含插值方法. 定义:样条曲线是经过一系列给定点的光滑曲线。最初,样条曲线都是借助于物理样条得到的,放样员把富有弹性的细木条(或

2015-02-01 20:12:14 2471

原创 three.js 源码注释(九十)extras/SceneUtils.js

/************************************************************** * SceneUtils scene对象的工具集 **************************************************************/createMultiMaterialObject方法创建一种新的Objec3D对象,每个网格对象对应一种材质.这里和一个网格的每个面使用Meshfacematerial 材质不同.这种方式适用于网

2015-02-01 20:07:59 1916

原创 three.js 源码注释(八十九)extras/ImageUtils.js

/************************************************************** * ImageUtils image对象的工具集,更方便的加载图片的辅助类. **************************************************************/ /*loadTexture加载url指定的位置的图片资源,并创建纹理,返回纹理对象.*/<summary>loadTexture</summary><param n

2015-02-01 20:05:44 3203

原创 three.js 源码注释(八十八)extras/GeometryUtils.js

/************************************************************** * GeometryUtils geometry对象的工具集 **************************************************************/merge方法将两个几何体对象或者Object3D里面的几何体对象合并,(使用对象的变换)将几何体的顶点,面,UV分别合并.NOTE: merge方法在新版本中已经放到了Geomet对象下

2015-02-01 20:03:42 2961

原创 three.js 源码注释(八十七)extras/FontUtils.js

* typeface.js and canvastext * For converting fonts and rendering with javascript * 使用javascript渲染和转换字体通过typeface.js,访问下面网站. * http://typeface.neocracy.org * * Triangulation ported from AS3 * Simple Polygon Triangulation * 简单的多边形三角化 * http

2015-02-01 19:59:48 1900

原创 three.js 源码注释(八十六)extras/geometries/TubeGeometry.js

TubeGeometry用来在三维空间内创建一个弯管对象. 用法: var CustomSinCurve = THREE.Curve.create( function ( scale ) { //custom curve constructor this.scale = (scale === undefined) ? 1 : scale; }, function ( t ) { //getPoint: t is between

2015-02-01 17:32:30 2102

原创 three.js 源码注释(八十五)extras/geometries/PolyhedronGeometry.js

PolyhedronGeometry用来在三维空间内创建一个多面体对象,二十面体,八面体,四面体都会调用当前对象. 用法: var vertices = [ 1, 1, 1, - 1, - 1, 1, - 1, 1, - 1, 1, - 1, - 1 ]; var indices = [ 2, 1, 0, 0, 3, 2, 1, 3, 0, 2, 3, 1 ]; var geometry = new THREE.Polyh

2015-02-01 17:31:08 1824

原创 three.js 源码注释(八十四)extras/geometries/ParametricGeometry.js

ParametricGeometry用来在三维空间内通过参数func的定义,生成一个几何体.有了这个对象,各种你想要的集合体,发挥你的数学天赋吧. 用法: var func = function(u,v){ var point = new THREE.Vector3(); point.x = 100 + Math.cos(u); point.y = 100 + Math.sin(v); return point; }; var geometry

2015-02-01 10:12:19 2208

原创 three.js 源码注释(八十三)extras/geometries/TorusKnotGeometry.js

TorusKnotGeometryy用来在三维空间内创建一个圆环结或者环形结对象.是由圆环体通过打结构成的扩展三维几何体,常用于制作管状,缠绕.带囊肿类的造型. 关于环形结的几何特征,参考:http://en.wikipedia.org/wiki/Torus_knot 各种漂亮的demo:http://katlas.math.toronto.edu/wiki/36_Torus_Knots 用法: var geometry = new THREE.TorusKnotGeometry(5,32,32);

2015-02-01 10:09:40 1632 1

原创 three.js 源码注释(八十二)extras/geometries/RingGeometry.js

RingGeometry用来在三维空间内创建一个二维圆环面对象. 用法: var geometry = new THREE.RingGeometry(1,5,32); var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); var Ring = new THREE.Mesh(geometry,material); scene.add(Ring);<summary>TorusGeometry</summar

2015-02-01 10:06:36 1864

原创 three.js 源码注释(八十一)extras/geometries/TetrahedronGeometry.js

TetrahedronGeometry用来在三维空间内创建一个四面体对象. 用法: var geometry = new THREE.TetrahedronGeometry(70); var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); var icos = new THREE.Mesh(geometry,material); scene.add(icos);<summary>TetrahedronGe

2015-02-01 10:03:13 1492

原创 three.js 源码注释(八十)extras/geometries/OctahedronGeometry.js

OctahedronGeometry用来在三维空间内创建一个八面体对象. 用法: var geometry = new THREE.OctahedronGeometry(70); var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); var icos = new THREE.Mesh(geometry,material); scene.add(icos);<summary>OctahedronGeome

2015-02-01 10:00:24 1287

原创 three.js 源码注释(七十九)extras/geometries/TorusGeometry.js

TorusGeometry用来在三维空间内创建一个圆环体对象. 用法: var geometry = new THREE.TorusGeometry(3,1,12,18); var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); var torus = new THREE.Mesh(geometry,material); scene.add(torus);<summary>TorusGeometry</s

2015-02-01 09:57:36 1481

原创 three.js 源码注释(七十八)extras/geometries/IcosahedronGeometry.js

IcosahedronGeometry用来在三维空间内创建一个二十面体对象. 用法: var geometry = new THREE.IcosahedronGeometry(70); var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); var icos = new THREE.Mesh(geometry,material); scene.add(icos);<summary>IcosahedronG

2015-01-31 01:20:28 1876

原创 three.js 源码注释(七十七)extras/geometries/LatheGeometry.js

LatheGeometry类通过截面顶点数组(points)创建旋转几何体. 用法: var points = []; for ( var i = 0; i < 10; i ++ ) { points.push( new THREE.Vector3( Math.sin( i * 0.2 ) * 15 + 50, 0, ( i - 5 ) * 2 ) ); } var geometry = new THREE.LatheGeometry( points ); var mater

2015-01-30 23:55:12 1581

原创 three.js 源码注释(七十六)extras/geometries/SphereGeometry.js

SphereGeometry用来在三维空间内创建一个球体对象. 用法: var geometry = new THREE.SphereGeometry(5,32,32); var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); var sphere = new THREE.Mesh(geometry,material); scene.add(sphere);<summary>SphereGeometry<

2015-01-30 23:24:54 1682 1

原创 three.js 源码注释(七十五)extras/geometries/ShapeGeometry.js

ShapeGeometry用来通过截面(参数shape)和参数选项(options)生成形状几何体.<summary>ShapeGeometry</summary><param name ="shapes" type="THREE.Shape">形状几何体截面</param><param name ="options" type="Object">拉伸几何体参数选项</param> * Creates a one-sided polygonal geometry from a path shape.

2015-01-30 22:35:11 1779

原创 three.js 源码注释(七十四)extras/geometries/ExtrudeGeometry.js

ExtrudeGeometry用来通过截面(参数shape)生成拉伸几何体.<summary>ExtrudeGeometry</summary><param name ="shapes" type="THREE.Shape">拉伸几何体截面</param><param name ="options" type="Object">拉伸几何体参数选项</param> * parameters = { * * curveSegments: <int>, // number of points on

2015-01-30 19:55:45 2853 2

原创 three.js 源码注释(七十三)extras/geometries/TextGeometry.js

TextGeometry用来生成文字,不过要生成中文3d文字,需要将中文字体利用typeface.js将字体转换成js格式的形文件.<summary>TextGeometry</summary><param name ="text" type="string">文字内容</param><param name ="parameters" type="Object">文字参数选项</param> For creating 3D text geometry in three.js Text =

2015-01-30 01:37:02 2653 2

原创 three.js 源码注释(七十二)extras/geometries/PlaneGeometry.js

PlaneGeometry用来在三维空间内创建一个平面对象. 用法: var geometry = new THREE.PlaneGeometry(5,5,20,32); var material = new THREE.MeshBasicMaterial({color: 0x00ff00}); var plane = new THREE.Mesh(geometry,material); scene.add(plane);<summary>PlaneGeometry</su

2015-01-27 22:04:49 2598

来自反犬的虫的WebGL规范

WebGL是目前最令人着迷的电脑绘图技术之一。因为,尽管GPU已 经在电脑和高端手机中无所不在,其计算能力也已超越CPU几倍有 余,但游戏之外,GPU基本处于闲置状态。固然是三维绘图的难度所 致,但其难度相对于程序员所要掌握的语言和电脑知识,并非高不可 攀。恐怕更重要的是观念,认为三维绘图只属游戏或制图等有限领 域,用户接受度不高,硬件兼容不佳,且数据量庞大。WebGL可以 打破这一认知误区。就像网络视频一下子被用户接受,由WebGL支 持的各种应用,也会自然而然的籍由浏览器,进入千家万户。 由于WebGL刚刚推出,支持度不高,中文资料更少。本人在自学只 余,自觉自发的翻译一些关键文档,供国人参考。希望有志者能带领 中国突破低端产业链,融入科技发展的最前沿。附带一句,冲破藩篱 靠自己,社会没主义更要坚持正义。国人加油!

2014-12-07

WebGL programing guid

英文原版WebGl编程手册,详细介绍了WebGL的工作方式,书里有很多实例,英文基础好的哥们儿,推荐看看.

2014-12-07

pds db_linkage

Analyzing the MGE Database Linkage on Microstation Graphic Elements pds数据与图形文件就是通过db linkage连接到一起的 文件中详细讲解了 如何连接 以及dgn数据从大端 vax 数据转换为小端 pc 数据

2014-09-21

Intergraph Standard File Formats.pdf

The Intergraph Standard File Formats ISFF are the file formats common to MicroStation and Intergraph’s Interactive Graphics Design System IGDS ISFF is now available to the public This enables Intergraph customers and third party developers to create custom applications for MicroStation that read and write ISFF format without a license from Intergaph reading and writing DGN files It is based in the OpenDGN initiative developed by Bentley Systems which is known as a leading supplier of CAD software Consequently DGNdirect provides compatibility with Bentley MicroStation V7 ">The Intergraph Standard File Formats ISFF are the file formats common to MicroStation and Intergraph’s Interactive Graphics Design System IGDS ISFF is now available to the public This enables Intergraph customers and third party developers to create custom applications for MicroStation that [更多]

2014-09-21

RenderMonkey.2008-12-17-v1.82.322.part2.rar

就像visual studio作为c++的IDE那样,能够自动编译并且看到运行效果.因为上传权限限制.一共有两个文件.

2014-09-21

RenderMonkey.2008-12-17-v1.82.322.part1.rar

就像visual studio作为c++的IDE那样,能够自动编译并且看到运行效果.因为上传权限限制.一共有两个文件.

2014-09-21

rendermonkey sdk

就像visual studio作为c++的IDE那样,能够自动编译并且看到运行效果.

2014-09-21

Intergraph Standard File Formats (Element Structure)

DGNLib is a small C/C++ library for reading and writing DGN files. Where can I get the source code? dgnlib-1.11.zip: Current standalone source with dgndump example mainline. Does DGNLib support all DGN elements? No, but it does support most 2D and 3D elements. Some of the more esoteric elements are read in "raw data mode", but not interpreted. It does support lines, line strings, curves, bsplines, ellipses, arcs, and text elements, as well as extracting color tables, and master coordinate information. Does DGNLib support Microstation V8 DGN Files? No, they are a substantially different format, and are not recognised at all. The DGNdirect library from the OpenDWG Alliance does support DGN v8. Is it portable? Yes, fairly, though as distributed it may be necessary to tweak the cpl_port.h and cpl_config.h files for different platforms. It was developed on Linux for a client deploying on MacOS, and Windows. Does it require alot of memory? Generally speaking no. Only one element at a time is kept in memory. If the file is "indexed" an additional 12 bytes per element is kept in memory after a pre-scan, but this isn't required. Does DGNLib include code to draw DGN elements? No, but there is a document that tries to indicate how to properly draw DGN elements given the structures returned by DGNLib. The OGR layer re-interprets the drawing information into OGR Feature Style format which is understood by some applications such as UMN MapServer. What is the license? DGNLib is under my usual MIT/X style open source license. Thus is can be easily used in commercial, and free products with no concern about licensing issues. See the header of any source file for the full license text. Is there support for writing DGN files? Yes, there is preliminary support for writing 2D and 3D DGN files in recent releases. Is there documentation? There is a detailed DGN Library API Reference available. There is currently no tutorial style information on how to use the library, but the dgndump.c utility can serve as a limited example. Is further work going on to improve the library? The initial project is complete, but I am interested in fixing bugs and adding minor features. Improvements are welcome.

2014-08-31

OpenDesign_Specification_for_.dwg_files.pdf

1 Introduction Introduction Introduction Introduction Originating in the late 1970s, drawing files created with microcomputer-based computer-aided design software were saved with the .dwg extension. In the early 1980s, Autodesk® released AutoCAD® which eventually became the most used CAD software in the world and which used Autodesk’s undocumented and proprietary DWG™ file format (using the .dwg extension). The Open Design Specification for .dwg files serves AutoCAD’s undocumented and proprietary DWG file format. This specification includes DWG file format versions 13 up to and including version 2013. Further, the Open Design Specification for .dwg files serves the Teigha® software development platform of the Open Design Alliance. While our Open Design Specification for .dwg files is able to read and write .dwg files with excellent AutoCAD compatibility, we continue to work to improve our understanding of all the data in a .dwg file. If you find information which will help us to understand any unknown values, please contact us at http://www.opendesign.com/contact.

2014-08-26

Microstation V8i中文使用手册_text_editon

microstation 中文版教程 主要工具箱含大部份的 2D 绘图工具,可能有人会觉得MicroStation 2D 功能太 差了吧,就这18 个图像工具好象不太够用,请你在下定论前先将鼠标移到主 要工具箱任一图像工具上后按住鼠标左键往右拖拉, 你会发觉还有其它的 工具会显示出来 请试着选择主工具箱右行第三个四方形图像往右拖拉,光标移到最后一个多 边形图像后手放掉,原本四方形的图像已被多边形图像取代并成反白状态 这表示现在你可以绘制多边形,同理若你日后要绘制四方形,只要再选择主 工具箱右行第三个工具图像往右拖拉,光标移到第一个四方形工具图像后放 手即可 F主要工具箱内各子工具箱都可单独拖拉出来, 但如果您使用的是15 吋小屏幕, 只要主要

2014-08-26

信息处理用现代汉语词类标记规范

信息处理用现代汉语词类标记规范

2014-08-19

我的最牛代码

这是一个dgn 文件格式的开源库,我在里面添加了PDS设备模型和管口等element 的定义。 dgn lib Microstation PDS Equipment Nozzle file type

2014-08-14

七周七语言:理解多种编程范型.bruce a. tate

本书共介绍了七种不同的编程语言。对于每种语言,分别介绍了各自的特性、应用,以及编程入门知 识和关键编程范型,还带领读者使用能够代表该语言最重要特性的技术,解决某个不寻常的问题,使其充 分掌握每种语言。 本书适合从事程序设计工作的人员阅读。

2014-08-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除