osgModeling-0.1.1-src
所属分类:3D图形编程
开发工具:C/C++
文件大小:569KB
下载次数:14
上传日期:2017-07-16 21:57:52
上 传 者:
wuqiang
说明: OSG建模,拉伸,旋转,放样等各种复杂模型的建模方法。
(OSG modeling, stretching, rotating, lofting and other complex model modeling methods.)
文件列表:
osgModeling-0.1.1-src (0, 2017-07-12)
osgModeling-0.1.1-src\osgModeling (0, 2017-07-12)
osgModeling-0.1.1-src\osgModeling\AUTHORS.txt (70, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\ChangeLog (1297, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\CMakeLists.txt (3969, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\CMakeModules (0, 2017-07-12)
osgModeling-0.1.1-src\osgModeling\CMakeModules\cmake_uninstall.cmake.in (897, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\CMakeModules\FindDoxygen.cmake (4348, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\CMakeModules\FindOpenSceneGraph.cmake (485, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\configure (35, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\data (0, 2017-07-12)
osgModeling-0.1.1-src\osgModeling\data\bunny-1500.osg (427429, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\data\CMakeLists.txt (468, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\data\cow-1500.osg (268211, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\data\curtain_flip.jpg (21860, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\data\dragon-1500.osg (287133, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\data\land_shallow_topo_2048_flip.jpg (190038, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\data\osg_banner.jpg (27204, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\data\osg_banner2.jpg (18718, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\data\pawn.osg (39182, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\doc (0, 2017-07-12)
osgModeling-0.1.1-src\osgModeling\doc\Doxyfiles (0, 2017-07-12)
osgModeling-0.1.1-src\osgModeling\doc\Doxyfiles\custom_Footer.html (318, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\doc\Doxyfiles\doxyfile.cmake (60231, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\examples (0, 2017-07-12)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingbasic (0, 2017-07-12)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingbasic\CMakeLists.txt (1002, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingbasic\osgmodelingbasic.cpp (11587, 2017-05-18)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingboolean (0, 2017-07-12)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingboolean\CMakeLists.txt (1006, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingboolean\osgmodelingboolean.cpp (6161, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingbsptree (0, 2017-07-12)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingbsptree\CMakeLists.txt (1006, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingbsptree\osgmodelingbsptree.cpp (5832, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingnurbs (0, 2017-07-12)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingnurbs\CMakeLists.txt (1002, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingnurbs\osgmodelingnurbs.cpp (14091, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingsubd (0, 2017-07-12)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingsubd\CMakeLists.txt (1000, 2008-11-17)
osgModeling-0.1.1-src\osgModeling\examples\osgmodelingsubd\osgmodelingsubd.cpp (5313, 2008-11-17)
... ...
osgModeling is a open source modeling library for OpenSceneGraph(OSG).
Its purpose is to help generate kinds of parametric curves and surfaces,
and calculate vertices, normals and texture coordnates automatically.
For up-to-date information and latest versions of the project, please visit:
http://code.google.com/p/osgmodeling/
For in-depth details of OpenSceneGraph, please visit its website:
http://www.openscenegraph.org
===============================
Requirements:
===============================
- OpenSceneGraph: version 2.6.0 or higher
===============================
Features:
===============================
- Support for 4 kinds of curves:
* k-degree Bezier curves.
* k-degree NURBS curves.
* Helix (3-dimensional spiral curves resembling a spring).
* And user customized curves.
- Support for 6 kinds of surfaces:
* m,n-degree Bezier surfaces.
* m,n-degree NURBS surfaces.
* Extrusions (constructed by a profile extruded along a path).
* Revolutions (constructed by a profile rotated specified angles).
* Lofts (constructed by lofting a series of curves that define the cross section on a specified path).
* And user customized models.
- Generate normal arrays and texture coordinate arrays for various models (except user customizations).
* Support 6 methods to generate normals with different weights.
* Support the normal-flip operation.
- Free to define customized algorithms to created vertices arrays, normal arrays and texture coordinate arrays for own models.
- Construct the polygon mesh structures (Vertices-Edges-Faces) for geometries.
- Subdivide polygon meshes into higher level using different methods.
* Loop method: Split each face into 4 parts at every level to build subdivisions.
* Sqrt(3) method: Split each face into 3 parts at every level to build subdivisions.
- Construct the binary space partitioning (BSP) trees for models in built or converted from osg::Geometry.
- Geometric boolean operations (Intersection, Union and Difference) based on BSP trees of models.
===============================
How to build:
===============================
The osgModeling uses the CMake build system to generate a platform-specific build environment.
If you don't have CMake version 2.4.6 or later installed, you may download it from:
http://www.cmake.org
Under unices, type the following commands:
./configure
make
sudo make install
Under Windows, just use the CMake GUI tool to build Visual Studio solutions.
===============================
Libraries and examples:
===============================
There are 1 or 2 dynamic library file after installation:
- {libosgModeling.so | osgModeling.dll}: The library.
- {libosgdb_osgmodeling.so | osgdb_osgmodeling.dll}: The reader/writer plugin.
There are 5 executable files as examples:
- osgmodelingbasic.exe: Demonstrates how to build extrusions, revolutions and lofts with osgModeling
classes (Extrude, Lathe, Loft, Helix and so on).
- osgmodelingboolean.exe: Demonstrates how to create a boolean object from two specified models.
- osgmodelingbsptree.exe: Demonstrates how to build BSP trees for models.
- osgmodelingnurbs.exe: Demonstrates how to create Bezier and NURBS surfaces with osgModeling classes.
- osgmodelingsubd.exe: Demonstrates how to subdivide models using different levels and methods (Loop or Sqrt3).
===============================
Bibliography:
===============================
[1] Philip Schneider, David H. Eberly, Geometric Tools for Computer Graphics, Elsevier Science, 2002
[2] Tomas Akenine-Moller, Eric Haines, Real-Time Rendering, A.K.Peters, 2002
[3] Piegl, Tiller, The NURBS Book, Springer, 1997
[4] Denis Zorin, Peter Schroder, Subdivision for Modeling and Animation, SIGGRAPH 2000 Course Notes, 2000
[5] Charles T. Loop, Smooth Subdivision Surfaces Based on Triangles, Utah University, 1***7
[6] Leif Kobbelt, Sqrt3-Subdivision, Max-Planck Institute for Computer Sciences, 2000
[7] Shuangshuang Jin, Robert R. Lewis, David West, "A Comparison of Algorithms for Vertex Normal Computation", Washington State University, 2003
近期下载者:
相关文件:
收藏者: