Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Addons > Addon Development
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Addon Development Developers post news, updates, & discussions here about your projects in development.

Reply
 
Thread Tools
Old 01-23-2020, 01:17 AM   #31
Blake
Addon Developer
Default

Quote:
Originally Posted by Jordan View Post
 When I try to import the mesh ISSR/STSpad39A.msh from
LC39A+B for ShuttleFLeet HD
I get this error



if i rename the texture to a shorter name for example "Main_Concrete_Hardstand_texture_1.dds" to "mcht1.dds" both in the mesh file and the texture file itself, then it works.

Now that I've had a bit more time to look at this I see what is going on. It appears there is a limit on the size of a Blender material name so we end up looking for a name that has been truncated, so no match. I'll need to think on this a bit. I probably need to take the first 'n' chars of each name.

That's why shortening the name worked, but you should not have to do that.

---------- Post added at 06:11 PM ---------- Previous post was at 06:06 PM ----------

Quote:
Originally Posted by llarian View Post
 And if you mean me, no. For test purposes I have been following your pdf to the letter (I think).
I hope you find that useful. It is a bit rough and could use some polish.

Also, I'm starting to port my SR71R project to Blender 2.81 so that ought to shake out some issues with the plug in and Blender in general.

I'm really liking 2.81, there are some great tools I want to take advantage of.

---------- Post added at 06:17 PM ---------- Previous post was at 06:11 PM ----------

v2.0.4 is now available on github. Fixes the ShuttlePB import issue.
Does not fix the material name is too long issue
Blake is offline   Reply With Quote
Thanked by:
Old 01-23-2020, 05:08 AM   #32
Jordan
Orbinaut
Default

Quote:
Originally Posted by Blake View Post
 That's why shortening the name worked, but you should not have to do that.
Can it be that the python .split method doesn't work as it should?
Jordan is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Addons > Addon Development


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 05:30 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 - 2020, vBulletin Solutions Inc.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.