Jump to content


Photo

Dynamic Distant Objects LOD - DynDOLOD for Skyrim and Enderal 2.74

dyndolod lod skyrim enderal skyrim se skyrim vr

  • Please log in to reply
413 replies to this topic

#406 sheson

sheson

    Dragon King

  • Mod Authors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,776 posts

Posted 05 November 2019 - 07:39 AM

Hey sheson, first thank you for your continued work on DynDOLOD and xLODGen!

 

Maybe you can help me with a minor problem I've ran into. I created new tree billboards for the Soul Cairn and Forgotten Vale, which don't have any billboards at all by default. The billboards work and show up fine, but some trees in the Forgotten Vale are for whatever reason statics, not tree records. An example would be DLC1TreeWinterAspenSnow01 [STAT:0200CE13]. I also created billboards for those statics plus the appropriate text files, but they won't be recognized by DynDOLOD. If I give those statics the flag "Has Tree LOD" DynDOLOD picks up on them and adds them to the texture atlas (with alpha) but the billboards still don't show up. Is there a way to give those statics billboards without replacing them with actual trees?

 

DynDOLOD uses the tree LOD generation from xEdit/xLODGen.

 

Setting the Has Tree LOD flag on a static base record is how CK does it and consequently xEdit/xLODGen do it as well. It is how vanilla does it for a couple Dragonborn trees.

 

If the tree LOD generation reports that it found a billboard, then the reason for a tree not to have LOD is that it is too tilted, dynamic or - which is likely in this case - the tree with the STAT base record is also a large reference. Tree LOD does not support large references.

 

For too tilted or dynamic trees DynDOLOD automatically substitutes them in object LOD.

Next version of DynDOLOD will also do large references with Has Tree LOD flag properly in object LOD. This combination just never came up so far.

 

If traditional tree LOD is disabled and all tree LOD is done in object LOD (e.g. ultra trees) then it already worked.


Edited by sheson, 05 November 2019 - 08:36 AM.

  • 0

#407 Phlunder

Phlunder

    Prisoner

  • Members
  • 5 posts

Posted 05 November 2019 - 01:42 PM

DynDOLOD uses the tree LOD generation from xEdit/xLODGen.

 

Setting the Has Tree LOD flag on a static base record is how CK does it and consequently xEdit/xLODGen do it as well. It is how vanilla does it for a couple Dragonborn trees.

 

If the tree LOD generation reports that it found a billboard, then the reason for a tree not to have LOD is that it is too tilted, dynamic or - which is likely in this case - the tree with the STAT base record is also a large reference. Tree LOD does not support large references.

 

For too tilted or dynamic trees DynDOLOD automatically substitutes them in object LOD.

Next version of DynDOLOD will also do large references with Has Tree LOD flag properly in object LOD. This combination just never came up so far.

 

If traditional tree LOD is disabled and all tree LOD is done in object LOD (e.g. ultra trees) then it already worked.

Thanks for the fast reply! I probably should have mentioned that I'm on LE, not SE. Or are large references also a thing in LE? I currently don't use ultra trees. Not sure what could be the problem then, the trees/statics in question are positioned perfectly upright, not sure how to tell if they are dynamic though. Its not a big deal, I just thought I was overlooking some limitation or rules to assign billboards to them.


  • 0

#408 sheson

sheson

    Dragon King

  • Mod Authors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,776 posts

Posted 05 November 2019 - 02:46 PM

Thanks for the fast reply! I probably should have mentioned that I'm on LE, not SE. Or are large references also a thing in LE? I currently don't use ultra trees. Not sure what could be the problem then, the trees/statics in question are positioned perfectly upright, not sure how to tell if they are dynamic though. Its not a big deal, I just thought I was overlooking some limitation or rules to assign billboards to them.

In that case, if a billboard texture has been listed as found and put onto the atlas, there is at least one reference with its tree LOD in the worldspace.

It only adds billboard textures to the tree LOD atlas when placement data has been written to a *.btt file.


  • 0

#409 Phlunder

Phlunder

    Prisoner

  • Members
  • 5 posts

Posted 05 November 2019 - 04:17 PM

In that case, if a billboard texture has been listed as found and put onto the atlas, there is at least one reference with its tree LOD in the worldspace.

It only adds billboard textures to the tree LOD atlas when placement data has been written to a *.btt file.

That makes sense. Really not sure whats going on then. I just tested it with ultra trees, and its the same issue. I believe not all of those DLC1TreeWinterAspenSnow trees have 3D LOD models included in DynDOLOD, but the "01" variant has for sure. For all the other trees this works flawlessly, and the 3D LOD models look great by the way. But all the DLC1TreeWinterAspenSnow01/03/05 are missing their full 3D LOD model (in case of 01) and their fallback billboard as well. A screenshot of one of those places where the missing 3D LODs/billboards are noticable (also notice the 2 WinterAspen04 billboards working):

 

https://i.imgur.com/lf7oL4L.png

 

https://i.imgur.com/JhTzJX4.png


  • 0

#410 sheson

sheson

    Dragon King

  • Mod Authors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,776 posts

Posted 06 November 2019 - 04:23 AM

That makes sense. Really not sure whats going on then. I just tested it with ultra trees, and its the same issue. I believe not all of those DLC1TreeWinterAspenSnow trees have 3D LOD models included in DynDOLOD, but the "01" variant has for sure. For all the other trees this works flawlessly, and the 3D LOD models look great by the way. But all the DLC1TreeWinterAspenSnow01/03/05 are missing their full 3D LOD model (in case of 01) and their fallback billboard as well. A screenshot of one of those places where the missing 3D LODs/billboards are noticable (also notice the 2 WinterAspen04 billboards working):

 

https://i.imgur.com/lf7oL4L.png

 

https://i.imgur.com/JhTzJX4.png

The DynDOLOD Resources contain 3D LOD models for all 3 DLC1TreeWinterAspenSnow01, 03 and 05, however for 03 and 05 I messed up the files names really badly.

I have them correct in DynDOLOD Resources SE.

 

just rename

dlc1treewinteraspensnow03.nifpassthru_lod.nif.nif to dlc1treewinteraspensnow03nifpassthru_lod.nif

dlc1treewinteraspensnow05.nifpassthru_lod.nif.nif to dlc1treewinteraspensnow05nifpassthru_lod.nif

 

Will be fixed next version of course.

 

It also seems that traditional tree LOD generation might not always pick up the updated HasTreeLOD flag, that will be fixed as well.


Edited by sheson, 06 November 2019 - 04:23 AM.

  • 0

#411 Phlunder

Phlunder

    Prisoner

  • Members
  • 5 posts

Posted 06 November 2019 - 02:37 PM

The DynDOLOD Resources contain 3D LOD models for all 3 DLC1TreeWinterAspenSnow01, 03 and 05, however for 03 and 05 I messed up the files names really badly.

I have them correct in DynDOLOD Resources SE.

 

just rename

dlc1treewinteraspensnow03.nifpassthru_lod.nif.nif to dlc1treewinteraspensnow03nifpassthru_lod.nif

dlc1treewinteraspensnow05.nifpassthru_lod.nif.nif to dlc1treewinteraspensnow05nifpassthru_lod.nif

 

Will be fixed next version of course.

 

It also seems that traditional tree LOD generation might not always pick up the updated HasTreeLOD flag, that will be fixed as well.

That did indeed work! The 3D LODs now all show up fine. Thanks a lot for looking into this. I didn't check out the mesh folders for the 3D trees before, but the naming mismatch issue immediately jumped at me when I did. I had to rename them differently though, without the additional "nif" in between the record name and passthru. So dlc1treewinteraspensnow03passthru_lod.nif instead of dlc1treewinteraspensnow03nifpassthru_lod.nif for example, just like the 01 variant is named.

 

Does that mean the regular billboard system will work for this specific case too with the next update?


  • 0

#412 sheson

sheson

    Dragon King

  • Mod Authors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,776 posts

Posted 06 November 2019 - 03:17 PM

That did indeed work! The 3D LODs now all show up fine. Thanks a lot for looking into this. I didn't check out the mesh folders for the 3D trees before, but the naming mismatch issue immediately jumped at me when I did. I had to rename them differently though, without the additional "nif" in between the record name and passthru. So dlc1treewinteraspensnow03passthru_lod.nif instead of dlc1treewinteraspensnow03nifpassthru_lod.nif for example, just like the 01 variant is named.

 

Does that mean the regular billboard system will work for this specific case too with the next update?

Yes you are right, I can't even copy and paste the correct filename :)

 

If either the tree vanilla LOD generation or the 3D tree LOD lists its using the billboards, then all should be fine.

If the vanilla tree LOD generation lists the billboards as not found, then there is a naming problem.

If the vanilla tree LOD generation does not list the trees at all despite having an overwrite with the HasTreeLOD flag, wait for the update or try actually setting the flag in Dawnguard.esm itself.


Edited by sheson, 06 November 2019 - 03:17 PM.

  • 0

#413 Phlunder

Phlunder

    Prisoner

  • Members
  • 5 posts

Posted 07 November 2019 - 03:55 PM

Yes you are right, I can't even copy and paste the correct filename :)

 

If either the tree vanilla LOD generation or the 3D tree LOD lists its using the billboards, then all should be fine.

If the vanilla tree LOD generation lists the billboards as not found, then there is a naming problem.

If the vanilla tree LOD generation does not list the trees at all despite having an overwrite with the HasTreeLOD flag, wait for the update or try actually setting the flag in Dawnguard.esm itself.

Setting the Has Tree LOD flag directly in the Dawnguard.esm worked! So its really not picking up on it in overwrite records. This time, DynDOLOD also immediately listed it at the start together with the other available billboards. Before it just mentioned it because its missing a normal map. Still added it to the atlas but I guess the placement data was never written into the BTT file?

 

Again, thank you for looking into this. I know it was kind of an edge-case.


  • 0

#414 sheson

sheson

    Dragon King

  • Mod Authors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,776 posts

Posted 07 November 2019 - 05:22 PM

Setting the Has Tree LOD flag directly in the Dawnguard.esm worked! So its really not picking up on it in overwrite records. This time, DynDOLOD also immediately listed it at the start together with the other available billboards. Before it just mentioned it because its missing a normal map. Still added it to the atlas but I guess the placement data was never written into the BTT file?

 

Again, thank you for looking into this. I know it was kind of an edge-case.

Great. So that will be fixed next version - so you don't have to patch a vanilla file. It's good that you looked into that part, as it helped fixing a couple issues there.


Edited by sheson, 07 November 2019 - 05:22 PM.

  • 0



Also tagged with one or more of these keywords: dyndolod, lod, skyrim, enderal, skyrim se, skyrim vr

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users