Skip to content

Suggested improvements to loadModel() reference example #2904

Closed
@PAEDevelopment

Description

@PAEDevelopment

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

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).
attachment1
attachment2
attachment3

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions