Skip to main content

16 posts tagged with "graphics"

View All Tags

⏱️ 3 min read
Kirill Vasin

We’ve been tinkering with Gaussian-splats for a while, and today we’re releasing our small, but useful tool SplatMesh — a Wolfram Language paclet for rendering (with spark.js), and basic editing splats right inside your WLJS or Mathematica notebook workflow.

⚠️ Accurate rendering is not possible in Mathematica, but only preview as point clouds

TL;DR

In this short post I’ll walk through:

  • import a noisy Scaniverse capture,
  • define a cylindrical region of interest,
  • filter splats with a single predicate (functions receive [index, center, scales, quaternion, opacity, color]),
  • preview as 3D points (Mathematica-friendly ✨),
  • and export the result.

⏱️ One min read

Can you image Graphics to be that fast? 🌊 No raster images was used

Each block is

Translate[{Opacity[life], RGBColor[life, 0, 1-life], Rectangle[{-1,-1}, {1,1}]}, t]

Please see FrontProxy in the documentation for more information.

⏱️ 4 min read
Kirill Vasin

A GPU is also a great tool for general-purpose computations. There are a few ways to couple it with Wolfram Language:

  • CUDALink
  • OpenCLLink
  • LibraryLink

The first option requires hardware from Nvidia, which is a massive drawback considering there are many other processors on the market capable of crunching numbers. The last option allows integrating any dynamic library written in C/Rust (probably there are other bindings as well) into our Kernel, but the amount of effort required to write a general-purpose GPU library and deal with cross-platform issues is quite cumbersome and defeats the whole purpose of using WL here.

We will go with the most cross-platform and hardware-agnostic solution: OpenCL 🚅