I got this error when trying to integrate controlp5 into proscene based on controlp5 examples and examples from this forum. The error points out to the bold lines in the codes. I can't seem to solve this problem.
I'm trying to set constraints based on the vertices obtained from the 3D object (in this case from OBJ file) so that a second 3D object(sphere) can't go thru it. I've tried browsing openprocessing to find a way to set constraints to given set of vertices but I can't find one though.
The OBJ file object is not a simple shape (pyramid,sphere,cube, etc). It is bone shape or any other similar non-uniform shape.
The lines that is bold is the code for getting the vertices from OBJ file
Could someone help me to solve this and advice me on which library best suited for it?
Thank you all
Below is the codes. Y
ou can just use any obj file and rename it to test.obj. I'm using Processing 1.5.1
I've been trying to get the vertices of an object via OBJLoader. At this moment, i'm able to get all the vertices from the loop function below. However, I can't call the variable 'vert' from outside the class and even when I want to call it from outside the loop, I only got 1 vertex.
I need to be able to call all vertices of the object from outside the class in order to use the vertices for constrain
purposes.
Below is the codes and you can just use any obj file and rename it to test.obj. I'm using Processing 1.5.1
Could someone help me to solve this and point out my mistakes?
I have this project by which I have to simulate motion between two 3d object and I need also to simulate collision/bounce effect between the two 3d object when I drag one object towards the other one via mouse drag.
I'm looking for a physics library that enables me to do the task mentioned
I'm trying to test whether 3d mesh with Hemesh can be used for rendering 3d femur.. I want to create 3d mesh out of coordinate list in the form of xyz file.
I'm new to PeasyCam. I would like to know whether we can spin object around its center by mouse instead of rotating it around 3d space origin? If not, can anybody suggest any method or library that can do this