• 大小: 8.11MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-11-02
  • 语言: Java
  • 标签: Coin3D  三维  

资源简介

极好的开源3维开发平台, 一个面向对象的、跨平台的专业3D图形化工具包,面向的对象包括工业强度的开发、交互和通过C++、.NET或Java构建的专业3D图形化应用程序。易于使用的应用程序端口、可拓展的结构和功能强大的全组件式架构给开发人员提供了一个高级平台的快速原型设计、高端开发和先进的3D图形应用程序。

资源截图

代码片段和文件信息

/**************************************************************************\
 *
 *  This file is part of the Coin 3D visualization library.
 *  Copyright (C) 1998-2009 by Kongsberg SIM.  All rights reserved.
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU General Public License
 *  (“GPL“) version 2 as published by the Free Software Foundation.
 *  See the file LICENSE.GPL at the root directory of this source
 *  distribution for additional information about the GNU GPL.
 *
 *  For using Coin with software that can not be combined with the GNU
 *  GPL and for taking advantage of the additional benefits of our
 *  support services please contact Kongsberg SIM about acquiring
 *  a Coin Professional Edition License.
 *
 *  See http://www.coin3d.org/ for more information.
 *
 *  Kongsberg SIM Postboks 1283 Pirsenteret 7462 Trondheim NORWAY.
 *  http://www.sim.no/  sales@sim.no  coin-support@coin3d.org
 *
\**************************************************************************/

// glutiv.cpp -- example demonstrating Coin (or Open Inventor) bound
// to the GLUT user interface abstraction.
//

// If you have Coin and the GLUT library properly installed you should
// be able to build by simply doing:
//
//  $ coin-config --build glutiv glutiv.cpp -lglut
//
// (or -lglut32 if you‘re on MSWindows with Cygwin).
//
// Note that to compile on Mac OS X you have to link against the
// GLUT framework like so:
// 
//  $ export LDFLAGS=“-framework GLUT -lobjc“
//  $ coin-config --build-app glutiv glutiv.cpp 


// *************************************************************************

// FIXME: note that there are some limitations to this example:
//
//  * The most important one is that events are not translated from
//    native X11 events to Coin events (to be sent to the scene
//    graph). This means that for instance draggers and manipulators in
//    the scene graph will not respond to attempts at interaction.
//
//  * The sensor queue processing is just a hack. Don‘t use this
//    in production code.
//
// 20031113 mortene.

// *************************************************************************

#ifdef __APPLE__
#include 
#else
#include 
#endif 

#include 
#include 
#include 
#include 
#include 
#include 
#include yle.h>
#include 
#include 
#include 
#include 
#include 
#include 
#include 

// *************************************************************************

const int SCENEWINDOWS = 3;

SoSceneManager * scenemanager[SCENEWINDOWS];
int glutwin[SCENEWI

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2009-05-29 15:16  Coin-3.1.0\
     文件        2018  2009-05-29 13:43  Coin-3.1.0\COPYING
     目录           0  2009-05-29 15:15  Coin-3.1.0\examples\
     目录           0  2009-05-29 15:15  Coin-3.1.0\examples\bindings\
     文件        7689  2009-05-29 13:43  Coin-3.1.0\examples\bindings\glutiv.cpp
     文件       17407  2009-05-29 13:43  Coin-3.1.0\NEWS
     文件       13869  2009-05-29 13:43  Coin-3.1.0\FAQ
     文件        2402  2009-05-29 13:43  Coin-3.1.0\THANKS
     目录           0  2009-05-29 15:15  Coin-3.1.0\include\
     文件        1799  2009-05-29 13:43  Coin-3.1.0\include\SoDebug.h
     文件       22224  2009-05-29 13:43  Coin-3.1.0\include\Makefile.in
     目录           0  2009-05-29 15:15  Coin-3.1.0\include\Inventor\
     文件        5064  2009-05-29 13:42  Coin-3.1.0\include\Inventor\SbVec4i32.h
     文件        3766  2009-05-29 13:42  Coin-3.1.0\include\Inventor\SbBox2f.h
     目录           0  2009-05-29 15:15  Coin-3.1.0\include\Inventor\bundles\
     文件        1644  2009-05-29 13:42  Coin-3.1.0\include\Inventor\bundles\SoVertexAttributeBundle.h
     文件        2237  2009-05-29 13:42  Coin-3.1.0\include\Inventor\bundles\SoNormalBundle.h
     文件        1310  2009-05-29 13:42  Coin-3.1.0\include\Inventor\bundles\SoBundle.h
     文件       16977  2009-05-29 13:42  Coin-3.1.0\include\Inventor\bundles\Makefile.in
     文件        1834  2009-05-29 13:42  Coin-3.1.0\include\Inventor\bundles\SoMaterialBundle.h
     文件        3075  2009-05-29 13:42  Coin-3.1.0\include\Inventor\bundles\SoTextureCoordinateBundle.h
     文件        2126  2009-05-29 13:42  Coin-3.1.0\include\Inventor\bundles\Makefile.am
     文件        2105  2009-05-29 13:42  Coin-3.1.0\include\Inventor\SbHeap.h
     文件        7123  2009-05-29 13:42  Coin-3.1.0\include\Inventor\SoInput.h
     文件         110  2009-05-29 13:42  Coin-3.1.0\include\Inventor\non_winsys.h
     目录           0  2009-05-29 15:15  Coin-3.1.0\include\Inventor\events\
     文件        2270  2009-05-29 13:42  Coin-3.1.0\include\Inventor\events\SoEvent.h
     文件        1695  2009-05-29 13:42  Coin-3.1.0\include\Inventor\events\SoMotion3Event.h
     文件        4490  2009-05-29 13:42  Coin-3.1.0\include\Inventor\events\SoKeyboardEvent.h
     文件       17011  2009-05-29 13:42  Coin-3.1.0\include\Inventor\events\Makefile.in
     文件        1630  2009-05-29 13:42  Coin-3.1.0\include\Inventor\events\SoButtonEvent.h
............此处省略3714个文件信息

评论

共有 条评论