Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Anaconda Update

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

This is brilliant news that the Anaconda is nearly ready for release!
If you've got any questions about the boa shaders Ramon please don't hesitate to ask, if you post up a list of effects you want to include on the anaconda we can customise these shaders to suit.
The boa shader doesn't use a seperate specularity map to control the specular effects, it just uses the diffuse map (the standard colour texture map) to control it
The hull lights on the boa are created using a greyscale texture which gets recoloured a pale yellow in the shader code and then gets added to the final fragment colour value after the shadowing calculations have been done which makes them look like they are emitting light since they recieve no shadow. to save space this greyscal image has been put into the alpha channel of the diffuse texture which is why the png file looks weird.
User avatar
ramon
---- E L I T E ----
---- E L I T E ----
Posts: 346
Joined: Thu Jun 01, 2006 2:38 pm
Location: Tavistock
Contact:

Post by ramon »

oh right, I see. That makes sense now. I have got a seperate specularity map for this one, because I felt it'd be good to do a few different colour schemes and just keep the same spec map.

I'll just quickly finish texturing the yellow bits and then you'll probably be plagued with loads of pm's from me :)
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

don’t forget a bump map for those hull plates! (Just one wafer-thin tangent generation bug…)
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

yeah, a seperate spec map will give you a lot more control, i didn't use one because the griff_boa was already using a whole load of texture maps and i didn't want to add another one into the mix.

There are some random vec3 generating uniforms noe in oolite 1.72, you can use these to recolour your texture maps to generate randomly painted colour variations of ships, the griff_boa uses a greyscale image which matches all the green paint areas in the colour texture, this greyscale image gets recoloured randomly by the shader and added into the final colour.

Ahruman, the normal mapping oxp demo is amazing, good luck squashing that bug! :D
User avatar
ramon
---- E L I T E ----
---- E L I T E ----
Posts: 346
Joined: Thu Jun 01, 2006 2:38 pm
Location: Tavistock
Contact:

Post by ramon »

Ahruman wrote:
don’t forget a bump map for those hull plates! (Just one wafer-thin tangent generation bug…)
a bump map or normal map? because those things are different, aren't they?
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Post by pagroove »

Can you also make a liner variant? Looks VERY good 8)
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

ramon wrote:
a bump map or normal map? because those things are different, aren't they?
Good question. ;-) Traditionally, “bump map” referred to a single-channel elevation map, but the term is starting to be used for normal maps (at least in relation to games). Also, you can create a normal map from an elevation map with some relatively simple image filtering, although it isn’t necessarily the best way.
User avatar
ramon
---- E L I T E ----
---- E L I T E ----
Posts: 346
Joined: Thu Jun 01, 2006 2:38 pm
Location: Tavistock
Contact:

Post by ramon »

getting there (with a lot of Griff's help):

Image
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Post by Svengali »

Nice one. Looks superb!
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Post by pagroove »

Ramon you are a real hero! :D
Now a version with Deepace textures on it as a variation?
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
ramon
---- E L I T E ----
---- E L I T E ----
Posts: 346
Joined: Thu Jun 01, 2006 2:38 pm
Location: Tavistock
Contact:

Post by ramon »

good idea. If you want to DeepSpace I'll pm you the UVMap for this Anaconda.

Here's a shadified picture. I've mapped some fake shadows onto it too which is why there seem to be dark bits on the top. When the sub-entities are added it'll all look right.....I hope.

Image
User avatar
ramon
---- E L I T E ----
---- E L I T E ----
Posts: 346
Joined: Thu Jun 01, 2006 2:38 pm
Location: Tavistock
Contact:

Post by ramon »

I've just noticed the normal bump map seems to be inverted.....hmmm where's my big red 'Griff Help!' button gone.
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

have a look in the options in the plugin you're using to generate the normal maps, there should be an invert y axis option, either switch it on or off, that should sort the old inverted bumps problem
edit: oo, just noticed the new screen shot - that is looking absolutely fantastic! i'm going to have to start saving credits so i can buy one when the oxp comes out!
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

ramon wrote:
Here's a shadified picture.
Wow! Nice doesn't even begin to give it justice! :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Post by pagroove »

inverted or not inverted bump maps. It just looks Fantastic. Definitely the future reference quality for Oolite.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
Post Reply