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

Text to a mesh and style in SCSS in 3D space #2

Open
yorkie opened this issue Nov 29, 2023 · 0 comments
Open

Text to a mesh and style in SCSS in 3D space #2

yorkie opened this issue Nov 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@yorkie
Copy link
Contributor

yorkie commented Nov 29, 2023

We could make SCSS more useful for generating 3d text style, such as:

<xsml>
  <head>
    <style type="text/scss">
      @font-face {
        font-family: 'My3DText';
        src: url('path/to/Arial.obj');
        extrusion-unit: 0.5;
        material: "MyCustomFontMaterial";
      }
      volumetic-text {
        font-family: "My3DText";
        font-size: 14px;
      }
    </style>
  </head>
  <space>
    <bound>Foobar</bound>
  </space>
</xsml>

With achieving this feature, it's helpful for i18n.

@yorkie yorkie added the enhancement New feature or request label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant