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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:37:13+00:00 2026-06-15T15:37:13+00:00

I load a model of tree through Object Loader in THREE.js but there is

  • 0

I load a model of tree through Object Loader in THREE.js but there is not any texture loaded with it it just a simple tree having white light on it. code is

var loader = new THREE.OBJMTLLoader();
loader.addEventListener('load', function (event) {
    var object = event.content;
    object.position.y = 0;
    object.position.x = 500;
    object.position.z = 500;
    object.rotation.x = -(Math.PI / 2);
    object.scale.set(5, 5, 2);
    scene.add(object);
});
loader.load('obj/Palm_Tree.obj', 'obj/Palm_Tree.mtl');

What should i do load the tree texture.

  • 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-15T15:37:14+00:00Added an answer on June 15, 2026 at 3:37 pm

    The default behavior assigns the Three js material’s ‘map’ parameter as being based on the ‘map_kd’ value in the MTL file. Make sure it’s specified there.

    It uses ‘loadTexture()’ rather than ‘loadCompressedTexture()’ so be aware that the default behavior doesn’t handle, say, DDS files.

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

Sidebar

Related Questions

I'm trying to load a model to add dirty data to the store, but
My use case expects heavy read load - there are two possible model design
How can I load model to helper? I need to load it outside of
at first sorry my bad English I want load model in my plugin controller
I need to load a Model in a component to save the Data of
I need to load a model, existing of +/- 20 tables from the database
Got this error message while trying to load view: The model item passed into
Is it good to use an autoloader that load root/app/model/test.php when trying to use
I want to load some helper in a model. How to do this? Tried
I'm using a model UserRepository->User The Repository is used to Save and Load the

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.