3d

Sceneform generates sfb files without colors

徘徊边缘 提交于 2020-04-30 08:47:20
问题 I have problem with the objects generated from Google Sceneform Tools ​(Beta)​ v1.13.0 in Android Studio. I downloaded the object ( .obj file ) from poly and imported to Blender to change the dimensions. After that exported again as .obj file . When I use it to generate .sfb file in Android Studio with Sceneform tools, the .sfb object that is generated is only black. Left is object ( .obj and .mtl ) imported in Blender , and right is generated .sfb file in AndroidStudio. Thanks in advance.

How to plot a slicing plane with a surface with “matplotlib” in python

被刻印的时光 ゝ 提交于 2020-04-18 02:58:16
问题 I wonder how to create two slicing planes with a surface to two 2d figures. For example, I created a surface as below: from mpl_toolkits.mplot3d import Axes3D from matplotlib import pyplot as plt import numpy as np def f(x1, x2): return 0.5 * x1 + 0.6 * x2 + 0.2 * x1 * x1 + 0.1 * x1 * x2 + 0.3 * x2 * x2 + 4 x = np.linspace(-3, 3, 100) y = np.linspace(-3, 3, 100) xx, yy = np.meshgrid(x,y) z = f(xx, yy) # set up the figure fig = plt.figure() ax = fig.gca(projection='3d') ax.set_xlim(-3, 3) ax

How to plot a slicing plane with a surface with “matplotlib” in python

回眸只為那壹抹淺笑 提交于 2020-04-18 02:54:09
问题 I wonder how to create two slicing planes with a surface to two 2d figures. For example, I created a surface as below: from mpl_toolkits.mplot3d import Axes3D from matplotlib import pyplot as plt import numpy as np def f(x1, x2): return 0.5 * x1 + 0.6 * x2 + 0.2 * x1 * x1 + 0.1 * x1 * x2 + 0.3 * x2 * x2 + 4 x = np.linspace(-3, 3, 100) y = np.linspace(-3, 3, 100) xx, yy = np.meshgrid(x,y) z = f(xx, yy) # set up the figure fig = plt.figure() ax = fig.gca(projection='3d') ax.set_xlim(-3, 3) ax

翻译 Cesium入门教程(二)------图层 Imagery Layers

和自甴很熟 提交于 2020-04-14 03:09:51
【今日推荐】:为什么一到面试就懵逼!>>> 转载请注明出处 http://my.oschina.net/u/149294/blog/202464 本人建了一个QQ群:115883691,欢迎大家一起来讨论Cesium相关技术 Cesium支持通过许多标准的服务,渲染和以图层的方式组织高分辨率的地图,图层可以是有序的并且可以融合(blend)在一起。每个图层的亮度、对比度、伽马值、色调以及饱和度都能动态的更改。本教程将介绍一个图层方面的概念和相关的Cesium APIs。 开搞 我们先暂时忽略掉一些细节,直接开始写几句代码来添加一些图层。首先打开Sandcastle中得HelloWorld。这个例子创建了一个CesiumWidget,它包含了一个渲染Bing maps的单一图层。通过个CesiumWidget的构造函数传递一个附加参数,我们可以另外定义一个底图图层。我们使用Esri ArcGIS MapServer的数据作为底图。 var widget = new Cesium.CesiumWidget('cesiumContainer', { imageryProvider : new Cesium.ArcGisMapServerImageryProvider({ url : 'http://server.arcgisonline.com/ArcGIS/rest/services

翻译 Cesium入门教程(一)------环境配置 Hello World

橙三吉。 提交于 2020-04-13 16:20:54
【今日推荐】:为什么一到面试就懵逼!>>> 转载请注明出处 http://my.oschina.net/u/149294/blog/202433 本人建了一个QQ群:115883691,欢迎大家一起来讨论Cesium相关技术 首先确保你的浏览器支持Cesium 判断你的浏览器是否支持Cesium最简单的办法就是看你是否能成功的运行cesium的helloworld例子( 点这里(要翻墙才行) ),假如你看到如下的图像,祝贺你,你可以开始下边的步骤了(其实不翻墙你是看不到了,不过也没关系,只要你用的是最新版的firefox或者google chrome就没问题)。 Cesium用到了很多HTML5的技术,其中最重要的是WebGL。尽管这些标准正在被越来越广泛的应用,但是很多的浏览器和系统还是需要更新至新版版才能支持他们。假如上面的例子不能工作,这儿还有一些方法可以试试。 更新你的浏览器,Cesium团队大多使用Google Chrome,但是firefox,Safari和其他的一些浏览器也能很好的工作,假如你使用的是上面这些浏览器中的一种,那么确保你更新到了最新版。不幸的是当前版本的IE还不支持WebGL(貌似最新版支持了,不过没试过)。 升级你的显卡驱动。 假如还是不行,去http://get.webgl.org/看看,它提供了一些解决问题的建议。最后你可以到论坛寻求帮助。

Projecting 3D Model onto 2d plane

﹥>﹥吖頭↗ 提交于 2020-04-10 06:45:49
问题 I have a 3d object, and wish to export it in all direction.Suppose I have home picture and if I project it on 2d plane it only show me something like square but if I change angle it give me different view(In short I want different 2d projection of same 3d object for better visualization).I am looking for python library or algorithm which able to do that.Please ref diagram to get clear idea what i want.enter image description here 回答1: This can be done with the projective transformation. This

Removing small values in slice

萝らか妹 提交于 2020-04-10 03:33:45
问题 How can I delete the small values in a slice plot? In my plot, there is basically too much blue and I cannot see the red points inside. Or, put slightly differently: *Is it possible delete some points in a slice plot with matlab? slice(X,Y,Z,V,sx,sy,sz) represents the value of the volume V on the whole plans defined by sx,sy and sz. But can I choose to keep some points of these plans only? Do we have to represent the values of V on the whole plan? Can I make "small values" transparent? EDIT

Removing small values in slice

我是研究僧i 提交于 2020-04-10 03:31:33
问题 How can I delete the small values in a slice plot? In my plot, there is basically too much blue and I cannot see the red points inside. Or, put slightly differently: *Is it possible delete some points in a slice plot with matlab? slice(X,Y,Z,V,sx,sy,sz) represents the value of the volume V on the whole plans defined by sx,sy and sz. But can I choose to keep some points of these plans only? Do we have to represent the values of V on the whole plan? Can I make "small values" transparent? EDIT

编辑器中动画菜单及其子菜单的使用介绍

我的未来我决定 提交于 2020-04-07 05:04:10
动画 可以编辑场景里的动画,可以加路径等 路径动画 可以让模型添加路径,和添加关键点,删除路径,可以设定播放时间 骨骼动画 可以选择你要加的骨骼动画 (x3da 格式文件 ) 让骨骼动画停止或播放,可以让他循环或不循环; 贴图动画 可以加一个布告板动画,就是替换贴图,设定替换每张贴图的时间。可以让添加路径,和添加关键点,删除路径,可以设定播放时间 变形动画 可以让模型,变形成为动画,例如模型向一个方向拉伸; 相机动画 可以录制一段相机的移动路径,和拍摄电影一样。 X3D.Engine 通用虚拟现实引擎安装包下载地址: http://www.x3dengine.cn/Download.aspx 技术支持QQ群:105315485 来源: oschina 链接: https://my.oschina.net/u/218563/blog/39081

X3D.Studio 大场景编辑器

给你一囗甜甜゛ 提交于 2020-04-07 05:00:11
X3D.Studio 通用虚拟现实引擎安装包下载地址: http://www.x3dengine.cn/Download.aspx X3D.Studio,是一款方便快捷的3D大场景编辑器,基于国际领先X3D.Engine引擎,依托稳定、高效快捷的工作流程,处理所有数字内容的2D/3D图形、声音、网络、数据库、互动逻辑及AI,用于构建3D虚拟现实场景。 X3D.Studio,所有操作均可视化、图形化。使用者只须具备一定3DSMAX建模和渲染基础,利用X3D.Studio,无需懂程序技术,依然可以轻松操作,迅速制作虚拟现实场景。 X3D.Studio特性 友好的图形编辑界面、高效快捷的工作流程; 强大的3D图形处理能力,任意角度、实时的3D显示; 支持导航图显示功能、高效高精度物理碰撞模拟; 高精度抓图、支持模型的导入导出、支持雾效,可增强场景真实度; 提供多种样式、逼真的太阳光晕; 支持物体尺寸的显示、修改、可导出序列帧,便于后期编辑合成; 支持动画相机,便于录制各种动画、支持编组,方便整体操作; 强大的界面编辑器,可灵活设计播放界面; 支持撤消恢复,避免误操作、任意编辑或替换启动界面; 支持对物体的镜像、旋转、缩放和平移等操作,支持实体显示、线框显示、点显示等多种显示方式; 可随意更改建筑物高度,改变外立面材质、颜色、贴图等; 支持任意格式的视频贴图、支持贴图管理器、自带材质库