ICode9

精准搜索请尝试: 精确搜索
  • osgEarth的Rex引擎原理分析(七十一)2020-02-06 10:07:59

    目标:(五十五)中的问题142 1、在RexTerrainEngineNode遍历时生成renderleaf,其中的drawable为LayerDrawable(其对应earth文件中每一个高程、影像层)。在TerrainCuller进行遍历时,会对LayerDrawable添加实际瓦片对应的高程影像纹理,这样绘制出来就能看到高程影像效果了。 osgEarthDrive

  • OSG编译2020-01-23 14:05:48

    参考:1.下载OSG库OSG源码http://www.openscenegraph.org/index.php/download-section/stable-releaseshttps://github.com/openscenegraph/OpenSceneGraph/releases第三方依赖: http://www.openscenegraph.org/index.php/download-section/dependencieshttps://download.osgvisual.o

  • TBB(Thread Building Blocks)编译2020-01-12 22:00:11

    1.下载TBB库https://codeload.github.com/intel/tbb/zip/v2020.02.将下载后的文件解压到如下目录E:\osg\FreeImage\FreeImage31803.用VS2019打开E:\osg\FreeImage\FreeImage3180\FreeImage.2017.sln文件4.修改编译类型5.编译

  • 编译libxml22020-01-05 14:02:11

    1.下载libiconv库ftp://xmlsoft.org/libxml2/libxml2-sources-2.9.9.tar.gz2.将下载后的文件解压到如下目录E:\osg\libxml2\libxml2-2.9.93.新建E:\osg\libxml2\libxml2目录把安装libiconv生成的iconv.lib、iconv.h文件夹拷贝到E:\osg\libxml2\libxml2文件夹下的lib和include文件

  • osg::Node源码2019-11-26 19:02:00

    /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later versio

  • osg::Node位置移动2019-11-07 16:03:17

    osg::Node节点移动的时候,可以使用osg::Matrix::translate  来完成 osg::Matrix::translate中的参数是  当前位置到目标位置需要改变的值,所以,传递参数的时候需要传入目标节点位置减去当前位置的差值。 ifc node节点移动  

  • OSG3.4内置Examples解析【目录】2019-10-21 17:53:52

    opengl渲染管线       从整体上解读OpenGL的渲染流程 一       从整体上解读OpenGL的渲染流程 二 osg与animate相关示例解析       OSG3.4内置Examples(osganimate)解析       OSG3.4内置Examples(osganimationeasemotion)解析       OSG3.4内置Examples(osga

  • mobile crane 12019-09-15 19:01:22

    void MobileCrane::rotateRope2(){ //double r_angle1 = rotateRope + rorate3; //std::cout << "r_angle1:" << rotateRope << std::endl; //rotRope->setMatrix(osg::Matrix::rotate(osg::DegreesToRadians(rotateRope), 0, 1, 0))

  • osg坐标位置转换2019-09-14 12:02:28

    osg::Vec3f vec3f1 = hookNode->getBound().center();osg::NodePathList nodePAthList1 = hookNode->getParentalNodePaths(0);updateHookPosition_20190914(vec3f1, nodePAthList1);osg::Vec3 point3 = vec3f1 * osg::computeLocalToWorld(nodePath1);std::cout <&l

  • CISSP考试心得分享2019-09-10 17:04:28

    原文链接:https://blog.csdn.net/nico1908/article/details/79105956 拖拉了好几年,去年年底终于决定开始认真学习CISSP准备考试。 11月4号报的汇哲的培训班,截止今天2018.1.19,一共2个半月,顺利通过了。 随便写写经验,分享给大家。 我自身本科学的信息技术,硕

  • OSG:幼儿园篇 第四章 人机交互库2019-09-06 17:50:23

    一.简介 OSG 中主要使用 osgGA库来处理用户的交互动作。GA 的全程是 GUI Abstraction(图形接口抽象层)   二.事件类 osgGA::GUIEventAdapter类包含了常见窗口系统中的鼠标 键盘等操作   三.动作类 通过 GUIActionAdapter 类可以实现用户向系统传递请求(常见的用户请求包括窗

  • osg gdal加载tif数据文件2019-09-03 20:55:53

    osg加载.tif地形数据文件 #ifdef _WIN32#include <Windows.h>#endif // _WIN32#include <iostream>//#include <math.h>#include <osg/Node>#include <osg/Group>#include <osgDB/ReadFile>#include <osgViewer/Viewer>#include <osg/G

  • osg gis编译日志2019-08-31 13:50:40

    1>------ 已启动全部重新生成: 项目: ZERO_CHECK, 配置: Debug x64 ------1> Checking Build System1> CMake does not need to re-run because E:/OpenSourceGraph/osggis_build/CMakeFiles/generate.stamp is up-to-date.1> CMake does not need to re-run because E:/Ope

  • VPB编译日志22019-08-30 19:05:50

    1>------ 已启动全部重新生成: 项目: ZERO_CHECK, 配置: Debug x64 ------1> Checking Build System1> CMake does not need to re-run because E:/OpenSourceGraph/VirtualPlanetBuilder_0_9_build/CMakeFiles/generate.stamp is up-to-date.1> CMake does not need to re-

  • OSG与Shader的结合使用2019-08-28 23:00:38

    目录 1. 概述 2. 固定管线着色 3. 纹理着色 4. 参考 1. 概述 以往在OpenGL中学习渲染管线的时候,是依次按照申请数据、传送缓冲区、顶点着色器、片元着色器这几个步骤编程的。OSG是OpenGL的一些顶层的封装,使用shader的时候看不到这些步骤了,所以有点不习惯。这里我总结了两个

  • OSG+QT控件交互2019-08-14 21:09:14

    OSG与QT控件相互响应 响应的来龙去脉 最近自己导入三维模型折腾,基本上导入模型和QT的信号传递,基本上是弄清楚了,举个QT控件控制小车旋转的简单例子吧: 在UI设计师中点开信号与槽的图标 按照惯例我们先选择输入信号Clicked()输出信号为我们自定义的信号Pushbutton_add()作为槽函数

  • 基于osgQt将OSG嵌入到Qt窗口中(有错误)2019-08-08 19:51:55

    1, 编译OSG 由于重装了win10的系统,Qt也安装了最新版5.13,把之前OSG重新编译了一遍,过程与之前的一模一样。 Windows7 + OSG3.6 + VS2017 + Qt5.11 2,编译osgQt 下载地址github很容易找到,或者去我的百度网盘 https://github.com/openscenegraph/osgQt 链接: https://pan.baidu.com/s/1

  • osg学习(七)Z-Fighting冲突的解决方法-分层渲染2019-08-04 09:00:30

    在超大的场景中,如果既想看到近处的物体,又想看到很远的物体,则必须把相机的远近裁剪面距离设得很大。远近裁剪面距离比例太大了,由于Depth Buffer的精度有限,这样就会导致Z-Fighting,挨在一起的物体表面会发生闪烁。 解决这个问题有两种方法,一是用Logarithmic Depth Buffer,但是由于

  • osg qt fbx ifc bim osg ive 3ds max rvt2019-07-23 11:55:10

    项目环境变量配置 include E:\Qt\Qt5.12.2\5.12.2\msvc2017_64\include E:\OpenSourceGraph\OpenSceneGraph_install\include E:\IFC\boost_1_66_0_vs2017_20190416 E:\IFC\Carve20190507\include E:\IFC\IfcPlusplus_vs2017_20190507\include E:\Qt\Qt5.12.2\5.12

  • OSG学习笔记0——解决OSG读obj模型问题[转]2019-07-12 13:50:45

    原文:https://blog.csdn.net/u011310341/article/details/51179948  #include "stdafx.h" #include<osgViewer/Viewer> #include<osgDB/ReadFile> int main(int argc, char **argv){ osgViewer::Viewer viewer;//定义一个视景器 osgDB::Options *a = new osgDB:

  • osg fbx模型点击节点,对应节点染色2019-07-07 21:51:43

    class CPickHandler :public osgGA::GUIEventHandler{public: CPickHandler(osgViewer::Viewer *viewer) :mViewer(viewer) {} virtual bool handle(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa) { switch (ea.getEventType())

  • osg fbx模型删除模型中的某几个节点,实现编辑模型的功能2019-07-07 16:02:41

    fbx model element count:80 三维视图: {三维} 4294967295 osg::MatrixTransform1 基本墙 wall_240 [361750] 4294967295 osg::MatrixTransform2 基本墙 wall_240 [361813] 4294967295 osg::MatrixTransform3 基本墙 wall_240 [361889] 4294967295 osg::MatrixTransfo

  • osg::Texture2D 贴纹理2019-06-29 21:55:14

      #ifdef _WIN32#include <Windows.h>#endif // _WIN32#include<iostream>#include <osgViewer/Viewer>#include <osgViewer/ViewerEventHandlers> #include <osgViewer/CompositeViewer> #include <osgDB/ReadFile>#include <osg/Ge

  • osg::Camera example2019-06-28 21:00:39

      #ifdef _WIN32#include <Windows.h>#endif // _WIN32#include<iostream>#include <osgViewer/Viewer>#include <osgViewer/ViewerEventHandlers> #include <osgViewer/CompositeViewer> #include <osgDB/ReadFile>#include <osg/Ge

  • osg::PagedLOD example2019-06-28 16:42:34

    int main(){ osg::ref_ptr<osgViewer::Viewer> viewer1 = new osgViewer::Viewer; osg::ref_ptr<osg::PagedLOD> pageLdc1 = new osg::PagedLOD; pageLdc1->setFileName(0, "D:\\参考手册\\BIM\\osg\\library.OSGB"); pageL

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有