Skip to content Skip to sidebar Skip to footer
Showing posts with the label 3d

Basic 3d Voxel Grid In Mayavi

I'm trying to visualize a 3D array through Mayavi in Python. I simply want to create a structu… Read more Basic 3d Voxel Grid In Mayavi

How To Determine Whether A Point Is Inside Or Outside A 3d Model Computationally

I have a .obj and .ply file of a 3D model. What I want to do is read this 3D model file and see if … Read more How To Determine Whether A Point Is Inside Or Outside A 3d Model Computationally

Trying To Create 3x3x3 Cube But Created 4x4x4 Instead In Opengl

I am trying to create a 3d rubiks cube, however the dimensions are not aligning with the dimensions… Read more Trying To Create 3x3x3 Cube But Created 4x4x4 Instead In Opengl

How To Make A 3d Effect On Bars In Matplotlib?

I have a very simple basic bar's graphic like this one but i want to display the bars with som… Read more How To Make A 3d Effect On Bars In Matplotlib?

Rotating Vertices About Point

I'm reverse engineering a level map for a game. Each object within the level has 3 floats for p… Read more Rotating Vertices About Point

Generating A Cylindrical Surface With Np.outer

I was able to previously generate and plot a spherical surface using np.outer: u = np.linspace(0, … Read more Generating A Cylindrical Surface With Np.outer

Speeding Up A Closest Point On A Hyperbolic Paraboloid Algorithm

I wrote a python script which finds the UV coords of the closest point on surface from a query poin… Read more Speeding Up A Closest Point On A Hyperbolic Paraboloid Algorithm

How Do I Import An Stl Into Pygltflib

How do I import an STL file as a mesh into pygltflib? I have tried gltf = GLTF2().load(filename) bu… Read more How Do I Import An Stl Into Pygltflib

How To Rotate A Square Around X-axis In A 3d Space

So i have been trying to learn how 3D rendering works. I tried write a script with the goal to rota… Read more How To Rotate A Square Around X-axis In A 3d Space

How Can I Connect Points On A 3d Scatter Plot?

So currently, I have all these coordinates and so it's quite easy to create a 3D scatter plot o… Read more How Can I Connect Points On A 3d Scatter Plot?

Plot 4d Data As Layered Heatmaps In Python

I would like to create layered heatmaps using (x,y,z) coordinates and a fourth dimension, color-bas… Read more Plot 4d Data As Layered Heatmaps In Python