Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch normals update #253

Open
Mitradis opened this issue Aug 16, 2024 · 6 comments
Open

Batch normals update #253

Mitradis opened this issue Aug 16, 2024 · 6 comments

Comments

@Mitradis
Copy link

Need option for batch normals update. For all blocks in nif file. Like tangents update.

@fo76utils
Copy link

I added batch versions of Face Normals and Smooth Normals in my fork of NifSkope in this build.

@fo76utils
Copy link

It does not crash for me with either version of Skyrim, can you provide more details about how the issue can be reproduced?

If you have an older CPU, note that the Actions builds use AVX and F16C instructions by default, but the release packages include a separate NifSkope_noavx.exe for compatibility.

@Mitradis
Copy link
Author

Mitradis commented Aug 19, 2024

@fo76utils possible increase zoom scroll speed, like in Dev7?

and possible remove this?
image
like in Dev7. because it creates a useless empty area. does not give full width.

Block Details Height not saving.
image

@fo76utils
Copy link

@fo76utils possible increase zoom scroll speed, like in Dev7?

This can be done easily, although it may be better to make it configurable.

and possible remove this?

I moved the shader property data in BSLightingShaderProperty and BSEffectShaderProperty to a separate structure because of how newer games (Fallout 76 and Starfield) handle materials. In those, everything after Controller is cut off if the name of the block (used as a material file path) is not empty. So, moving the data to a sub-structure allowed for easily making all the remaining fields conditional and also for defining separate structures for each game. I could try implementing this in a way that does not involve using a sub-structure for older games, probably by adding back all the data fields with version <= Fallout 4 conditions added.

Block Details Height not saving.

Is there a version of NifSkope where this is working, so I can use it as a reference?

@Mitradis
Copy link
Author

@fo76utils in Dev7 Block Details Height is saving.

@fo76utils
Copy link

This update includes fixes to the above issues:

  • Zoom speed is now configurable in the render settings. This affects the mouse wheel in both the main window and UV editor, as well as Page Up/Page Down in the main window, and right click dragging in the UV editor. The default (8) is similar to the previous release, increasing the number by 2 doubles the speed.
  • Shader property data is no longer in a sub-structure for Skyrim and Fallout 4.
  • The geometry of docked widgets not being restored is apparently a Qt bug (when recompiled with the current Qt 5.15 version, dev7 also has the same problem), but it could be worked around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants