Category "3d"

Python & Matplotlib: Make 3D plot interactive in Jupyter Notebook

I use Jupyter Notebook to make analysis of datasets. There are a lot of plots in the notebook, and some of them are 3d plots. I'm wondering if it is possible t

how to rotate a 3D surface in matplotlib

I have written code to plot a 3D surface of a parabaloid in matplotlib. How would I rotate the figure so that the figure remains in place (i.e. no vertical or

PPF 3D Models Matching OpenCV C++

I am developing an application that: Reads 7 model files and trains a PPF 3D Detector; Reads a scene file and try to match with the detector; Store the resu

Vypython: AttributeError: 'box' object has no attribute 'idx'

I am new to vpython and trying to learn. However, right after installing the module with "pip install vpython" and making a python file that contains this : fro

opengl - how to put texture on 3d irregular object

I have to create animation where gatling gun will be shoot (it doesn't have to be complex, cause it's just a practice). I drew basic version of my gun which loo

Why is a single depth buffer sufficient for this vulkan swapchain render loop?

I was following the vulkan tutorial at https://vulkan-tutorial.com/ and at the depth buffering chapter, the author Alexander Overvoorde mentions that "We only n

Converting 3D position to 2d screen position [r69!]

I need Three.js code to convert 3D object coordinates to 2d ones in a 'div' element so that I can place text labels where they need to be (without those labels

Mapping coordinates from plane given by normal vector to XY plane

So, I have this algorithm to calculate cross-section of 3D shape with plane given with normal vector. However, my current problem is, that the cross-section is

Average transformation matrix for a list of transformations

I have multiple estimates for a transformation matrix, from mapping two point clouds to each other via ICP (Iterative Closest Point). How can I generate the av

Python 2.7: Mayavi Flow function using six input arrays

I am attempting to accurately visualize some CFD data using Mayavi's flow function. I have six 100x100x100 arrays (X, Y, Z, U, V, W), pertaining to the positio

Is it possible to create 3d model in JavaFX 8 without texture?

I'd like to create a model in JavaFX 8 application which will have ~400000 polygons. And I don't need any texture, only simple color. Commonly it's necessary to

An articulated 3D human in HTML5

I am developing an open sign language gesture builder, in some ways very similar to Vcom3D's Gesture Builder - see product demo on bottom of this page. The mai

threejs get center of object

I have trying to retrieve and plot the centerpoint of some objects but I keep getting the same value for all my objects which is x=0, y=0 and z=0. So my centerp

Matlab stops interpolating colors on a mesh correctly if it is larger than 120 triangles

I'm trying to draw a large mesh in Matlab using the trimesh function, with the z coordinate of the vertices controlling the color. Unfortunately, Matlab stops i

3d Models are not properly showing by the "flutter_cube: ^0.0.4" in flutter

It is not showing proper 3d models it shows only the shadow of the models. How I am wrong or How it will show the same models? Both pictures are here real mode

Changing the way three.js projects a texture onto a halfsphere

I am currently trying to project an image onto the inside of a halfsphere in a three.js project. The half sphere is created via const geometry = new THREE.Spher