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

VRMLLoader: Process Anchor node as grouping node. #24645

Merged
merged 1 commit into from
Sep 15, 2022
Merged

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Sep 15, 2022

Fixed #24644.

Description

VRMLLoader now processes nodes of type Anchor as ordinary grouping nodes. url fields and the respective fetch of resources is not supported.

@XMZovo This change ensures the yellow spheres are rendered. The error of computeBoundingSphere() is caused by invalid line definitions of your asset. It seems Geant4 export lines with just one vertex which does not seem to make sense. It's probably best if you ask for a fix for their exporter. In the meanwhile, traverse through the loaded VRML asset and remove the problematic line segments from your scene.

@Mugen87 Mugen87 added this to the r145 milestone Sep 15, 2022
@Mugen87 Mugen87 merged commit cd9057d into mrdoob:dev Sep 15, 2022
@mrdoob
Copy link
Owner

mrdoob commented Sep 15, 2022

Thanks!

abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VRML file loaded Error.
2 participants