Three.js Collada Loader struggles to load a small scene with multiple objects

While I am new to Three.js, the question I have is quite complex.

I am working with a Collada scene in DAE format, which actually includes references to other DAE files. The structure of this "parent" file looks something like this:

<library_visual_scenes>
<visual_scene id="TheScene" name="TheScene">
  <node id="DesignTransform1" name="DesignTransform1" type="NODE">
    <matrix>0.87811053 0.46947187 0.0922935 19.499561 -0.46690002
  0.88294739 -0.04907337 98.835884 -0.10452887 0 0.99452192 0.28129196 
  0 0 0 1</matrix>
    <instance_node url="./first_dae/first_dae.dae"/>
  </node>
  <node id="DesignTransform2" name="DesignTransform2" type="NODE">
    <instance_node url="./second_dae/second_dae.dae"/>
  </node>
</visual_scene>
</library_visual_scenes>
<scene>
<instance_visual_scene url="#TheScene"/>
</scene>

Although this scene opens flawlessly with desktop software, I face an issue when attempting to load it with Three.js Collada Loader - nothing is displayed. Interestingly, the loader functions perfectly well with regular Collada files that don't contain links to other DAE files.

The loader code snippet is as follows:

var mesh;
var loader = new THREE.ColladaLoader();
loader.options.convertUpAxis = true;
loader.options.centerGeometry = true;
loader.load("parent_dae.dae", function (result) {
mesh = result.scene;
scene.add(mesh);
render();
});

So, my question is: "Does Three.js Collada Loader support DAE files with links to other DAE files? If yes, what could possibly be causing the issue in my code?"

Answer №1

After reaching out to the three.js community regarding a certain file format, it was clarified that Three does not currently have support for it. As a result, the issue has been resolved and closed.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Tips for submitting an AJAX response using a form

Steps Taken I have implemented an ajax call to retrieve checkboxes as follows: <script> $(document).ready(function(){ $("#place").change(function(){ var id = $(this).val(); alert(id); $.ajax({ ...

Node.js put method fails to properly update the model in the database

Even though the code runs without any errors in the console, the field 'check' still doesn't change to true state. Why could this be happening? apiRoutes.put('/intake/:id', function(req, res) { var id = req.params.id; Intake. ...

Pagination does not refresh when conducting a search

HTML Code: The following HTML code displays a table with a search filter. . . <input type="search" ng-model="search.$" /> <table class="table table-striped table-bordered"> <thead> <tr> <th><a href ...

How to use Sencha Touch to automatically target a textfield on iOS programmatically?

My goal is to implement a pin login feature similar to the ones found on iOS and Android platforms, where users are required to enter a 4-digit pin to proceed. The issue I'm facing is that I want the input field to be automatically selected and the nu ...

What differences exist in the implications of the options for the socket.io server object?

According to the socket.io documentation, you have the option to utilize the http.Server object or directly input a port number into the socket.io server object. What distinguishes the two methods? Instantiate the socket.io Object const io = require(&apo ...

How can I update a CSS class value by utilizing AngularJS variables?

I am currently facing an issue with making my CSS values dynamic. The code I have tried is not functioning as expected. <style> .panel-primary { background-color:{{myColorPanel}} } </style> I came across a similar query on Ho ...

I encountered an issue while generating a crypto address on the Waves blockchain using the @waves/waves-crypto library in TypeScript

Encountering an issue with finding "crypto-js" in "@waves/waves-crypto". Despite attempts to uninstall and reinstall the module via npm and importing it using "*wavesCrypto", the error persists within the module's index.d.ts file. I am attempting to ...

Export default does not actually yield a function; rather, it returns an object

I recently developed a function that is responsible for importing a script from a specified source, calling its exported function, and handling the returned result. To simplify things, I have streamlined the code to focus solely on returning the result. co ...

Need to extract Performance monitor data from Chrome Dev tools using a Java application

I am currently conducting a selenium test using Java. As part of the test, I want to capture and retrieve the current 'CPU Usage' and 'JS Heap Size' of the browser and display it in the console. Is there a method in Java code that all ...

Personalized Grid Design for Showcasing Athletic Teams

I am looking to create a custom grid layout that represents the team's Players, separated by their positions (GK, Defense, Midfielders, and Forwards), similar to the image below. The layout should also be responsive like in image 1. Currently, the re ...

Is it possible to retrieve all data stored in AsyncStorage using React Native, while excluding the

In my current implementation, I am utilizing AsyncStorage.setItem() to store a string key and JSON object in AsyncStorage. For example: https://i.sstatic.net/qjiCD.png However, upon retrieving data from AsyncStorage using getAllKeys() and multiGet(), it h ...

Enhance User Experience by Implementing Event Listeners for Changing Link Visibility Using mouseover and getElementsBy

I am new to JavaScript and struggling to find a solution. Despite searching online for fixes, none of the solutions I've found seem to work for me. I have spent hours troubleshooting the issue but I must be missing something crucial. Can someone plea ...

Tips for accessing req.fields variables while utilizing Express-Formidable

For some reason, I am encountering difficulties when trying to access variables parsed within req.fields using Express-Formidable. Upon executing a console.log() of req.fields, the output is as follows: { 'registration[username]': '1', ...

When incorporating Typescript into HTML, the text does not appear in bold as expected

Issue with bold functionality in Typescript Hey there, I am currently involved in an Angular project and I came across a problem with a function in a Typescript file that is supposed to bold a specific segment of text formatText() { ......... ...

Executing a search within the current connection in Node.js

In the code snippet provided, the need is to execute the second SQL query (query2) after constructing it based on the results of the first query (query1). However, even though the second query is successfully built, it is not being executed. Assistance i ...

Utilize TypeScript to re-export lodash modules for enhanced functionality

In my TypeScript project, I am utilizing lodash along with typings for it. Additionally, I have a private npm module containing utilities that are utilized in various projects. This module exports methods such as: export * from './src/stringStuff&apo ...

Efficiently transferring time values from dynamically created list items to an input box using JavaScript

Is there a way to store a dynamically generated time value from an li element into an input box using JavaScript? I have a basic timer functionality on my website that includes starting, stopping, pausing, taking time snaps, and resetting them. These time ...

Verify if the connection to MongoDB Atlas has been established for MongoDB

When working with MongoDB, I find myself switching between a local database during development and MongoDB Atlas in production. My goal is to implement an efficient text search method that utilizes $search when connected to MongoDB Atlas, and $text when co ...

Wait for Axios Request Interceptor to complete before sending another ajax call

One feature I have added is a request interceptor for all axios calls. This interceptor checks the JWT token and automatically refreshes it if necessary. axios.interceptors.request.use((config) =>{ const currentState = store.getState(); // get upd ...

Select: Exchange icon when clicked

UPDATE MENU ICON jsfiddle.net/a3MKG/83/ Can someone provide guidance on how to change the menu icon image upon clicking it? I would like the icon to switch to a different image (such as an X) once it has been clicked. Please Note: When the menu icon is c ...