Comments (19)
Yes, I was aware of this. When I talked with @Whinarn it seemed like better results were reached with the preserve borders flag turned off, but I've added an issue #7 into defaulting this to true perhaps and/or providing a way for custom options to be set on a selected simplifier.
Re: instant-meshes, it's great to hear that it does a good job for simplification for you, but without transferring UVs I see that as a big miss for attempting to integrate into AutoLOD. Don't you agree?
from autolod.
The reason preserving borders was turned off by default was that it restricted the simplification, and mostly only worked on high poly meshes. But only to a certain polygon count since the border edges are never removed. So while it makes sure that holes doesn't get created, it ends up being bad at the actual mesh simplification in many cases. So I would personally think that providing options would be a better idea instead of defaulting it.
from autolod.
I have created a new vertex linking feature that improves the decimation results a lot with all the meshes I have for testing. There are still some artifacts that can be improved, but it is a huge improvement by itself.
More details about the update can be found here: Whinarn/UnityMeshSimplifier@80e5bb0
@amirebrahimi you might be interested in looking at the latest updates for https://github.com/Unity-Technologies/UnityMeshSimplifier
from autolod.
What simplifier are you using?
from autolod.
Quadric
from autolod.
Yes, simulated is just that - a simulation of what gains you could expect, but essentially much quicker at generating. It might need a rename to FakeSimplifier perhaps to be more clear.
Re: the Quadric, that is from this GitHub project: https://github.com/Whinarn/UnityMeshSimplifier. You could post an issue there, but that simplifier is based on https://github.com/sp4cerat/Fast-Quadric-Mesh-Simplification, which might be where the actual problem lies.
If you have Simplygon or InstaLOD you may see better results.
The AutoLOD framework is built in such a way that any mesh simplifier could easily plug into the system.
from autolod.
which version of simpligon needs to be installed?
from autolod.
8.2.X, but unfortunately they pulled their existing Unity plugin and still have not published a new one. I pointed this out on their forum and have not heard a response back. The old plugin worked fine in my tests.
If you're registered on their forums, this is the post: https://simplygon.freshdesk.com/support/discussions/topics/5000086159
from autolod.
I saw that only ue has an installer, is the old plugin available somewhere?
from autolod.
Not that I can see. If you happen to find another good simplifier that works well for your model, I'd be willing to write implement an ISimplifier wrapper for it, similar to the other simplifiers.
from autolod.
This one is ok https://github.com/wjakob/instant-meshes
from autolod.
This was suggested in #2, but it looks like there are some concerns about how well it would work for simplification. I haven't looked into it further. Have you tried it with your model to generate LODs?
from autolod.
Yes I have used it, it's quite good at simplification as it keeps the flow of the mesh but it doesn't transfer UVs...
from autolod.
oh, did you see that? you need to set a flag to keep the borders Whinarn/UnityMeshSimplifier#2
from autolod.
@Whinarn improved the quadratic decimation algorithm. See if the WIP branch works for you, I dropped it in and it auto generates empty mesh so I think you need to set things up differently.
Whinarn/UnityMeshSimplifier#2 (comment)
https://github.com/Whinarn/UnityMeshSimplifier/tree/feature-prevent-holes
from autolod.
Oh I don't recommend that they use it just yet, since it's a work in progress. I only meant to show my current progress if you were interested in trying it out yourself. Sorry if I didn't make that clear.
I'm trying to finish it up when I have some time over, but I want to make sure that it works a lot better before I suggest that people start using it.
from autolod.
Oh ok.
from autolod.
Thank you Whinarn, I will try it as soon as it's in AutoLOD.
from autolod.
Updated to latest with ed3c61f
from autolod.
Related Issues (20)
- Is there any per-LOD settings? HOT 4
- When creating LODs for prefab, create LODs asset next to mesh HOT 1
- Instructions missing / doesn't work HOT 2
- LODData doesn't consistently serialize Mesh data HOT 4
- Fade options do not seem to work. HOT 2
- Is AutoLOD still a thing? Is there a Unity registry to use in the Package Manager? HOT 3
- Lightmaps HOT 1
- Add support for Simplygon 9
- Any way to disable all the automatic stuff?
- Automatically generated LODs don't seem to work for more than one user. HOT 11
- AutoLOD breaks the asset importer when creating a scene via C# HOT 7
- SimplygonMeshSimplifier generate error! HOT 2
- Disable "Generate on Import" by default HOT 1
- Slow startup performance can be improved with TypeCache
- CS0618: [PreferenceItem] is obsolete (AutoLOD.cs)
- After Unity upgrade it broke all prefabs
- The "Options" is Disabled? HOT 1
- Blend shape weight must be greater than previous frame weight HOT 2
- autoLOD is aids HOT 3
- nukes LOD0 mesh on prefab save
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autolod.