Jump to content


Photo

Questions regarding the creation of Billboards and Static Trees

billboards static trees dyndolod

  • Please log in to reply
5 replies to this topic

#1 Dimom

Dimom

    Watcher

  • Citizen
  • 4 posts

Posted 22 March 2020 - 08:20 AM

Good afternoon! First of all, I want to thank you for your hard work on improving this amazing game (for me, this is SKYRIM LE). I have been using your app for several years, and it really makes Skyrim more beautiful. Bravo, brilliant work!

 

Now about my questions…

 

  1. I can't understand the math of ShiftX and ShiftY in billboards…
  1. X1=473, X2=-378. ShiftX=(X1+X2)/2=(473-378)/2=47.5
  2. Y1=-479, Y=309. ShitfY=(Y1+Y2)/2=(-479+309)/2=-85

 

Attached File  datepalm3_RIGHT.jpg   106.67KB   0 downloadsAttached File  datepalm3_FRONT.jpg   102.26KB   0 downloads

Question 1: did I understand correctly?

 

        2. For my billboards, I created normal maps using the program xNormal 3.19.3 (x64).

 

Question 2: Should I follow the rules for creating billboards voiced in the video from GamerPoets, for billboards with normal maps:

 

Attached File  Rule for creating billboards.jpg   14.88KB   0 downloads

                  Or allowed as I did (Off Lighting):

 

Attached File  My rule for creating billboards.jpg   11.5KB   0 downloads

      3. Utility ..\DynDOLOD\Docs\trees.ultra\tools\re-uv\re-uv.bat optimizes meshes very well, but removes the alpha channel from the leaves.

 

Attached File  re-uv(input).jpg   66.03KB   0 downloadsAttached File  re-uv(output).jpg   61.95KB   0 downloads

Question 3: is it possible by editing the re-uv.txt avoid deleting the alpha channel from * _passthru_lod.nif files?

 

        4. I can't figure out how to create rules for trees... When using re-uv.bat files in meshes are not changed *.dds and *_n.dds on *lod.dds and *lod_n.dds.

 

Question 4: Is there more detailed information (the one that you have in the set of DynDOLOD I studied) on creating rules for trees. Perhaps you have already discussed this in detail on the forum?

 

P.S.1. English is not my native language, so there may be spelling errors.


P.S.2. I've been doing modding for a long time, but I haven't reached the level of 3D modeling yet, so I apologize if my questions seem stupid to you…


Edited by Dimom, 22 March 2020 - 08:46 AM.

  • 0

#2 sheson

sheson

    Talos

  • Mod Author
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,275 posts

Posted 22 March 2020 - 09:08 AM

1. ShiftX/Y/Z from the billboard.txt is added to the position of a tree reference.

 

2. when illuminating a 3D model for normal map there should be no indirect light, only one direct light sources from left, top, right, bottom.

 

3. I'll have to look into that and see if it can simply keep the alpha block

 

4. Rules for DynDOLOD are about defining which object should have object or dynamic LOD and use which LOD model level for with LOD quad level. Running LODGen direct or via a bat does not use these rules. 

There is no need to create or define LOD textures rif they are just a simple resize. DynDOLOD will do that on the fly now. I only updated the hybrids shipping with DynDOLOD Resources SE for Skyrim Special Edition, though.

 

We discussed trees 3D or billboards a few times before, but it seems you might be not asking the correct question about "rules". However I also keep updating DynDOLOD-Trees.html from time to time.


  • 1

#3 Dimom

Dimom

    Watcher

  • Citizen
  • 4 posts

Posted 22 March 2020 - 10:04 AM

1. ShiftX/Y/Z from the billboard.txt is added to the position of a tree reference.

I understand that. I can't figure out how billboards accurately target tree positions... Well, I'll deal with it.

 

 

2. when illuminating a 3D model for normal map there should be no indirect light, only one direct light sources from left, top, right, bottom.

And I understand that.  ::):  There's no other way to do it. With normal map, billboards are awesome. Thank you very much. I probably didn't exactly ask the question...  I had in mind disabling lighting when creating a diffuse map for Billboard . (*.dds, not *_n.dds)

 

 

4. Rules for DynDOLOD are about defining which object should have object or dynamic LOD and use which LOD model level for with LOD quad level. Running LODGen direct or via a bat does not use these rules. 

In re-uv.txt spelled out a link to re-uv-miniatlas.txt with an example for the example tild.nif and everything works well for this file. That is, treeoaktrunk02.dds changes to treeoaktrunk02lod.dds. For my files, following the example of the test, I was not able to achieve this result. But if you say that it is no longer necessary, very well.

 

Once again, and many more times, THANK YOU ARE. Bow to the ground.


  • 0

#4 Dimom

Dimom

    Watcher

  • Citizen
  • 4 posts

Posted 22 March 2020 - 10:15 AM

In my merged file on the environment merged 4 mods for changing trees. There is almost no vanilla left, so your files are not suitable for me (neither the checksum will match, and sometimes the trees themselves), so I decided to create my own 3D static trees (not hybrid ones). I puzzled myself, and now I'm figuring it out  ::): .


Edited by Dimom, 22 March 2020 - 10:22 AM.

  • 0

#5 sheson

sheson

    Talos

  • Mod Author
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,275 posts

Posted 22 March 2020 - 12:39 PM

Without any shifts the exact bottom center of the texture is placed at the position values defined on the reference. If the full model has z vertices below 0.0 than that delta should be the ShiftZ.

Best to create textures so there is not need to **** x or y. That might mean empty pixel spacing on one side to keep the trunk centered.

 

Oh yes! If a billboard has a normal map texture, then the diffuse should have no lighting at all or maybe very minimal indirect lighting depending on your tests.

 

Ah, so you mean the lines in re-uv.txt and not DynDOLOD rules. Sorry for the confusion.

The miniatlas.txt / texture replacement is only needed if you create a dedicated LOD texture that repeats the texture (tiles) with TexGen for example.

If the LOD model works correctly with the full texture already then no need for that step anymore. As a bonus it will continue to if the full texture is later replaced.


  • 1

#6 Dimom

Dimom

    Watcher

  • Citizen
  • 4 posts

Posted 22 March 2020 - 01:46 PM

Well, I intuitively (logically) turned off the Lighting and the result was quite fine with me. In extreme cases, I can darken/highlight in Photoshop or use the DynDOLOD Lighting Tree tool..
Good. So far, everything is clear, except for Question 3. Thank you very much.

Edited by Dimom, 22 March 2020 - 01:53 PM.

  • 0



Also tagged with one or more of these keywords: billboards, static trees, dyndolod

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users