Page 141 of 160

Re: Griff's normalmapped ship remakes

Posted: Wed Jul 09, 2014 9:56 pm
by Tichy
Thank you :)

Re: Griff's normalmapped ship remakes

Posted: Thu Jul 17, 2014 2:00 am
by phkb
Griff,
I've downloaded the latest versions of Moray, Thargoid and Tharglet, but I'm getting these errors in the log:

Code: Select all

  11:53:49.120 [shader.compile.failure]: ***** ERROR: GLSL fragment shader compilation failed for griff_morayMED_npc.fragment:
>>>>> GLSL log:
ERROR: 2:148: '=' :  cannot convert from '4X4 (default)row_major matrix of float' to 'float'
11:53:49.121 [shader.load.failed]: ***** ERROR: Could not build shader griff_normalmap_ships_with_EnvMap.vertex/griff_morayMED_npc.fragment.
11:53:49.191 [files.notFound]: ----- WARNING: Could not find texture file "Hull".
  11:56:30.059 [shader.compile.failure]: ***** ERROR: GLSL fragment shader compilation failed for griff_thargoid.fragment:
>>>>> GLSL log:
ERROR: 2:119: '=' :  cannot convert from '4X4 (default)row_major matrix of float' to 'float'
ERROR: 2:154: 'irid' : undeclared identifier 
ERROR: 2:155: 'y' : vector field selection out of range 
ERROR: 2:156: 'z' : vector field selection out of range 
11:56:30.059 [shader.load.failed]: ***** ERROR: Could not build shader griff_thargoid.vertex/griff_thargoid.fragment.
11:56:30.113 [files.notFound]: ----- WARNING: Could not find texture file "Hull".
  11:56:30.123 [shader.compile.failure]: ***** ERROR: GLSL fragment shader compilation failed for griff_tharglet.fragment:
>>>>> GLSL log:
ERROR: 2:117: '=' :  cannot convert from '4X4 (default)row_major matrix of float' to 'float'
ERROR: 2:151: 'irid' : undeclared identifier 
ERROR: 2:152: 'y' : vector field selection out of range 
ERROR: 2:153: 'z' : vector field selection out of range 
11:56:30.123 [shader.load.failed]: ***** ERROR: Could not build shader griff_thargoid.vertex/griff_tharglet.fragment.
11:56:30.175 [files.notFound]: ----- WARNING: Could not find texture file "Hull".
Is this something I've done wrong? Have I missed a download somewhere?

Re: Griff's normalmapped ship remakes

Posted: Fri Jul 18, 2014 7:10 pm
by Griff
oh heck, sorry about that :oops: - the error is from me having misunderstood how to multiply a single floating point number by a matrix that was expecting there to be four floating point numbers passing through it - i thought i'd been through all my OXPs and fixed this a week or so ago but it looks like these ones slipped through the net, thanks for flagging them up :D
I've fixed the shaders and re-uploaded the oxp's to the "Core shipset for Oolite v1.80 folder" over at box.com - fixed versions numbers are

Code: Select all

Griff_Thargoid_v1.04.1
Griff_Moray_v1.04.4
Griff_Tharglet_v1.04.1

Re: Griff's normalmapped ship remakes

Posted: Fri Jul 18, 2014 7:21 pm
by Zireael
That fixed the black Morays I was getting in F3 screen.

However, I've got more to report: Boa Class Cruiser, Cobra MK I, Gecko and Sidewinder are all coming up black in my F3 screen. More of the same? I believe these are all the newest versions from your box: Boa Mk 2 1.04.1, Cobra Mk 1 1.04.1, Gecko 1.04.1, Sidewinder 1.04.1.

Re: Griff's normalmapped ship remakes

Posted: Fri Jul 18, 2014 8:44 pm
by Griff
I think those might be the versions released just before this recent fix for the broken 'contrast' function, the latest versions of those ships is

Code: Select all

Griff_Boa_Mk2_v1.04.2.zip
Griff_Cobra_Mk1_v1.04.2.zip
Griff_Gecko_v1.04.2.zip
Griff_Sidewinder_v1.04.2.zip
the only change being an edit to the fragment shader to fix the error I made in the 'contrast' function in the fragment shaders

Re: Griff's normalmapped ship remakes

Posted: Fri Jul 18, 2014 8:57 pm
by Cody
Griff - when I extract the Griff_Gecko_v1.04.2.zip, the OXP inside is Griff_Gecko_v1.04.1.oxp <scratches head>

Re: Griff's normalmapped ship remakes

Posted: Fri Jul 18, 2014 9:01 pm
by Griff
I think that must have been me forgetting to update the name on the oxp folder, I've just checked what's up on box - it's got the fix for the contrast function in so you don't need to re-download that one Cody :)

Re: Griff's normalmapped ship remakes

Posted: Fri Jul 25, 2014 6:57 pm
by spara
Would it be possible to release an upgrade pack to the core ships just giving the default models the old custom shaders and stuff? Bringing the default models to the level of the old replacement pack.

Reason: When like-shipping the core ships the current suppressor solution won't give the current primary shipset. I understand that suppressing is for compatibility, so that oxps can safely like_ship the custom ships and get the model they are expecting. That's fine and that's how it should be.

If this sounds like a sensible idea, I can do the monkey work and convert the old replacement pack to do this.

Re: Griff's normalmapped ship remakes

Posted: Mon Aug 04, 2014 2:30 pm
by spara
Finally got the setup to my liking. Maybe now I can go back to actually playing the game :D .

I installed Griff's core ships for 1.80 and a couple things bothered me so much that I just had to do something.

Firstly, it's not a replacement shipset as such, it just suppresses the core ships. This means that every time an oxp like_ships a core ship, it get's a core ship, not the ultra cool looking new Griff custom shadered beauty. So I made an oxp that like_ships all suppressed ships (and player ships too) to Griff ships. Problem solved :D . Note that this requires you to install practically everything from Griff's Core Shipset for 1.80 folder from his box. Download: https://app.box.com/s/w2gj2djzdoz56e4criv3 (~1KB)

Secondly, the asteroids are not done yet and as a full time miner I want to see more different kinds of rocks. There's a lot of rocks in the old replacement oxp, but it's not really a good idea to install that. It will mess with your just installed Core Shipset for 1.80 in more that one way. So I have simply ripped Griff's rocks out of it and renamed the files that would conflict. Namely Griff's vertex-shader seems to have changed, although it's still named griff_normalmap_ships.vertex. See a couple of posts ahead.

These are 100% unofficial oxps that are meant for your refreshment only and will not be available from the expansion manager. At least not by me anyway. My game definitely looks better with these.

Re: Griff's normalmapped ship remakes

Posted: Mon Aug 04, 2014 2:34 pm
by Cody
spara wrote:
... the asteroids are not done yet and as a full time miner I want to see more different kinds of rocks. There's a lot of rocks in the old replacement oxp, but it's not really a good idea to install that. It will mess with your just installed Core Shipset for 1.80 in more that one way.
I have Griff's standalone Asteroids OXP working fine alongside his 1.80 OXPs.

Re: Griff's normalmapped ship remakes

Posted: Mon Aug 04, 2014 2:40 pm
by spara
Cody wrote:
spara wrote:
... the asteroids are not done yet and as a full time miner I want to see more different kinds of rocks. There's a lot of rocks in the old replacement oxp, but it's not really a good idea to install that. It will mess with your just installed Core Shipset for 1.80 in more that one way.
I have Griff's standalone Asteroids OXP working fine alongside his 1.80 OXPs.
I must be blind. Where would that be available, I don't see it in Griff's box?

Re: Griff's normalmapped ship remakes

Posted: Mon Aug 04, 2014 2:46 pm
by Cody
spara wrote:
I must be blind. Where would that be available, I don't see it in Griff's box?
<grins> They're in the secret stash [snip] take your pick!

Re: Griff's normalmapped ship remakes

Posted: Mon Aug 04, 2014 2:49 pm
by spara
Cody wrote:
spara wrote:
I must be blind. Where would that be available, I don't see it in Griff's box?
<grins> They're in the secret stash, either this one or this one (the latter is smaller and newer) - take your pick!
Oh my, wish I had known they existed _before_ I ripped the old all-in-one open. Thank you, much appreciated. Maybe put a link somewhere public, like wiki :wink: ?

Re: Griff's normalmapped ship remakes

Posted: Mon Aug 04, 2014 2:53 pm
by Cody
spara wrote:
Thank you, much appreciated. Maybe put a link somewhere public, like wiki?
That'd be up to Griff, and I think he might be working on an updated version anyway - Griff?

Re: Griff's normalmapped ship remakes

Posted: Mon Aug 04, 2014 8:18 pm
by StathisR
spara wrote:
So I made an oxp that like_ships all suppressed ships (and player ships too) to Griff ships. Problem solved :D . Note that this requires you to install practically everything from Griff's Core Shipset for 1.80 folder from his box. Download: https://app.box.com/s/w2gj2djzdoz56e4criv3 (~1KB)

[
This replaces the suppressor OXP?