Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Common_glTF_Exporter/Utils/glTFExportUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,12 @@ public static void AddNormals(Transform transform, PolymeshTopology polymesh, Li
{
var newNormal = transform.OfVector(normal).Normalize();

normals.Add(newNormal.X);
normals.Add(newNormal.Y);
normals.Add(newNormal.Z);
for (int j = 0; j < 3; j++)
{
normals.Add(newNormal.X);
normals.Add(newNormal.Y);
normals.Add(newNormal.Z);
}
}

break;
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ If you're interested in contributing to glTF exporter, just submit a [pull reque
## Installation
Looking to get the revit-glTF-exporter add-in? Check out [Autodesk app store](https://apps.autodesk.com/RVT/es/Detail/Index?id=492952120634946986&appLang=en&os=Win64).

## Sponsors ##
Thanks to all the sponsors that have helped us improve Leia. If you want to be one let us know!

[<img src="https://s3.us-east-1.amazonaws.com/everse.assets/GithubReadme/Visiofy.png">](https://www.visiofy.com/)

## About us ##

We are an international mix of AEC professionals, product designers, and software developers. We work together to transform construction requirements into accurate and partnership-driven technological solutions.
Expand Down
Loading