VPython / GlowScript is neat Python alternative to 3D Processing.py.
If you don’t need interactivity, then Blender’s Python scripting controls a very powerful renderer (think feature-film quality particle systems, rigid-body/fluid/cloth dynamics, metaballs, volumetrics, and so on).
1 Like
bello
May 31, 2021, 12:13pm
22
hey chrisir can i ask you for help whit my code?
1 Like
Not much knowledge for py but give it a try
bello
May 31, 2021, 12:26pm
25
i don’t understand why i can’t view the loaded obj
glv
May 31, 2021, 12:45pm
26
Hello,
You already started another topic on this.
Please continue the topic there:
please format code with </> button * homework policy * asking questions
< PShape obj;
PShape objB;
PShape objC;
PShape objD;
int children = obj.getChildCount();
//onj=teapot objB=pianta objC=teschio objD=mano
ArrayList teapot= new ArrayList();
ArrayList pianta= new ArrayList();
ArrayList teschio= new ArrayList();
ArrayList mano= new ArrayList();
void setup() {
size(800, 800, P3D);
background(0);
obj = loadShape(“teapot.obj”);
objB = loadShape(“pianta.obj”);
objC= loadShape(“tes…
Please format your code properly:
https://discourse.processing.org/faq#format-your-code
:)