solid material reading
Moderators: winston, another_commander
-
- Deadly
- Posts: 163
- Joined: Mon Aug 22, 2011 3:16 am
solid material reading
well as we do know Oolite works reading .dat files that are structurally alike the .OBJ files but does not read solid painted surfaces or read them as pitch black ships, what i say is that it would be very good to have oolite to read solid paint as it would make VERY easy the process of making custom ships
Re: solid material reading
I'm not quite sure what you mean there: I've repainted a texture file as just one block of colour - bright orange, to make it stand out - and Oolite seems to create my orange monstrosity without any problem.
What steps are you taking in order to create monochromatic ships?
What steps are you taking in order to create monochromatic ships?
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: solid material reading
I'm not sure what you mean by 'solid paint'. If you are refering to this problem this is to do with errors in the models, and not the textures.
Oolite textures are made using what I would call solid colours and are just normal (.png) image files - take a look in the 'Textures' folders of the core game or most of the OXP ships.
Griff's textures are a bit different having a 'ghostly' appearance, but that's clever stuff I don't understand.
Oolite textures are made using what I would call solid colours and are just normal (.png) image files - take a look in the 'Textures' folders of the core game or most of the OXP ships.
Griff's textures are a bit different having a 'ghostly' appearance, but that's clever stuff I don't understand.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Wildeblood
- ---- E L I T E ----
- Posts: 2453
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Western Australia
- Contact:
Re: solid material reading
I'm thinking Xairon means that having defined a facet in the .dat file, you should be able to define a colour for that facet to be painted there, in the .dat file, and not need a texture file until you come to adding fine details.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: solid material reading
You can use solid colours by customizing materials in shipdata.plist, for example:
This still requires meaningful normals, but not meaningful texture coordinates.
Code: Select all
materials =
{
"my-material-key" =
{
diffuse_map = ""; // No texture.
diffuse_color= ( 1.0, 0.0, 0.0 ); // red
}
}
E-mail: [email protected]
-
- Deadly
- Posts: 163
- Joined: Mon Aug 22, 2011 3:16 am
Re: solid material reading
yeah i was referring to face color it should be pretty easy to do it, but i dont have enough java scripting skills to do it