xml version="1.0" encoding="utf-8" standalone="yes"12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/CommentsRSS.aspxzh-cnSun, 11 Aug 2019 14:45:29 GMTSun, 11 Aug 2019 14:45:29 GMTcnblogs12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2019/04/11/216344.html#216350eryareryarThu, 11 Apr 2019 12:00:00 GMThttp://www.fometaux.com/eryar/archive/2019/04/11/216344.html#216350谢谢

eryar 2019-04-11 20:00 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2019/04/11/216344.html#216349ccsdu2009ccsdu2009Thu, 11 Apr 2019 02:03:00 GMThttp://www.fometaux.com/eryar/archive/2019/04/11/216344.html#216349

ccsdu2009 2019-04-11 10:03 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2019/04/10/216344.html#216348eryareryarWed, 10 Apr 2019 09:39:00 GMThttp://www.fometaux.com/eryar/archive/2019/04/10/216344.html#216348是的

eryar 2019-04-10 17:39 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2019/04/10/216344.html#216347ccsdu2009ccsdu2009Wed, 10 Apr 2019 09:37:00 GMThttp://www.fometaux.com/eryar/archive/2019/04/10/216344.html#216347

ccsdu2009 2019-04-10 17:37 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2019/03/26/187100.html#216314eryareryarTue, 26 Mar 2019 02:42:00 GMThttp://www.fometaux.com/eryar/archive/2019/03/26/187100.html#216314能够按OCC文档上的阐明,先更新显卡驱动试试。

eryar 2019-03-26 10:42 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2019/03/25/187100.html#216313birdsbirdsMon, 25 Mar 2019 07:11:00 GMThttp://www.fometaux.com/eryar/archive/2019/03/25/187100.html#216313您能帮我看下吗,这是什么问题?
Draw[1]> pload ALL
1
Draw[2]> vinit
Driver1/Viewer1/View1
Draw[3]> vglinfo
OpenGL info:
GLvendor: ATI Technologies Inc.
GLdevice: AMD Radeon(TM) R7 350X
GLversion: 4.6.13547 Compatibility Profile Context 25.20.15025.1002
GLSLversion: 4.60
Max texture size: 16384
Max combined texture units: 160
Max MSAA samples: 8
Viewport: 409x409
GPU memory: 4096 MiB
ResolutionRatio: 1


birds 2019-03-25 15:11 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2019/03/25/187100.html#216312eryareryarMon, 25 Mar 2019 04:01:00 GMThttp://www.fometaux.com/eryar/archive/2019/03/25/187100.html#216312Hello,

有可能是显卡支撑的欠好。
在Draw Test Harness中输入指令:
vglinfo
看看你的显卡信息。

On desktop, 3D viewer for optimal performance requires graphics processing unit (GPU) supporting OpenGL 3.3 or above. Ray tracing requires OpenGL 4.0+ or OpenGL 3.3+ with GL_ARB_texture_buffer_object_rgb32 extension. Textures within ray tracing will be available only when GL_ARB_bindless_texture extension is provided by driver.
On mobile platforms, OpenGL ES 2.0+ is required for 3D viewer (OpenGL ES 3.1+ is recommended). The ray tracing is not yet available on mobile platforms. Some old hardware might be unable to execute complex GLSL programs (e.g. with high number of light sources, clipping planes).
OCCT 3D Viewer, in general, supports wide range of graphics hardware - from very old to new. Therefore, if you observe some unexpected visual issues - first check for OpenGL driver update (or firmware update in case of mobile platforms); but beware that driver update might also come with new bugs. Don't forget to report these bugs to vendors.

eryar 2019-03-25 12:01 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2019/03/25/187100.html#216310birdsbirdsMon, 25 Mar 2019 03:26:00 GMThttp://www.fometaux.com/eryar/archive/2019/03/25/187100.html#216310我现在运用的是OCC7.2版别的,我试着编译翻开MFC的事例,发现里边的贴图功用最终贴出来的图是黑色的(瓶子,地图,厨房被贴的当地都是黑色的),没有作用,不知道是什么原因?是我没装备好,仍是OCC这方面功用还不完善?

birds 2019-03-25 11:26 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2018/12/06/216080.html#216109eryareryarThu, 06 Dec 2018 05:35:00 GMThttp://www.fometaux.com/eryar/archive/2018/12/06/216080.html#216109谢谢。

先做一版看看有没有作用。

有作用后边能够用Python之类的,便利扩展和分工。

eryar 2018-12-06 13:35 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2018/12/06/216080.html#216108ccsdu2009ccsdu2009Thu, 06 Dec 2018 01:49:00 GMThttp://www.fometaux.com/eryar/archive/2018/12/06/216080.html#216108不过单运用12bet功率真实太低 主张考虑py或许js

ccsdu2009 2018-12-06 09:49 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2018/09/05/199882.html#215906eryareryarWed, 05 Sep 2018 12:09:00 GMThttp://www.fometaux.com/eryar/archive/2018/09/05/199882.html#215906opencascade开源部分没有这个功用,要么运用他收费的模块,,要么运用其他SDK。

eryar 2018-09-05 20:09 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2018/09/05/199882.html#215905birdsbirdsWed, 05 Sep 2018 12:00:00 GMThttp://www.fometaux.com/eryar/archive/2018/09/05/199882.html#215905

birds 2018-09-05 20:00 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2018/08/08/206371.html#215834eryareryarWed, 08 Aug 2018 02:28:00 GMThttp://www.fometaux.com/eryar/archive/2018/08/08/206371.html#215834是的。

之前版别读STL也慢些。

eryar 2018-08-08 10:28 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2018/08/08/206371.html#215833birdsbirdsWed, 08 Aug 2018 01:04:00 GMThttp://www.fometaux.com/eryar/archive/2018/08/08/206371.html#215833TopoDS_Shape aShape;
if (!toCreateCompOfTris)
{
// Read STL file to the triangulation.
Handle(Draw_ProgressIndicator) aProgress = new Draw_ProgressIndicator (theDI, 1);
Handle(Poly_Triangulation) aTriangulation = RWStl::ReadFile (aFilePath.ToCString(), aProgress);

TopoDS_Face aFace;
BRep_Builder aB;
aB.MakeFace (aFace);
aB.UpdateFace (aFace, aTriangulation);
aShape = aFace;
}
是不是最要害的便是这个,RWStl::ReadFile能够直接生成三角网格,然后将每个网格叠加到面上,而之前版别readFile只能生成mesh模型,从而核算点,画网格,特费时间。
谢谢博主

birds 2018-08-08 09:04 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2018/08/07/206371.html#215831eryareryarTue, 07 Aug 2018 03:27:00 GMThttp://www.fometaux.com/eryar/archive/2018/08/07/206371.html#215831主张你用最新版别的occ7.3.0. 其中有关于纯网格模型的支撑:
0028125: Modeling Algorithms - support of BRep shapes based on tessellated geometry
https://tracker.dev.opencascade.org/view.php?id=28125

怎样读取和显现网格模型(STL等),可参阅readstl指令:
https://tracker.dev.opencascade.org/view.php?id=29868

http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blob;f=src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx;h=c42e9314c8a77e01065ba75399f1497f41985b27;hb=4c4420dfe9d87335c4f920a4ee409e3d8cfd0203



eryar 2018-08-07 11:27 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2018/08/06/206371.html#215828birdsbirdsMon, 06 Aug 2018 13:51:00 GMThttp://www.fometaux.com/eryar/archive/2018/08/06/206371.html#215828我用的是7.0版别的occ,那需求怎样能够完美显现stl实体。请教

birds 2018-08-06 21:51 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2018/08/06/206371.html#215827eryareryarMon, 06 Aug 2018 12:41:00 GMThttp://www.fometaux.com/eryar/archive/2018/08/06/206371.html#215827显现STL不需求用这个类。

看你用的occ哪个版别,最新版别中能够直接显现STL网格。

eryar 2018-08-06 20:41 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2018/08/06/206371.html#215826birdsbirdsMon, 06 Aug 2018 10:13:00 GMThttp://www.fometaux.com/eryar/archive/2018/08/06/206371.html#215826

birds 2018-08-06 18:13 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2018/08/06/206371.html#215825eryareryarMon, 06 Aug 2018 09:11:00 GMThttp://www.fometaux.com/eryar/archive/2018/08/06/206371.html#215825Hello,

你是想在occ中显现stl文件?

eryar 2018-08-06 17:11 宣布谈论
]]>
12bet++博客-eryar-最新谈论http://www.fometaux.com/eryar/archive/2018/08/06/206371.html#215824birdsbirdsMon, 06 Aug 2018 08:22:00 GMThttp://www.fometaux.com/eryar/archive/2018/08/06/206371.html#215824我经过MeshVS_Mesh显现生成读取的stl文件,之后又经过MeshVS_ElementalColorPrsBuilder增加色彩面片,可是该怎样将生成的网格模型显现为带有暗影立体状况,而不是纯色彩、没有立体感。

birds 2018-08-06 16:22 宣布谈论
]]>