Closed
Description
Nature of issue?
- Found a bug
- [x ] Existing feature enhancement
- [x ] New feature request
Most appropriate sub-area of p5.js?
- Color
- Core/Environment/Rendering
- Data
- Events
- Image
- IO
- Math
- Typography
- Utilities
- [x ] WebGL
- Other (specify if possible)
Which platform were you using when you encountered this?
- Mobile/Tablet (touch devices)
- [ x] Desktop/Laptop
- Others (specify if possible)
Details about the bug:
-p5.js version: p5.js v0.6.1
-Web browser and version: Version 66.0.3359.139 (Official Build) (64-bit)
-Operating System:MacOSX 10.13.3
- Steps to reproduce this:
On the reference page https://p5js.org/reference/#/p5/loadModel the .obj file loaded in appears as a disappointing speck in the canvas. (see attachment1)
Feature enhancement details:
Setting the normalize parameter to true fixes this (see attachment2), but still requires some scaling (translate the object back on the Z-axis. Best would be to reformat page to increase size of canvas, then the translate() isn't necessary (attachment3).