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

Show backfaces #139

Open
SolidModeler opened this issue Mar 22, 2022 · 0 comments
Open

Show backfaces #139

SolidModeler opened this issue Mar 22, 2022 · 0 comments

Comments

@SolidModeler
Copy link

Hi,

Some of the meshes I get that were made from point clouds don't always have proper normals, and of course the results are that those textured faces don't get displayed by default in some viewers. 3DHOP displays those backfaces as red, and also has a nice feature backfaceColor : [1.0, 1.0, 1.0, 0.0] causing the faces to be displayed with their textures. This was great both because I didn't need to rebuild normals, and the nxs and nsz files made using nxsbuild were smaller when omitting the normals. And so far, it doesn't seem to be hampering viewing performance.
That said, I then tried using the same models with the three.js-related files that are available here. That's where I got stumped.
Do I need to provide some three syntax to display the textured backfaces? Or is there perhaps a way for nexus to trick three into displaying them?

Hope this isn't a dumb question, and thanks for any help.

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

No branches or pull requests

1 participant