We are about to switch to a new forum software. Until then we have removed the registration on this forum.
This question is pretty self explanatory, however, but what I really want to know is how to make .obj files but just being able to use them is good as well. One other thing that could be helpful to know is if .obj files have textures or if there is a way to fit textures perfectly to objects or even just boxes or spheres.
Answers
https://p5js.org/reference/#/p5/loadModel
hmm I was thinking more like how to create or get a .obj file not how to access it in my code. But thanks for the help.
To create rather than load, use
model()
.Reference example:
I guess I am not being clear what I mean is to make the actual .obj file, I know how to put it on a canvas in p5 I just want to know how to create a .obj file that I can use later.
Simple
https://en.wikipedia.org/wiki/Wavefront_.obj_file
It is a simple text format that you can generate when you loop over your data
most .obj format files are created using a 3rd party modelling tool. which is kind of off-topic here.
maya, blender, sketchup, cinema4d, things like that.
Thanks guys
see also librarys objexport
There are also many sites where you can download obj files, often for free. The quality varies.