Pull to refresh
54.05
Rating

Working with 3D-graphics *

It's time to render!

Show first
Rating limit

A Second Check of Newton Game Dynamics with PVS-Studio

PVS-Studio corporate blog Open source *C++ *Working with 3D-graphics *C *

Рисунок 1

Some time ago, somewhere on the Internet, I stumbled upon a physics engine called Newton Game Dynamics. Knowing that engine projects are usually big and complex, I decided to check its code with PVS-Studio for any interesting defects. I was especially enthusiastic about this one because my co-worker Andrey Karpov already checked it in 2014 and a second check would be a good opportunity to demonstrate our analyzer's evolution over the past six years. As of this writing, the latest version of Newton Game Dynamics is dated February 27, 2020, which means it has been actively developing for the past six years too. So, hopefully, this article will be interesting not only to us but to the engine's developers as well – and for them it's a chance to fix some bugs and improve their code.
Read more →
Rating 0
Views 504
Comments 0

Ray Cast Visual Search (RCVS). Fast and simple algorithm for searching 3D objects with similar shapes

Search engines *Working with 3D-graphics *Algorithms *CGI *
image
For me, these two models are quite similar, but in fact they don’t have obvious characteristics to measure this similarity. These models have different numbers of vertices, edges and polygons. They are of different sizes, rotated differently and both have the same transforms (Location = [0,0,0], Rotation in radians = [0,0,0], Scale = [1,1,1]). So how to determine their similarity?
Total votes 3: ↑3 and ↓0 +3
Views 2.7K
Comments 0

Polygonal Mesh to B-Rep Solid Conversion: Algorithm Details and C++ Code Samples

C++ *Working with 3D-graphics *CAD/CAM *Mathematics *
Boundary representation (B-rep) is the primary method of representing modeled objects in most geometric kernels, including our C3D Modeler kernel. The core algorithms that edit models, such as applying fillet operations, performing cutting operations, and obtaining flat projections require the precision of B-rep representations. The rapidly growing variety of 3D data in polygonal formats makes the task of model transformations from polygons into boundary representation increasingly relevant. As a result, we developed a new SDK, C3D B-Shaper, which is part of our C3D Toolkit.

image
Total votes 6: ↑6 and ↓0 +6
Views 3.5K
Comments 0

Automatic respiratory organ segmentation

Inobitec corporate blog Working with 3D-graphics *Algorithms *Image processing *Data visualization *

Manual lung segmentation takes about 10 minutes and it requires a certain skill to get the same high-quality result as with automatic segmentation. Automatic segmentation takes about 15 seconds.


I assumed that without a neural network it would be possible to get an accuracy of no more than 70%. I also assumed, that morphological operations are only the preparation of an image for more complex algorithms. But as a result of processing of those, although few, 40 samples of tomographic data on hand, the algorithm segmented the lungs without errors. Moreover, after testing in the first five cases, the algorithm didn’t change significantly and correctly worked on the other 35 studies without changing the settings.


Also, neural networks have a disadvantage — for their training we need hundreds of training samples of lungs, which need to be marked up manually.


Read more →
Total votes 11: ↑10 and ↓1 +9
Views 1.5K
Comments 1

Authors' contribution