Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter SDK
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Orbiter SDK Orbiter software developers post your questions and answers about the SDK, the API interface, LUA, meshing, etc.

Reply
 
Thread Tools
Old 03-22-2019, 10:29 PM   #1
Domovoi Kuzma
Orbinaut
Post Understanding list of materials in mesh

Hello.
I'm stuck with understanding the purpose of two different lists in which materials are listed in the .msh file. One with only names and other with records.

for example, in deltaglider.msh we have

MATERIALS 27
dgint1_1
dgint1_1_A
dgint1_1_B
...
MATERIAL dgint1_1
1.000 1.000 1.000 1.000
0.690 0.690 0.690 1.000
0.784 0.784 0.784 1.000
0.800 0.800 0.800 1
MATERIAL dgint1_1_A
1.000 1.000 1.000 1.000
0.686 0.722 0.733 1.000
0.859 0.910 0.933 1.000 40
0.800 0.800 0.800 1

Do both lists always follow the materials indexation order, if not, then which one does?
And if they are the same, then what's the purpose of the list with string names only?
I thought it may define the permutation pattern if the list with material's digits is not in order of indexation.
Domovoi Kuzma is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter SDK


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 04:04 AM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.