All Questions
16 questions
0
votes
0
answers
58
views
How can I rig human-looking face onto a 3d FLAME mesh talking head?
Noob question here as I've just started working with Blender and 3d models:
I'm currently working with Blender 3.4.1 and I'm using Python script which runs blender on render.py and animates a 3d ...
1
vote
1
answer
429
views
World to pixel transformation in Pyrender
I'm trying to transform a point in a 3D world rendered with pyrender to pixel coordinates. The world to camera frame transformation seems to work, however the camera to pixel frame transformation is ...
-2
votes
2
answers
64
views
Starting point for 3D modeling program [closed]
I would like some assistance with a python 3D modeling program. I know this is a huge undertaking, but all I want is to know where to start, and any hurdles that I may have that I need to know about.
...
1
vote
0
answers
624
views
Convert 3D CBCT dicom to 2D Panaromic View
I want to generate 2D panarmoic view from the series of 3D cbct dental images by python.
I am converting the series of 3D Cbct images to 2D panaromic view by python. The code is working fine but the ...
0
votes
1
answer
69
views
calculate triangle shade from angle between normal and camera vector
I am currently trying to better understand 3d graphics. My goal is to get a value between 0 and 255 to shade a triangle. I have 2 vectors (as tuples): the normal of a triangle and the camera vector. I ...
2
votes
1
answer
596
views
How do I speed up this pyglet rendering?
Below is the code for rendering. I am only rendering around 300 blocks yet it is very slow
async def render(self):
time_start = time.time()
self.batch = pyglet.graphics.Batch()
for block ...
0
votes
2
answers
1k
views
Why normalized EXR renderings of surface Normals look different than PNG renderings?
I render surface Normals using Cycles and store the results in EXR format. The values in the EXR format are within the range of [-1, 1] meaning that I cannot directly store the values in a PNG file. ...
1
vote
1
answer
811
views
Sequentially importing .obj files becomes drastically slow very quickly
I have written a very straight-forward script that imports many obj files one-by-one and renders them. The imported meshes have ~10k to ~120k vertices. After rendering, I completely remove the ...
6
votes
3
answers
21k
views
Rendering a 3D mesh into an image using python
I'm a working a neural network that does face reconstruction from a single image using tensorflow.
I'm trying to figure out how to render the output of the network (which is a 3D mesh) into an image ...
0
votes
1
answer
1k
views
KeyShot Python script batch file
I'd like to know if I can create a batch file that runs KeyShot in the background and renders like Maya.
With Maya I can create a batch file, call the python interpreter mayapy / my python script.py /...
2
votes
0
answers
1k
views
bar3d() of mplot3d renders faces of bars incorrectly from specific viewpoints
I've made a 3D bar plot in Python with mplot3d's bar3d() method. As I either manually or programatically change the viewpoint, sometimes it renders the bars incorrectly.
The values of elevation and ...
1
vote
1
answer
97
views
X rotation doesn't work
In python, I have written a 3D rendering program. The Y rotation works fine, but the X rotation zooms in for some obscure reason. I couldn't spot it, so I put it up here.
def plotLine(W, H, (x, y, z),...
5
votes
1
answer
3k
views
Draw a terrain with python?
I have a numpy 2d-array representing the geometrical height of a specific area where a street will be build. I can visualize this using scipy.misc.toimage. However I would like to get a simple 3D view ...
1
vote
2
answers
3k
views
Panda3D and Python, render only one frame and other questions
I would like to use Panda3D for my personal project, but after reading the documentation and some example sourcecodes, I still have a few questions:
How can I render just one frame and save it in a ...
2
votes
1
answer
3k
views
Perspective projection with multiple 3D objects on different depths in Python
For my personal project I need to:
Produce a perspective projection from a 3D objet to a 2D plane (on a point defined in the space, which will be the camera).
Get the exact area/points coordinates of ...