Griff's normalmapped ship remakes

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

Moderators: winston, another_commander

Rustem
Deadly
Deadly
Posts: 170
Joined: Mon May 25, 2015 5:23 pm
Location: Russia

Re: Griff's normalmapped ship remakes

Post by Rustem »

Updated the Griff's Normalmapped Ships (Optional overrides) OXP v0.1.1:
- Adds a materials for Griff's cargopods and Python (used in the python and python-blackdog).

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

Re: Griff's normalmapped ship remakes

Post by Griff »

Apologies a bit of a blog post, I've made a start turning the 'alternative cobra III' ship i made a while back into a medium-high poly version, just done the back and the side of the ship at the moment, have managed to make lots of polygon tangles that will need sorting out as usual.

I've never attempted the workflow before, but the plan is to 'bake' down a lot of the detail in this model to a lower poly version normal map for use in-game, and also attempt a new PBR version to take advantage of Oolite's amazing new shading capability, hoping to try and use 'substance painter' to help with that, i think it has a spec/gloss workflow, I've never really used the program but i picked it up ages ago in a 'Steam' Christmas sale and want to try and get some use out of it :)
Hope everyone's doing OK and keeping safe, I've not been away from the forums, always lurking but don't really have anything to contribute, and the trivia question thread are way to hard :)

WIP render: (photobucket went really expensive so i had to close my account with them, hope this works:
Image

Edit: Yay success!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Griff's normalmapped ship remakes

Post by another_commander »

This is gorgeous. Seriously. Can't wait to see it in-game.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Griff's normalmapped ship remakes

Post by Cody »

Lovely! Great news, Griff - will it still allow decals?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2483
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Re: Griff's normalmapped ship remakes

Post by Griff »

yep will definitely work to make this as easily modifiable as possible, there's some amazing paint scheme designers an artists here i'm hoping will be able to work their magic on it.
I've been tinkering on bringing the new lighting code from Oolite into the shader i was using for the 'normal mapped shipset' it's kind of working - decals and engine glows are in there but it makes everything go blue in Rendermonkey though at the moment, think it's because it uses some openGL variables that will have a value set to them in game but rendermonkey doesn't set them up with anything sensible
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Griff's normalmapped ship remakes

Post by Cody »

Good - Spindrifter (my alt-Cobra in distressed chrome) was needing a revamp.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2483
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Re: Griff's normalmapped ship remakes

Post by Griff »

I'm pretty sure with the new pbr code in oolite we'll be able to give it a proper chrome surface now too (might be slightly blue though if i can't fix my bugs)
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Griff's normalmapped ship remakes

Post by another_commander »

Griff wrote: Mon May 11, 2020 11:05 am
I'm pretty sure with the new pbr code in oolite we'll be able to give it a proper chrome surface now too (might be slightly blue though if i can't fix my bugs)
Sorry to have to disappoint, but I think that for a fully realistic chrome material we need environment mapping, which unfortunately we don't have at this time. Chrome must reflect almost nearly perfectly everything that is around it and we need some game engine updates to get that. We can get close, but without the environment reflections.
User avatar
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2687
Joined: Thu Jun 20, 2013 10:22 pm
Location: On the moon Thought, orbiting the planet Ignorance.

Re: Griff's normalmapped ship remakes

Post by Redspear »

Griff wrote: Mon May 11, 2020 10:31 am
Apologies a bit of a blog post, I've made a start turning the 'alternative cobra III' ship i made a while back into a medium-high poly version, just done the back and the side of the ship at the moment
Looks great as usual Griff. I much prefer this version of the mk 3.
Splendid :D

Griff wrote: Mon May 11, 2020 10:31 am
have managed to make lots of polygon tangles that will need sorting out as usual.
Total bane of my early models :lol: and why they never made it into the game.
Commander_X
---- E L I T E ----
---- E L I T E ----
Posts: 675
Joined: Sat Aug 09, 2014 4:16 pm

Re: Griff's normalmapped ship remakes

Post by Commander_X »

Here's hoping for the same 4 engine trails too, if not too much to ask :-D

On the technical side of the things, though, while I understand the usefulness of "Substance Painter", are you using RenderMonkey to test your shaders directly as they would look in-game (i.e. for a sort of carbon-copy from RenderMonkey to you OXP) or just for visualization? Although even on the texturing side I'm an only Blender person, I've seen a lot of people using Substance Painter and Blender in their pipeline (at least for PBR rendering - and Blender's new Eevee is fast and real time with that).
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2483
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Re: Griff's normalmapped ship remakes

Post by Griff »

I'm hoping Substance Painter is going to really drastically speed up the texturing, with a bit of time i'm hoping that i'll eventually build up a 'library' of various types of surface that can then just be dropped onto sections of the model and have substance painter generate the various colour and spec/gloss maps for me automatically for use in Oolite, i think it'll also allow me to paint directly onto the model in a 3D view rather then having to switch to a 2D art package and draw on a flat 'UV map' version of the texture then have to toggle back into the 3D program to see what it looks like or if the newly drawn bits line up with the rest properly (wonky hull plate lines) :D

Rendermonkey is ancient and out of support by AMD but it's perfect for Oolite, but it's great for 'final tweaking' the effects maps - i can run the exact shader code in rendermonkey that Oolite will be using so any syntax errors or bugs will show up instantly in Rendermonkey with just a quick click of the 'refresh shader' button, so i don't have to load the ship into Oolite and check it there to see how it looks or read through the latest.log file for shader errors.

Rendermonky is also great for placing decals or for real time checking of specular map intensity levels, you can also change the values of the various shader uniforms too whilst the code runs on your model in the preview window, so you can see how glow maps will ramp up in intensity when they're being driven by for example, the current ship engine speed back in Oolite or the hull temperature or something

Blender looks amazing, i'm too old to try and pick up another 3D package but it looks so brilliant and fun to use
Commander_X
---- E L I T E ----
---- E L I T E ----
Posts: 675
Joined: Sat Aug 09, 2014 4:16 pm

Re: Griff's normalmapped ship remakes

Post by Commander_X »

As a Blender advocate ( :twisted: ), I think it is worthwhile to mention here that there is 3D texture painting available in Blender.

As per the RenderMonkey habits, I recall I tried it sometimes back, but it seemed to me too convoluted for just doing some simple GLSL tests. Blender was an easier approach at that time, but unfortunately, since its Game Engine removal in 2.8x versions, manual GLSLing is no more available, although Eevee (the new viewport real time engine) is a renderer based on GLSL shaders.
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2483
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Re: Griff's normalmapped ship remakes

Post by Griff »

cor, sorry about the 6 month delay on that cobraIII a few posts up, I finally got around to texturing the model and bundling it into a test oxp, substance painter didn't work out for me in the end, i don't think i had enough memory in my pc to use it with more than a few layers plus i don't think i'd layed out the model UV's with a decent enough resolution for it

download:
Edited link to point to a shared folder rather than to the oxp zip file - added modding resources (model in Obj format, PSD format texture , rendermonkey files etc)
https://drive.google.com/drive/folders/ ... sp=sharing

there's only a player flyable version (not multidecal though) and a pirate npc version at the moment (need to get back into the swing of things so i can add in proper trader and bounty hunter versions etc, totally forgotten all that shipdata.plist stuff)

the model has got a stupidly high polycount, something like 50,000 triangles or so, i just totally failed at trying to bake it down to a much lower polycount mesh, it also has a bunch of 4096x4096 pixel textures, will think about reducing those though as i don't think there's much in game benefit

I'm trying somethigng different with the repainting, rather than just letting oolite come up with random colours i've put a few different colour schemes into some arrays in the shader and just letting oolite pick one at random, i'm not sure if these arrays are widely supported though by graphics card drivers, it seems ok on an nvidia card

oo yeah, the shader it's using isn't doing the energy conservation stuff i spotted in the oolite defult shader, i think maybe i didn;t transplant the code properly but it seemed to be killing off the more metallic surfaces and tinging things towards blue, there is a shader in the oxp that does try to do things properly like oolite, you can edit the shipdata.plist 'shaders' section to pick the other shader

will try and post a screenshot soon, hope the download link works, not used my free google drive account before, download about 40 megabytes i think

Edit: Numbers needed for decal placement
Image
Last edited by Griff on Sat Jan 02, 2021 2:37 pm, edited 3 times in total.
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Griff's normalmapped ship remakes

Post by Cholmondely »

Griff wrote: Wed Nov 25, 2020 12:11 pm
cor, sorry about the 6 month delay on that cobraIII a few posts up, I finally got around to texturing the model and bundling it into a test oxp, substance painter didn't work out for me in the end, I don't think I had enough memory in my pc to use it with more than a few layers plus I don't think I'd layed out the model UV's with a decent enough resolution for it

download:
https://drive.google.com/file/d/1HAE46Z ... sp=sharing
there's only a player flyable version (not multidecal though) and a pirate npc version at the moment (need to get back into the swing of things so i can add in proper trader and bounty hunter versions etc, totally forgotten all that shipdata.plist stuff)

the model has got a stupidly high polycount, something like 50,000 triangles or so, i just totally failed at trying to bake it down to a much lower polycount mesh, it also has a bunch of 4096x4096 pixel textures, will think about reducing those though as i don't think there's much in game benefit

I'm trying something different with the repainting, rather than just letting oolite come up with random colours i've put a few different colour schemes into some arrays in the shader and just letting oolite pick one at random, i'm not sure if these arrays are widely supported though by graphics card drivers, it seems ok on an nvidia card

oo yeah, the shader it's using isn't doing the energy conservation stuff i spotted in the oolite defult shader, i think maybe i didn;t transplant the code properly but it seemed to be killing off the more metallic surfaces and tinging things towards blue, there is a shader in the oxp that does try to do things properly like oolite, you can edit the shipdata.plist 'shaders' section to pick the other shader

will try and post a screenshot soon, hope the download link works, not used my free google drive account before, download about 40 megabytes i think
You're back! Hurrah!!
Last edited by Cholmondely on Wed Nov 25, 2020 12:21 pm, edited 1 time in total.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Griff's normalmapped ship remakes

Post by another_commander »

Griff wrote: Wed Nov 25, 2020 12:11 pm
oo yeah, the shader it's using isn't doing the energy conservation stuff i spotted in the oolite defult shader, i think maybe i didn;t transplant the code properly but it seemed to be killing off the more metallic surfaces and tinging things towards blue, there is a shader in the oxp that does try to do things properly like oolite, you can edit the shipdata.plist 'shaders' section to pick the other shader
Well done Griff, can't wait to test it in game. Regarding the energy conservation and the tinting towards blue: are you using materials that are purely metallic and have both a specular and a diffuse color (or texture) by any chance? That would be an impossible metal and could result in weird colorations like this when energy conservation is applied. If that is not it, then I may have a look at the shader later and see if I can spot something.
Post Reply