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

Calculate normals for OBJ files without normals #36

Open
sczerwinski opened this issue Aug 28, 2020 · 2 comments
Open

Calculate normals for OBJ files without normals #36

sczerwinski opened this issue Aug 28, 2020 · 2 comments
Assignees
Labels
component:3d 3D preview and OpenGL priority:low Will be done when will be done status:new Awaiting triage type:feature New feature or request

Comments

@sczerwinski
Copy link
Owner

For OBJ files without normal, flat normals should be calculated.

@sczerwinski sczerwinski added type:feature New feature or request status:todo Selected for development priority:medium Scheduled for next release labels Aug 28, 2020
@sczerwinski sczerwinski self-assigned this Aug 28, 2020
@sczerwinski
Copy link
Owner Author

The calculation could be made by calculating tangents and bitangents first.

In case no texture coordinates are available, use only positions for calculations.

@sczerwinski sczerwinski added the component:3d 3D preview and OpenGL label Feb 4, 2021
@sczerwinski sczerwinski added this to the 1.0.x milestone Feb 4, 2021
@sczerwinski sczerwinski modified the milestones: 1.0.x, 1.1.x Apr 14, 2021
@sczerwinski sczerwinski added status:new Awaiting triage priority:low Will be done when will be done and removed status:todo Selected for development priority:medium Scheduled for next release labels Apr 14, 2021
@sczerwinski sczerwinski removed this from the 1.1.x milestone Jul 2, 2021
@sczerwinski
Copy link
Owner Author

The calculation should be split per smoothing group.

@sczerwinski sczerwinski added this to the useful features milestone Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:3d 3D preview and OpenGL priority:low Will be done when will be done status:new Awaiting triage type:feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant