Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextGeometry changes and support in editor #27931

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from
Open

Commits on Mar 16, 2024

  1. TextGeometry changes and support in editor

    - add support for TextGeometry in editor. currently this is linked
      only to a single font, but all of TextGeometry functionality is
      wired to the editor's sidebar UI, which I think is more than
      sufficient now
    - depreciating `height` parameter in TextGeometry options for `depth`
      for consistency with ExtrudeGeometry, which refers to the thickness
      the Text will be extruded. using `height` is still supported but
      will emit a warning in the console
    - also added a `scale` parameter in TextGeometry and editor. The
      numbers that work well for font sizes is unusally large in three.js
      objects (esp in VR), so passing 0.01 makes it more the conversion
      more pleasant to work with
    - Serialization and deserialization works. toJSON() and fromJSON()
      is added to TextGeometry. I have to add this to Geometries.js
      for scene loading to work automatically in editor, but the dependency
      of an addon (TextGeometry is addon, ExtrudeGeometry is core) seems
      a little strange. Either there's a better way to extend the supported
      Geometries deserialization list or perhaps move TextGeometry out of
      the examples
    zz85 committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    bea5c1f View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. Fix lints

    zz85 committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    be77eef View commit details
    Browse the repository at this point in the history
  2. Update builds

    zz85 committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    33a29dd View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Configuration menu
    Copy the full SHA
    e646d48 View commit details
    Browse the repository at this point in the history
  2. Update more builds

    zz85 committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    89d73f3 View commit details
    Browse the repository at this point in the history
  3. Update TextGeometry.js

    Add `@deprecated` annotation, update warning text.
    Mugen87 committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    b7645d8 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    67ae50e View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Configuration menu
    Copy the full SHA
    575e31d View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. Configuration menu
    Copy the full SHA
    cf8174b View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Update ObjectLoader.js

    Rename `this.Geometries` to `this.geometryTypes`.
    Mugen87 committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    809ffb6 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Configuration menu
    Copy the full SHA
    24fe50f View commit details
    Browse the repository at this point in the history