#Smooth normals not showing up

53 messages ยท Page 1 of 1 (latest)

dry lodge
#

Does anyone know a quick fix to this, before I go down some rabbit holes?

#

The mesh on the left is in the toolkit (looks the same in runtime) and is captured from the original game, is not a replacement mesh.
Bringing the captured .usd into blender shows the mesh seems to have appropriate geometry and normals.

orchid shadow
#

May wanna advertise that in #general-remix or #asset-creation

I have no clue how to help with this

dry lodge
#

Alright cheers Pete

orchid shadow
#

Sorry ๐Ÿ˜ฌ

dry lodge
#

hehe how dare thee not know all the things! ๐Ÿ˜„

#

no problemo mister

#

it's just a lazy question anyhow, it's probably something i can figure out by doing some rudimentary investigation

dry lodge
#

Seems the issue is rather straightforward:
#asset-creation message

dry lodge
#

for safekeeping
#asset-creation message

dry lodge
#

(ie. on the github issue itself ๐Ÿ˜› )

#

that helps the devs prioritize important issues

summer cliff
#

stgottem

lol yeah I gave a thumbs up over there as well(BrunchyChineapple)

summer cliff
#

Those scripts You posted, Do I need to grow a brain here or are there any additional requirements I need to run those? Getting the following

C:\rtxgames\Morrowind\rtx-remix\captures\meshes>python fixnorms.py Traceback (most recent call last): File "C:\rtxgames\Morrowind\rtx-remix\captures\meshes\fixnorms.py", line 3, in <module> from pxr import Usd, UsdGeom, Vt, Gf ModuleNotFoundError: No module named 'pxr'

dry lodge
#

yeah you need pxr usd thingo

#

i guess. I don't really remember, it was a while ago

#

probably some pip install command or something

#

maybe pip install usd-core

summer cliff
# dry lodge maybe pip install usd-core

ah yeah that's the right command for sure...Seems it wants needs downgrade My Python version as well it seems for usd-core as that's written for 3.10 and I'm on the latest I guess. not sure I want to do that this minute lol... thanks though โค๏ธ

summer cliff
#

alright I buckled.. and I'm glad I did...like holy..

dry lodge
#

slight improvement ๐Ÿ˜„

summer cliff
#

Yeah this need to be priority ...goes from like N64 potato quality to ps3 real quick.

dry lodge
#

if you just need to do a few meshes, you can use the blender import export trick
using the community contributions blender addon

summer cliff
#

I did My entire project.. yolo

fickle mortar
#

Getting this error when trying to install usd-core, any ideas?

dry lodge
fickle mortar
#

Also gave me a thing to install numpy but that worked fine, script seems to be doing its thing lol thanks man

#

Okay good thing I backed everything up before trying.....uuuuhhh everything has disappeared minus a different mesh replacement

dry lodge
#

Working as intended ๐Ÿ˜‚

fickle mortar
#

Was I supposed to take the output files from the first script and replace the original files in captures/meshes? Didn't see any errors when running either script and it looked like it handled all +2,000 meshes

dry lodge
#

its easy enough to undo what it did by removing the line saying captured_meshes.usda from the mod.usda

fickle mortar
#

Yeah I got the whole thing backed up anyways so I know i'm not losing any progress, but I gotta use this method since blender doesn't like the terrain meshes this game uses. Other meshes like buildings it imports no problem but doesn't import any mesh when trying the terrain meshes

dry lodge
#

i dont remember much but i think it is meant to take all the meshes from your captures folder,
process them,
put the processed version into assets/catpured_meshes folder

#

then make a captured_meshes.usda linking them all up

#

and add that usda to the mod.usda

fickle mortar
#

aaaah okay I think I know what I did

fickle mortar
#

Actually I really got no idea what I did ๐Ÿ˜€ so after running the fixnorms.py it takes all the fixed usds and puts them in an output folder inside rtx-remix/captures/meshes , do I need to do anything with those before running the mesh_replace_mp_adv.py script?

#

I assume you take the files from the output folder and overwrite whats in rtx-remix/captures/meshes but I did that the first try

summer cliff
dry lodge
#

let me fix it so its easier

dry lodge
#

seems that you put the fixnorms.py in your captures/meshes folder and run it

#

then put mesh_replace_mp_adv.py in your project folder (same folder as mod.usda) and run it
BUT it's probably a good idea to change line 24
from: self.source_dir = self.project_dir / 'deps' / 'captures' / 'meshes'
to: self.source_dir = self.project_dir / 'deps' / 'captures' / 'meshes' / 'output'

#

you could then delete the output folder to free up space

dry lodge
#

invisible meshes maybe has something to do with replaced materials not being used properly or something

#

if you uncheck replacement materials do the meshes show up

fickle mortar
dry lodge
#

Do you have stuff in the assets/captured_meshes folder