Comments (13)
would need to be Noesis FBX (no mats). Be more inclined to just add a 'fix Noesis import' button to the mesh panel (didnt DrP already put in a rotate armature button?).
from cyberpunk-blender-add-on.
I'm thinking from an UX perspective here - IMO, a menu entry would be way clearer than a button. Can see people spamming "fix armature rotation" whenever they run into a Wolvenkit import error and then complaining when it doesn't work 😅
Besides, you'd only need this once, on import... or wouldn't you?
from cyberpunk-blender-add-on.
mainly just dont want to deal with people asking why their fbx doesnt have materials
from cyberpunk-blender-add-on.
if the fbx is a REDmod export from Wolvenkit, then it should have materials (@DoctorPresto would know). Otherwise, how about a big-ass popup or... a plane with "Noesis export, no materials generated" projected on it? :D
from cyberpunk-blender-add-on.
No, it wont, as the redmod materials json isnt the same format as the wkit one, and the only reason glb has materials is we process the wkit json.
from cyberpunk-blender-add-on.
Ah, damn, we need to parse that file into a regular json, don't we -.-
from cyberpunk-blender-add-on.
I'm not opposed to adding another toggle to the existing fbx importer, the button that will do this though is pretty clear that it's not a fix, it says "Rotate Object" currently in my dev build. As for the mats... Redmod material.xml basically just points to a couple xbm files, I'm really not sure how useful it would even be as it feels very much like it's something just leftover from witcher 3 modkit. We'd asked once if it was at all possible to trigger wolvenkit to generate the material .json on a redmod export but no one was really sure how much effort that would take and it's obviously not a high priority on the wkit side.
from cyberpunk-blender-add-on.
Probably not, but maybe somebody is bored enough? :D
from cyberpunk-blender-add-on.
😅 I'm going to start putting actual effort into c# again while I'm off in December
from cyberpunk-blender-add-on.
mainly just dont want to deal with people asking why their fbx doesnt have materials
heya. just wondering, is this due to the export with materials / export with rig, are seperate methods, and dont have a combiined one, or iis something else noesis related ? I could possibly offer insight. i wrote a fullon cr2w in noesis at one point, parsing anim buffers and all, the nutter thaat i am, will try dig it up and post on DC.. Just on a sidenote, does the Noesis export rig, if not can do Obj + textures, and spit out a generic MTL noesis is a PITA when it comes to naming and relative paths, but if u include obj/mtl and txts in same folder, or even textures in subfolder, should be good, keep everything lowercase, no dashes, or underscore, and stick to png for normals and jpg/png for other txt's. it doesnt like DDS iirc \
aside from that if i remember rightk there was an issue ewhreby the required material entries were lost or did not show us (1 entry per mesh part, defining corresppnding texture). and there was just single material entry. Againm, im foggy, but fairly sure it was some manner of limitation to how noesis would handle each thread, or import action (having only one armature and one material entry - or something). I evevntually overcame this by looping the whole import method, for eachc seperate submesh, thus giving it its own mat, but with any complex characters or vechiles it would throw a shitfit, and cause cpu/mem spikes. i had reported the issue to Rich back in the day, but lets just say it did not even make the bottom of his todo listl]]
I was then and still am a noon that was just winging it mostly, and was building ontop of AlphaZomegas original script. Will post my last version, but it was pre 1.1 and would need some work. AlphaZomega if still around is the true Noesis Savant. shold definately hit him up, he would probably know exactly whaty causing the textures issue.
from cyberpunk-blender-add-on.
also need to give each meshpart a unique namel, short as possible. lowercase. another option, how easy idk, but if u use blenders combine/group meshes into single mesh (can always undo it later) and bake textures to single diffuse (noesis cant handle fancy shaders or complex mats) then that might just solve issues,
from cyberpunk-blender-add-on.
Probably not worth digging through these, but oneo f these builds you will find a FacialSetup.cs or Facial.cs or FacialAnims,cs, in the folder containing the other mesh/mat/anim parsers u will find the export mesh_with_rig_with_materials method, nothing fancy just combined the 2 seperate methods and added in some entries iinto gltf ewxtra data, namely, the material names per mesh part, / submesh, and original location of cr2w, and each parts index, and so on. essentially similar tocode above, but just super useful whebn adding a line to gltf inmporter to blender, renaming the meshparts on import to tjueior actual definitions (body parts, or vehicle parts), and then restoring names on export.. would ust need to convert camelcase names to LC for noesis.
https://mega.nz/folder/W5RiXYpa#5dA1J_ME0JjGnxbPuQmB7w
from cyberpunk-blender-add-on.
the noesis issue is just FBX orientation which we have a button to fix already + the naming of submeshes which I've added a bundled script to the plugin script manager to deal with, I'm not sure we want to go much further down the road of support beyond that
from cyberpunk-blender-add-on.
Related Issues (20)
- Refactor the Sector import
- Add some vertex color quick buttons HOT 8
- Entity json export
- Usability "Transfer Vertex Weights"
- Refitter: have an "auto-apply" option
- On export: Rename data blocks after related Blender object
- Entities with incorrect placement of their parts HOT 5
- Vehicle animations broken HOT 5
- Some materials missing when importing valentino cyberware HOT 8
- Entity import breaks if the language is set to french (may be true for others) HOT 2
- Feature request: add support for modifying entLightChannelComponent from vehicle .ent HOT 1
- UnboundLocalError: cannot access local variable 'MaskTexture' where it is not associated with a value HOT 7
- 1.5.5.1: Export as static prop still checks for vertex groups
- Loading materials error HOT 5
- 'NoneType' object has no attribute 'update' on GLB export HOT 4
- Importing custompathed NPV .ent is errored HOT 2
- worldDynamicMeshNode not supported in sector import HOT 1
- Some terrain meshes have issues with materials
- Combine materials for decal meshes that use the same material HOT 4
- Missing some meshes with the same name as proxy HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cyberpunk-blender-add-on.