Commit graph

49 commits

Author SHA1 Message Date
KillzXGaming
bdf2b625e9 Start to impliment a base for custom bfres renderers 2020-01-14 21:15:37 -05:00
KillzXGaming
61550ac786 Alot of Pokemon additions.
Redid gfmdl parser completely. This allows the file to be rebuilt for custom models which will be coming soon.
Textures now load in the gfmdl section to easily edit without touching bntx.
Added a basic material editor (more like a viewer atm) for gfbmdl.
Added a Pokemon viewer (requires game path to be set). This shows icons of all the pokemon and opens the archive they are located in.
Start to parse GFBANIM. Not previewable yet because of rotations breaking. If anyone wants to help though be my guest :)
Basic GFBANIMCFG support. It can be used to view animation file names.
2019-11-26 19:54:59 -05:00
KillzXGaming
60a8cca957 Improve bfres shaders 2019-10-17 18:06:48 -04:00
KillzXGaming
a6c691bd82 Some shader and sampler fixes 2019-08-21 17:08:24 -04:00
KillzXGaming
1815168479 Shader fixes 2019-08-20 19:46:06 -04:00
KillzXGaming
fff2d5926c Fix botw shader fresnel lighting 2019-06-29 13:55:04 -04:00
KillzXGaming
f9ec221c1a Fix specular map display for botw when used in debug shading 2019-06-29 13:25:40 -04:00
KillzXGaming
6798db20de Add massive speed boost and memory improvements for archives with 1000s of files
This also fixes transparency on PBR shader.
Fixes odyssey costume viewer framing bfes
2019-06-24 15:45:54 -04:00
KillzXGaming
067244555a Improve gfmdl support. Fix raw astc exporting 2019-06-21 18:18:22 -04:00
KillzXGaming
ad1c4aed4e Improve lighting view in pbr shader. Start on SEModel support. 2019-06-20 15:29:04 -04:00
KillzXGaming
2ed4dd0971 Make sure to only use transparency if enabled for pbr shader 2019-06-16 10:01:36 -04:00
KillzXGaming
a8698a2ef4 Add LZARC support and a few random fixes. 2019-06-14 17:23:02 -04:00
KillzXGaming
18120fa028 Some sampler fixes for odyssey 2019-06-12 16:18:30 -04:00
KillzXGaming
05516ed3df Gamma fix pbr diffuse color 2019-06-12 15:57:24 -04:00
KillzXGaming
b2f48fa8e9 Add support for channel components for bfres shaders, 2019-06-10 18:06:31 -04:00
KillzXGaming
f4f946fce5 Fix specular map issues causing a texture overlayif unused. 2019-06-05 17:44:23 -04:00
KillzXGaming
13b346ddde Display emblem on karts properly 2019-06-04 20:17:19 -04:00
KillzXGaming
e40c081560 Pass the specular texture to the reflection pass for better reflections 2019-06-03 20:59:54 -04:00
KillzXGaming
537da9866b Some crash fixes when playing an animation 2019-06-03 20:53:11 -04:00
KillzXGaming
8a22275cd5 Animation fixes for playing last frame 2019-06-03 20:04:15 -04:00
KillzXGaming
47cd45b4e0 Add support for specular colors if used 2019-06-03 19:00:46 -04:00
KillzXGaming
2299a61cb3 Fix displaying normals as lines if enabled 2019-05-30 19:34:23 -04:00
KillzXGaming
d5622e4046 Fix calculating I vector (Fixes shading on hands in Odyssey costum viewer) 2019-05-30 19:21:06 -04:00
KillzXGaming
250e267143 Fix normals from being dark or flat sometimes. 2019-05-30 19:12:38 -04:00
KillzXGaming
3b4bb242c5 Starto to add material presets. Add option to add empty meshes 2019-05-30 15:28:43 -04:00
KillzXGaming
6d7579e6e0 More improvements.
Camera is now centerd when a bfres is selected. This will apply to reseting the camera aswell. The method is based on Smash Forge so thanks to the devs for it.
Start on bfsha program linking for bfres materials. Dunno how far i'll take this.
Basic ortho mode added. Needs improvements to zoom in and mainly just changes the projection matrix to ortho atm. Controls are not altered.
2019-05-21 18:08:57 -04:00
KillzXGaming
bccb8f3af4 Optmize model/shader loading for bfres. Save block setting to 1MB for KSA to not crash 2019-05-20 16:01:43 -04:00
KillzXGaming
b64e744d26 Add UV channel toggle for uv test pattern shading in settings window 2019-05-16 21:26:32 -04:00
KillzXGaming
639aabb997 Adjustments for ftex replace settings 2019-05-16 20:10:58 -04:00
KillzXGaming
d311562793 A few more shader fixes 2019-05-16 19:34:09 -04:00
KillzXGaming
a0dd1b4f22 Fix normals on mario's hands in costume selector 2019-05-16 19:25:41 -04:00
KillzXGaming
576da8c6e4 Fix some diffuse colors from pbr 2019-05-16 19:10:01 -04:00
KillzXGaming
e122714b41 More adjustments to better fit KSA 2019-05-16 16:53:40 -04:00
KillzXGaming
f78dc7e9de Add specular intensity for PBR 2019-05-16 16:45:39 -04:00
KillzXGaming
304b00fe49 More PBR improvements. Fix skybox to be a proper skybox 2019-05-16 16:01:22 -04:00
KillzXGaming
cd57a856fc Add improvements from yesterday.
PBR shader slghtly improved.
Skyobx toggle now works while viewport is active,
Cubemaps now have a check wether or not the file given is a valid cube map dds.
Update column sizing so forms load much faster
Option to right click and clear paths in settings if set
2019-05-15 15:35:05 -04:00
KillzXGaming
9d1d7fd7b2 Force string extension on batch to remove empty spaces for extensions 2019-05-14 20:02:48 -04:00
KillzXGaming
67d1b6920a Some improvements from yesterday. Start to improve uv editor.
Basic tex 3ds support
BC4 textures will be rendered grayscale in opengl (not using opengl decoder)
Fix a few format issues with 3ds
Mip total method is one function in STGeneric texture
Weight format default to floats again until i find a proper fix for the 888 unform format.
2019-05-13 15:29:40 -04:00
KillzXGaming
7bea95b199 Update to the latest opengl framework and more bug fixes 2019-04-05 19:47:21 -04:00
KillzXGaming
c75c171792 Fix sarc's with folders saving wrong 2019-03-24 16:44:12 -04:00
KillzXGaming
5e4313c54f Attempt to fix UV scale issue with a flag in the shader options 2019-03-24 14:40:29 -04:00
KillzXGaming
ab44950984 Fix preview scale 2019-03-24 11:31:19 -04:00
KillzXGaming
233b11a022 Fix bugs related to bones.
Fixed bones not displaying when creating new skeletons.
Fixed importing dae bones not displaying properly in the tree.
Fixed bones not clearing when a model is removed
2019-03-24 11:24:40 -04:00
KillzXGaming
89e8980cdb Test3 2019-03-23 20:00:43 -04:00
KillzXGaming
a421bdf518 Test2 2019-03-23 20:00:20 -04:00
KillzXGaming
a410cec88f Test 2019-03-23 19:58:39 -04:00
KillzXGaming
8610f33a1e Fix spacing 2019-03-23 19:56:44 -04:00
KillzXGaming
777fd47a01 Speedup settings and use emissive pass 2019-03-23 19:51:41 -04:00
KillzXGaming
d1f03b161f Add files for the new one.
Rework UI from scratch with proper themes and custom controls. MDI windows are now used for workspaces, comparing docs, and multiple usages. Tabs organise multiple workspaces and you can keep mdi windows maximized if you want to only use tabs. Themes currently include dark and white theme but plan to have XML files with list of color and styles
Alot of things optimized. UI is very fast and snappy now
Dae rigging fixed.
Dae bones can be imported.
Dae with textures can be imported and exported to a folder
Custom sampler editor for sampler data.
Texture refs, shader options, params, render info, and basically all material data can be added/removed and edited
User data editor
Update opengl framework by JuPaHe64 to the newest. Includes an origintation cube, multiple models in a scene, and many improvements
Skeleton can be viewed
GFPAK with some fixes in saving
NUTEXB has proper mip map viewing
PTCL Editor (Wii U and Switch). Can edit colors ( Wii U) and view textures. Also EFFN files in smash ultimate can be previewed
Files can be associated with the program and opened with on clicking them
ASTC textures can be viewed
UVs can be viewed. Includes wrap modes and also translating and scaling for some basic edits
Textures use a new editor. It includes channel viewing and some new editing options
Fixed black textures on some wii u bfres
Fixed saving sarcs in sarcs
Shortcut keys have been added in. CTRL + S can save the active file in the currently used window
Fix more issues with bfres crashing
File - New includes BNTX for creating new bntx files from scatch
Raw shader binaries can be extracted from bnsh and bfsha. Yuzu and Ryujinx can decompile these
Sharc files can have source data previewed and shader programs in XML
Aamp v1 and v2 data can be previewed. v1 can be edited and saved atm, v2 will be at a later update
Byaml uses it's own editor instead of a seperate window for easy saving within sarcs
Archives have a hex viewer
Dae exporting greatly improved and can export rigged meshes
Scene, shader param, srt, color, and texture pattern animations can all be previewed (in a list)
Memory usage is greatly improved
Narc (Nitro Archives) can be viewed and extracted.
Fixed importing TGA images
Support importing ASTC textures for bntx
Added in PBR lighting for bfres from my implimentaion in forge
Added gradient background for viewport. This can be edited in the settings
Added skybox background option for viewport. Can load cubemaps
Added grid with customizable cells for viewport.
DDS decompression no longer requires Direct X tex.
Zlib decompression has been improved for opening files that use it
Rigid bones are properly ordered on importing a mesh. May fix some exploding issues.
Endianness for KCL can be toggled for saving. Will be set to what it was using orignally
Tangents can be filled with a constant value. Will allow them to not cause seams nor flat lighting however normal maps may not work as good
Vertex buffers can be added and removed. Also re encoded
Parameters now use drop down panels with values for easier editing
Reworked the bone editor. Everything for a bone can be fully edited now besides the index, billboard index and parent index  which get set automatically
Fixed animation scaling for skeletal animations finally!
Textures can be loaded in a tab now with thumbnail displaying for easy real time edits while previewing in the viewport

Fixed support for audio files to be big endian in BARS
Textures for switch now use their own folder. You can easily add textures to this and add textures to bfres that have no bntx. If there are no textures then the bfres will automatically not have one on save.
Animations are split into multiple sub sections for switch's material animation for easier access
Bfres for wii u has better binary exporting and is fully compatiable with Wexos Toolbox (to and from)
Every section can be added in as new for both wii u and switch.
Every section can be renamed properly and mostly everything can be edited. (Key frame editing and a more in depth curve editor later)
Added option to copy UV channel
Bone weights can be previewed
Tons of fixes for the switch bfres library with more games working. Splatoon 2 (more work now), BOTW, Kirby Star Allies, and more!
Fixed 3.3 Wii U bfres from not opening
Wii U Sharcfb files can have shader program data previewed (XML)

And possibly alot more things i missed! All this is still experimental but will improve over the next few weeks
2019-03-23 12:55:09 -04:00