I have 8 tree meshes from speedtree. 4 of them generate a distance field. The other 4 act like they generated them, but they are not receiving or creating any DFAO. They also don’t have a distance field representation in the visualizer.
Typically, I see a mesh lose it’s distance field when the size of it gets to be 4Mb. The mesh editor dialog says the distance fields for all 8 trees are .50Mb.
okay, so this is really weird. After several restarts I was able to get 5 out of the 8 to generate distance field, but only after changing the distance field resolution on all the LODs for the meshes to ‘0’. I just restarted again though, and all the meshes have DFAO now except trees 1-3, which previously had it.
Yes, the distance field resolution has a play on whether or not it will build. The problem with mine is that it’s set to 1 already and some of my trees are not building a DF.
I’ve tried to replicate this but I can’t get this to repro with any project I’ve used Distance Fields on in 4.6 that is opened with a copy in 4.7, with preview 8 being the latest version I’ve tried.
@joshezzell: is this only happening with SpeedTree Assets?
@Gustavorios2: you mention you’re using resolutions other than the default 1. What resolutions are you using that is causing the issues you have? If you’re using anything below 1 you will see a much lower resolution or non-existent distant field representation.
Since I had the same struggle with trees that were painted like foliage in my scene (they didn’t have distance field on them) I found out solution in my case.
Basically when you put your tree in foliage painter (for example “tree_01”) it make copy of it in browser and names it “tree_01_Foliage_Type”. So when you double click on that “tree_01_Foliage_Type” Under ‘Instance Settings’ there is a check box for “Affect Distance Field Lighting” which was unchecked.
As soon as I checked that it generated DF for that instance tree.
Hey, I’m having the problem that I’m making roads with the landscape spline tool and the segment meshes are also not generating a distance field. intersection that I’m assigning via the individual controll points do have a distance field. also the landscape it self does not seem to create a distance field.
ah thats interesting - thanks for the hint. going to try that. would be a pitty that I can’t keep the splines alive in case I want to change things or even want to generate some of them proceduraly.