Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8737151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:27:04+00:00 2026-06-13T10:27:04+00:00

I have a problem with JSON format. I am going to generate a 2D

  • 0

I have a problem with JSON format.

I am going to generate a 2D building plan in JSON format automatically. Then this JSON file is loaded to Three.JS for visualization.

Currently, I can easily create various geometry type in JSON format based on:
https://github.com/mrdoob/three.js/wiki/JSON-Model-format-3.1

However, I need to know more about this data format.

  • Firstly, how can I add text to the model?
  • Secondly, I could not find line as a geometry in this format. Is there?
  • Thirdly, is there any document that I can refer to it for more explanation regarding this
    format?
  • Lastly, how can I add additional information about geometries
    inside the JSON format? for example when I create a polygon in JSON
    format, I want to add additional information regarding that polygon
    such as area, owner,…
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T10:27:06+00:00Added an answer on June 13, 2026 at 10:27 am
    1. Either through a texture, or by creating THREE.TextGeometry and merging that with the other geometry
    2. AFAIK, no. You might be able to emulate lines by loading a separate object that you render as wireframe.
    3. I’ve used the source code: Loader, JSONLoader
    4. I don’t think that’s possible while maintaining compatibility, i.e. you would need to patch Three.js loader.

    One option for achieving what you want could be to add custom entries to the JSON, e.g. "lines": [], "customFaceProperties": [] and then parse them yourself once the stock Loader has parsed everything it understands.

    Also, since it seems you might be creating something that has different things in it, you might want to take a peek at the scene loading capabilities: example, SceneLoader.js

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I Have two problem in this Case : I want to pass a JSON
Using RestKit 0.10.1, I have objects served similar to this json format: {objects: [
I have a problem with ruby and json. I have a json-file with information
I have problem with deserialization of json string, because string is bad format. For
I have a problem if i want to insert this json test into my
I have a problem with Json formating returned from .ASMX I need to return
I have a problem using JSON and arrays. Here is my code: while($row =
I have a problem accessing JSON data. I'm new to JSON and jquery so
I have a problem with deserializing JSON data from an external REST service. Depending
I have a problem in binding JSON data to KENDO Pie Chart. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.