Board index FlightGear Development Aircraft

Correcting Normals on the E Jets

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

Correcting Normals on the E Jets

Postby Kafovofa » Fri Aug 09, 2019 5:23 pm

I've been working on adding reflections to the E-Jet engines, and I discovered the normals were incorrect as seen here:

Image

I used Blender 2.79 in combination with the Majic79 exporting script to fix them; however, when exporting it warns that it cannot find "Tex" in Materials/Materials. It loses the livery texture for one engine in the process. I don't know what "Tex" is, and I'm new to Blender so I don't know where to start looking next.

Image

Image

I'm referencing:

E-Jets - https://github.com/YV3399/E-jet-family-YV
AC file conversion info on the wiki - http://wiki.flightgear.org/Blender_AC3D ... and_export

Any pointers would be appreciated.
-Kafovofa
User avatar
Kafovofa
 
Posts: 31
Joined: Tue Jul 02, 2019 2:47 am
Location: Manchester, NH
Callsign: D-MVXB
Version: Stable
OS: Windows 10

Re: Correcting Normals on the E Jets

Postby wlbragg » Fri Aug 09, 2019 6:27 pm

Select the engine you have working correctly and check in Blender under the materials tab what material it is linked to. Then you should be able to use the same material for the other engine that is not assigned to the correct material and texture.

I just happened to be using Blender at the moment. This should give you a clue as to how to do what I suggest.
Note: I am working on lightmaps so the texture is not what you will see, you will see the correct texture in the UV-map screen if you select the correct material assigned to the correct texture.

Image
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
User avatar
wlbragg
 
Posts: 4754
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Debain/nVGT640

Re: Correcting Normals on the E Jets

Postby Kafovofa » Fri Aug 09, 2019 7:10 pm

They use the same material as far as I can tell.

Image

Image
-Kafovofa
User avatar
Kafovofa
 
Posts: 31
Joined: Tue Jul 02, 2019 2:47 am
Location: Manchester, NH
Callsign: D-MVXB
Version: Stable
OS: Windows 10

Re: Correcting Normals on the E Jets

Postby Kafovofa » Fri Aug 09, 2019 7:53 pm

I identified that the error message was from me leaving the default cube in the scene, but deleting it only gets rid of the error message and doesn't solve the texture problem.

Edit: I tried importing and exporting the file with no changes to the normals to see if it's exporting correctly, and it doesn't appear to be doing so.

Image

Image
-Kafovofa
User avatar
Kafovofa
 
Posts: 31
Joined: Tue Jul 02, 2019 2:47 am
Location: Manchester, NH
Callsign: D-MVXB
Version: Stable
OS: Windows 10

Re: Correcting Normals on the E Jets

Postby CaptB » Fri Aug 09, 2019 9:22 pm

Hello,

The problem is not in the exported AC but in the model's xml. there is no nacelle.001 defined in ERJ-170-Model.xml
CaptB
 
Posts: 517
Joined: Thu May 23, 2013 6:36 pm
Callsign: EKCH_AP
IRC name: CAPTB
Version: 2018.1
OS: Xubuntu, Win7 64

Re: Correcting Normals on the E Jets

Postby Kafovofa » Sat Aug 10, 2019 12:26 am

Looks like that did the trick! Thanks.

Image

Image

Image
-Kafovofa
User avatar
Kafovofa
 
Posts: 31
Joined: Tue Jul 02, 2019 2:47 am
Location: Manchester, NH
Callsign: D-MVXB
Version: Stable
OS: Windows 10

Re: Correcting Normals on the E Jets

Postby legoboyvdlp » Sat Aug 10, 2019 8:51 am

Nice work!
User avatar
legoboyvdlp
 
Posts: 6846
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Correcting Normals on the E Jets

Postby Kafovofa » Sun Aug 11, 2019 4:56 pm

Unfortunately, I've created a landing gear and flap bug.

Image

Image
-Kafovofa
User avatar
Kafovofa
 
Posts: 31
Joined: Tue Jul 02, 2019 2:47 am
Location: Manchester, NH
Callsign: D-MVXB
Version: Stable
OS: Windows 10


Return to Aircraft

Who is online

Users browsing this forum: No registered users and 40 guests