-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
Hi guys!
I'm looking for some tips about obj files.
The example "RecordPointCloud" generates an obj files for each frame and if I import them in Blender I can see the point cloud correctly (even if the image is curiously rotate, but that's ok).
But, if I use a simple code to import OBJ in Processing to view point cloud (and modify it changing color, for example) it doesn't show me nothing.
Thinking that the problem was my code, I tried to import an OBJ file make in ThinkerCAD, but with it the importer works correctly.
This is the importer OBJ code:
PShape s;
void setup() {
size(1024, 768, P3D);
// The file "bot.obj" must be in the data folder
// of the current sketch to load successfully
s = loadShape("frame00.obj");
}
void draw() {
background(0);
translate(width/2, height/2);
shape(s, 0, 0);
}
My question is: why I can't import OBJ files made with RecordPointCloud in Processing? Can anyone help me?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels