自定义博客皮肤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 6426

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

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

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

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

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

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

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

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

2015-01-12 22:45:15 3255

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

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

2014-12-22 13:24:03 1396

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

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

2014-12-07 17:45:24 1559

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

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

2014-12-01 20:30:01 1302

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

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

2014-11-15 21:20:45 1486

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

以下是源码:

2014-09-04 14:51:01 4169

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

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

2014-08-26 14:15:18 3152

原创 webgl photo box

以下是源码:

2014-08-26 13:53:16 1243

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

一个dong

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

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

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

2024-04-05 23:01:28 213

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

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

2024-04-05 01:00:25 448

原创 golang 反射结构字段类型

golang 反射结构字段类型

2015-09-11 20:45:07 3270

转载 JTS Geometry之间的关系

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

2015-03-26 16:29:56 3648

原创 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 3689

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

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

2015-02-01 20:25:35 2087

原创 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 2497

原创 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 2368

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

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

2015-02-01 20:12:14 2485

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

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

2015-02-01 20:07:59 1928

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

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

2015-02-01 20:05:44 3225

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

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

2015-02-01 20:03:42 2977

原创 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 1911

原创 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 2117

原创 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 1830

原创 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 2222

原创 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 1646 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 1871

原创 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 1502

原创 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 1295

原创 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 1491

原创 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 1881

原创 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 1589

原创 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 1696 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 1793

原创 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 2865 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 2676 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 2602

pds db_linkage

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

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

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

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

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

2014-08-19

我的最牛代码

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

2014-08-14

空空如也

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

TA关注的人

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