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 8176595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:14:59+00:00 2026-06-06T23:14:59+00:00

Link to webpage: http://door-in-wall.asg-3d.ru Source: http://door-in-wall.asg-3d.ru/source.zip After calling init() initializes the scene: added camera,

  • 0

Link to webpage: http://door-in-wall.asg-3d.ru

Source: http://door-in-wall.asg-3d.ru/source.zip

After calling init() initializes the scene: added camera, light, generated geometry (text and sphere), and loaded with JSonLoader 3D model.
Camera, light and generated geometry has be added to the scene immediately, but when JSonLoader loads the model – I can not understand …

  // Create 3D Text Mesh
  var textMesh3 = new THREE.Mesh( text3d3, textMaterial );
  textMesh3.position.x = textMesh1.position.x;
  textMesh3.position.y = textMesh2.position.y - text3d1.boundingBox.max.y * 2.6;

  scene.add( textMesh3 );

  console.log('textMesh3 within init() = ', textMesh3); //textMesh3 = THREE.Mesh
  console.log('scene.children.length after load textMesh3 = ', scene.children.length); //scene.children.length = 6


  // Add back plane
  var loader = new THREE.JSONLoader().load( "js/backplane.js", function ( geometry ) {

    geometry.computeBoundingBox();

    backPlaneMesh = new THREE.Mesh( geometry, backPlaneMeshMaterial );
    backPlaneMesh.position.set(SCREEN_WIDTH, 0, 0);
    backPlaneMesh.scale.set(4, 4, 4);

    scene.add(backPlaneMesh);

  });

  console.log('JSONLoader within init() = ', loader); //loader = undefined 
  console.log('scene.children.length after load JSONLoader = ', scene.children.length); //scene.children.length = 6

I left the console output to a descendant of scene console.log (scene.children.length): Line 103, 148, 167.

If you check scene.children.length after calling animate() and render(), then it will show the presence of 7 children.

How and when model is loading with JSONLoader?

  • 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-06T23:15:05+00:00Added an answer on June 6, 2026 at 11:15 pm

    loader.load() is asynchronous. In other words, it doesn’t stop the code execution until is completed. It will load in parallel and will execute the callback when is done. Depending on how big the model is it may take some seconds to download and parse. Even if you’re loading it locally it will take some milliseconds.

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

Sidebar

Related Questions

I'll make this short, I got this webpage : <html xmlns=http://www.w3.org/1999/xhtml> <head> <link rel=Stylesheet
For my webpage http://www.example.com/homepage.html which is the best way to link static resources, such
Here is a link to the webpage in question: http://www.canning.co.nz/ In IE, the unordered
$example=this is an example of [link](http://webpage.com) this is an example of link how to
i have rotating image in my webpage. link is below: http://equosinfotech.com/testdemo/test.html everything works fine
Use case: user clicks the link on a webpage - boom! load of files
I'm trying to find all href links on a webpage and replace the link
Link: http://www.fraynepainting.com/services The problem is that div#dditem_2 (the div with the Take a look...
my current code is below. If you visit the root of my webpage http://evanparsons.net/
I have a webpage at http://www.optiekmeulemeester.be/normal with sliding navigation. This happens with the following

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.