Puyodead1/Run8-V3-reverse-engineering

Texture Issue

Closed this issue · 14 comments

So basically whenever I convert a mesh and its corresponding texture, it never matches up with the UV. Is there a way to fix this? Thanks!

For which mesh and texture? I just tested using a wellcar and it shows correctly.

Image

Hello.

I am using the "R8_Bethgon_BNSF01_Ld.rn8" and putting "R8_BethgonII_BNSF01_0.tx8" on it as texture.

also this is my result

Image

Image

Are you using the refactor branch? In the Test project:

Model model = Model.Read(@"E:\Run8Studios\Run8 Train Simulator V3\Content\V3RailVehicles\Body\R8_Bethgon_BNSF01_Ld.rn8");
model.WriteCollada(@"E:\Run8Studios\Run8 Train Simulator V3\Content\V3RailVehicles\Body\R8_Bethgon_BNSF01_Ld.dae");

I have been running in the ModelLoaderTest project. I'm really new to all this vs code stuff lol.

I just got the .json file named "Model" what do I do next?

I have been running in the ModelLoaderTest project. I'm really new to all this vs code stuff lol.

thats just a random test thing, useless. you need to look at the project called Test, at the bottom theres code for loading a model and writing a collada file

ImageI I only see the part to read the model. Unless theres another test thing I'm not seeing. Theres a bunch of code that's become a //

ImageI I only see the part to read the model. Unless theres another test thing I'm not seeing. Theres a bunch of code that's become a //

Ah, looks like I didn't push the changes to the test project.
https://github.com/Puyodead1/Run8-V3-reverse-engineering/blob/refactor/lib/CS/Run8/Test/Program.cs#L96-L106

alr. what should I replace this file path with because I dont think we have the same stuff lol

Image

I just tried replacing it with the stuff you sent before. It created a .dae file but I can't find where the model is supposed to be.

I just tried replacing it with the stuff you sent before. It created a .dae file but I can't find where the model is supposed to be.

the .dae file is the model. in blender, use import -> collada

Just tried it. It worked perfectly. Thank you so much for your help!

Awesome!