Skip to main content

All Questions

Tagged with
2 votes
1 answer
65 views

How to rasterize an implicit function

For minecraft building, I am rasterizing some shapes. How to simulate a shape with blocks. There are many shapes, such as circular rings, ellipsoids, hyperbolic circular towers, etc. Of course, the ...
zhan114514's user avatar
0 votes
1 answer
34 views

Differentiable Environment Map Failing Backpropagation in Mitsuba 3.6.4

I'm trying to set up a scene in Mitsuba 3 where I optimize an environment map parameter, emitter.data. This seems like it should be possible given their caustics optimization tutorial and the fact ...
Anson Savage's user avatar
0 votes
0 answers
15 views

How to set height & width in pm4py's graph visualization?

If I use the Python package pm4py, I get a nice graph visualization. However, the size is quite small in terms of height, and I want to change it. The code so far: from pm4py.visualization.bpmn import ...
lambruscoAcido's user avatar
0 votes
0 answers
47 views

Why does my SVG render correctly in web viewers but not in pydiffvg even when stroke attributes are missing?

I’m trying to render an SVG using pydiffvg, but it fails or renders incorrectly (the structure is fine but the color is very off, missing elements) when certain stroke attributes like stroke-width are ...
Ravish Jha's user avatar
0 votes
0 answers
44 views

Python and OpenGL: Texture Not Filling Polygon Correctly in Koch Snowflake Rendering [duplicate]

Question: I’m working on rendering a Koch snowflake with a sinus-plasma texture using PYTHON and OpenGL. The initial polygon is star-shaped, evolving into the Koch snowflake. My goal is to fill this ...
User's user avatar
  • 19
0 votes
0 answers
61 views

How to load obj file with mtl in Mitsuba

In mitsuba documentation 0.5.0, it states that obj files .mtl files can be automatically loaded. I currently have a obj file where some parts of it are red and some parts are blue (all using the ...
mic daniel's user avatar
1 vote
1 answer
61 views

Issue with LaTeX rendering in the title of colorbar plots using Python's Matplotlib library

I am facing an issue with the title of the following colorbar plots using Python's Matplotlib library. There are two subplots. The title of the first one works well, i.e., LaTeX rendering is done ...
Pustam Raut's user avatar
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 ...
skidjoe's user avatar
  • 659
0 votes
0 answers
452 views

Gradio Python - Passing Component Values to Function and Updating Interface

I am trying to implement a Gradio app that takes in a json of a conversation between users and an AI. The input json is formatted as such, where there are multiple conversations, each has an ...
Aland Liu's user avatar
0 votes
0 answers
25 views

In Flask, is it possible to redirect to a URL fragment? [duplicate]

In Flask, I have main/routes.py using Flask blueprints from flask import render_template, request from app.main import bp @bp.route('/') def index(): return render_template('index.html') In ...
martin1959's user avatar
2 votes
1 answer
342 views

Rendering depth from mesh and camera parameters

I want to render depth from mesh file, and camera parameters, to do so I tried RaycastingScene from open3d with this mesh file as follows: #!/usr/bin/env python3 import numpy as np import open3d as ...
bhomaidan90's user avatar
0 votes
1 answer
28 views

How to resolve possibly conflicting urls in webpage rendering

When I try to load a page, I get another page instead... I try to load a page called wikiPage as shown in my urls description that follows, but I get another url patterns linking to a view called ...
Isesele Victor's user avatar
0 votes
1 answer
51 views

flask template not redirecting

here is my flask app @app.route("/inputs", methods=["POST"]) def inputs(): file = request.files.get("dataset") algo = request.form.getlist("algo") ...
Varad Kelkar's user avatar
0 votes
1 answer
779 views

Blender bpy Module Ignores GPU Configuration for Rendering

I'm attempting to use bpy (Blender) to render a scene using Python 3.10.0 on Windows. My laptop is equipped with an NVIDIA GeForce RTX 3050. Despite configuring the GPU, I consistently observe the CPU ...
Pavel Angel Mendoza Villafane's user avatar
1 vote
1 answer
474 views

Depth and RGB rendered using blender not aligning properly with the object model in Open3D

I am working on the ShapeNetCore dataset which consists of 3D models with texture and color information. Link to ShapeNetCore repository - https://shapenet.org/ I am trying to render the RGB and depth ...
Aditya's user avatar
  • 1,135

15 30 50 per page
1
2 3 4 5
15