encima / encima/jsc3d

WebGL problem when selecting mesh 127

Open
#141 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
HTML
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
Here is what I did:

I tried to use the jsc3d code to reproduce a scene with lots of meshes (a
floor-plan with furniture).
It works perfectly fine except when I try to select those object. If I select
one of the first few meshes it works, but the mesh with internalID = 127 gets
repeated twice and therefore, after that, when I click on one mesh, its
neighbor is selected. This happens until mesh 254, then mesh 255 is skipped and
things get back to working normally after that.
If webGL is disabled things work, so I guess it is a problem with webGL and not
with my code.

I am using the latest version of the software I think.

Anybody had the same problem?

Any help is greatly appreciated :)

Andrea.

```

Original issue reported on code.google.com by `moscand1...@gmail.com` on 19 Jan 2015 at 9:46

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the WebGL selection behavior with a scene containing many meshes, focusing on internal IDs 127 through 255. Compare selection with WebGL enabled and disabled, and inspect the mesh-selection path to identify why neighboring objects are selected. Done means each mesh selects independently across that ID range.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.