发布关于PostGIS对于USD格式的拓展
摘要:我们非常高兴的发布为了一年一度的SIGGRAPH 2023发布关于为PostGIS支持USD格式的新拓展。 新添加了3个函数 ST_AsUSDA(geom geometry, usd_root_name text, usd_geom_name text, width float) ST_AsUSDC
阅读全文
posted @
2023-08-07 09:07
Bo Schwarzstein
阅读(183)
推荐(0)
A Practical Methodology, HSM, Handler,Service,Model, for Golang Backend Development
摘要:A simple methodology or design pattern called HSM (Handler, Service, Model) or Golang backend development. HSM is similar to MVC but specifically tailored for pure backend development in the Go programming language (Golang).
阅读全文
posted @
2023-06-20 10:58
Bo Schwarzstein
阅读(183)
推荐(0)
Create CloudFront Signed URL in 1 Minute
摘要:Assume we have AWS Bucket: test-bucket AWS Object: /test-file.jpg AWS Cloudfront: https://test-cdn.cloudfront.net/ Assume the Cloudfront has Original
阅读全文
posted @
2022-04-12 11:07
Bo Schwarzstein
阅读(376)
推荐(0)
Use Go Micro Web with HTTP Handler
摘要:The go-micro is a very powerful framework to establish a complete microservice backend network. go-micro has several types of services, one service ca
阅读全文
posted @
2020-09-25 14:11
Bo Schwarzstein
阅读(198)
推荐(0)
How to build ffmpeg with hardware accelerated codecs for Android x86
摘要:In order to build a complete ffmpeg with hardware acceleration for Intel platform (XXX lake + Atom), we need a complete Android x86 build, the cross-c
阅读全文
posted @
2019-03-22 16:14
Bo Schwarzstein
阅读(799)
推荐(0)
Play vue.js with constant value in SailsJS
摘要:SailsJS supplies a utility module called parasails, which defines two elements, <ajax-form> and <ajax-button> to allow user to create AJAX form easily
阅读全文
posted @
2018-10-05 18:48
Bo Schwarzstein
阅读(409)
推荐(0)
Tips on GORM, Avoid Error about "duplicate column name: id"
摘要:The GORM is an super easy ORM solution for Go language. But many people would get the error about Usually this comes from the model definition which h
阅读全文
posted @
2018-04-15 19:14
Bo Schwarzstein
阅读(545)
推荐(0)
如何程序化的构造Hibernate配置 // How to initialize Hibernate programmably
摘要:Java为什么被人诟病,因为一切都是过度设计。Hibernate其实就是实现了一套JPA的ORM,不过用极度冗赘的配置方式,nodejs Sequelize.js,甚至Python SQLAlchemy,都比Java的实现优雅的多。当然这个是历史问题了,就没必要抱怨了。 许多时候,我们不需要用hib
阅读全文
posted @
2018-04-08 17:34
Bo Schwarzstein
阅读(309)
推荐(0)
Build Slic3r on Windows // 如何在Windows上编译Slic3r
摘要:下载Strawberry Perl 5.22 64bit绿色版,解压缩到某个地方,比如C盘根目录,比如 C:\strawbrry-perl-5.22.2.1-64bit-portable 下载Boost 1.59,解压缩到某处,比如 C:\boost_1_59_0 注意,下载的Strawberry
阅读全文
posted @
2016-07-16 21:40
Bo Schwarzstein
阅读(1285)
推荐(0)
Retrieve OpenGL Context from Qt 5.5 on OSX
摘要:In the latest Qt 5.5, the QOpenGLWidget is much better and has less bugs than the QGLWidget, but it doesn't supply the good API to retrieve the native...
阅读全文
posted @
2016-01-10 17:02
Bo Schwarzstein
阅读(873)
推荐(0)
Space Time Varying Color Palette
摘要:PDF Space Time Varying Color Palettes from Bo Zhou
阅读全文
posted @
2015-11-06 10:28
Bo Schwarzstein
阅读(491)
推荐(0)
Jump Flood Algorithms for Centroidal Voronoi Tessellation
摘要:BriefImplemented both CPU and GPU version, you could consider this as the basic playground to implement the more advanced feature such as support arbi...
阅读全文
posted @
2014-12-02 20:57
Bo Schwarzstein
阅读(1169)
推荐(0)
Multithreading C++ Out of Core Sotring for Massive Data|多线程C++的大规模数据外部排序
摘要:本代码的实现了多线程C++的大数据外排,这个其实是我为实现PantaRay或者是类似Dreamworks的点云GI的技术储备,为大规模点云光线跟踪所准备的第一步。所有的代码全部使用STL+boost实现了足够高层次的抽象,读者完全可以根据自己的需要改写。
阅读全文
posted @
2013-11-17 14:03
Bo Schwarzstein
阅读(2108)
推荐(2)
Simplest Python K-Way Merging Sort|最简单的Python k路归并排序
摘要:想做这个好长时间了,因为有一篇Dreamworks的论文《Coherent Out-of-Core Point-Based Global Illumination》提到了这个,一直没时间做,于是今天抽了十几分钟搞了一下,基于Python的,非常简单。由于基于点云的GI已经毫无疑问的不会使用了,所以Weta Digital的PantaRay和Dreamworks的这些方法都会直接宣布作废,权当一个过渡阶段(从REYES到纯RT)的折中方法了。k是线程数目,n是每个线程处理的数字个数。可以直接替换为外部的IO访问代码,每一个线程读取外部待排序数据的索引,写出各自排序后的结果,主线程再来读取所有的文
阅读全文
posted @
2013-11-07 16:33
Bo Schwarzstein
阅读(1709)
推荐(2)
An Simple Method for Sparse Matrix Optimization by GPU
摘要:这是一个相当simple & naive的方法,几行代码完成的CSR稀疏矩阵格式的优化,剔除0元素。由于目前AMD的OpenCL SDK依旧没有赶上NVIDIA CUDA SDK的进度——新的CUDA 4我认为在库的丰富程度上以及易用上已经远远的超过了AMD的实现。虽然如此,今后还是得希望开源社区能够贡献基于OpenCL的数学库,或者我自己搞一个?This is a rare simple & naive method which is used to optimize sparse matrix, cull the all zero elements. I think the
阅读全文
posted @
2012-03-16 10:36
Bo Schwarzstein
阅读(2983)
推荐(3)
Alembic for Mudbox
摘要:After spent some time on Alembic, a Mudbox plugin was finished.The code is at my Ortholab, youi should compile this plugin by your self. Current Alembic has not supplied a pre-built Windows binary so that it will be more comfortable on Linux platform, at the same time, as we know, the most studios a
阅读全文
posted @
2012-03-01 13:41
Bo Schwarzstein
阅读(1061)
推荐(0)
WebM VP8 SDK Usage/关于WebM VP8 SDK的用法
摘要:WebM是Google提出的新的网络视频格式,本质上是个MKV的壳,封装VPX中的VP8视频流与Vorbis OGG音频流。目前Firefox、Opera、Chrome都能直接打开WebM视频文件而无需其他任何乱七八糟的插件。我个人倒是很喜欢WebM的OGG音频,虽然在低比特率下不如AAC,不过依旧胜过MP3太多了。最近接手了一个项目,将Showcase中的Flash视频导出替换为WebM视频导出...
阅读全文
posted @
2011-06-16 19:07
Bo Schwarzstein
阅读(1900)
推荐(0)
CUDALUT - Real-Time Color Space Conversion Tools based on CUDA
摘要:This image processing tool which is used to do color transform by a 3D LUTwas requested by a friend several days ago, I’d like to release it now.I have implemented the tetrahedral interpolation ...
阅读全文
posted @
2010-11-24 18:10
Bo Schwarzstein
阅读(1598)
推荐(0)
Fast Poisson Disk Sampling
摘要:Coarse C++ implementation for "Fast Poisson disk sampling in arbitrary dimensions, R. Bridson, ACM SIGGRAPH 2007 Sketches Program".在公司实在闲的蛋疼,于是做了个快速泊松碟采样的实现。[代码]
阅读全文
posted @
2009-11-03 16:49
Bo Schwarzstein
阅读(3375)
推荐(1)