F16B39/101 Locking of screws, bolts or nuts in which the locking takes place after screwing down. Regard to the bolt or object and mainly perpendicular to the axis of the bolt with a plate, spring. -(No ModelJ J. ROSENST-EEL Nut Look.
I ran your code and the offending obj file and it looks like the problem is indeed scaling. If you add a line before model(teapot) like: scale(20); model(teapot); You should see the teapot now. Please let me know if for some reason you aren't. Regarding the widely differing models, perhaps we can add a note somewhere in the documentation to look out for model scale. It seemed like the model scale of your teapot was not only in centimeters, but also very small centimeters. Unfortunately, objs don't have a measurement scale marker. Numbers are simply floating point, so we can't add a flag in p5 to convert between cm, mm, inches, feet, etc.
That said, Three.js has a clever way of normalizing various model sizes using software-specific exporter scripts: It sounds like maybe a better long term solution to help users work with consistent models is to adopt the THREE.js approach, or someone could develop a web app utility to check and normalize models for p5. Howdy guys, I checked the version of p5.js being used and the 1st line reads: /*! P5.js v0.5.0 May 02, 2016 */ I think this is the latest distributed build around. If what I need are fixed in the repository but not yet distributed in a build, then I'll wait for a build refresh. I tried a 1000,1000 canvas.
The canvas showed at the correct size but no sign of an object. I also added a 'scale(20)'. But still not sign of any objects. If it would be useful, I'd be delighted to screen share live as needed.
Hi, I can confirm after downloading a fresh copy of the 0.5.0 release that loadModel is not actually included in there. What's unusual is that you should be seeing an error message saying 'loadModel is not defined', which is what I see when I run your code with 0.5.0 taken directly from the github release. If you pull the latest commit from the master branch, you shouldn't have any problems running your code. I'll reopen this issue for now, until we build a new release tag including proper loadModel functionality.
Raskroj kuznecova kryak. Thanks for letting us know. I am new to p5.js and what I did was download 'p5.js' complete from this location. After extraction, I found that there was a sample called 'empty-example'. That contains a subfolder called 'libraries' that appears to have its own copy of 'p5'. When I edited the 'sketch.js' in the folder and added the 3D sample, I did indeed get the 'loadModel' not found. I figured that the copy of p5 contained in the libraries folder in the sample was out of date, so replaced it with the copy of 'p5' found in the root of the extraction of the download. That satisfied the 'loadModel'.