Oolite Bulletins

For information and discussion about Oolite.
It is currently Wed Sep 19, 2018 5:48 am

All times are UTC




Post new topic  Reply to topic  [ 72 posts ]  Go to page 1 2 3 4 5 Next
Author Message
 Post subject: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 3:19 am 
Offline
Deadly
Deadly
User avatar

Joined: Thu Feb 15, 2018 9:30 am
Posts: 211
Location: Texas
This topic was discussed in another thread between myself and montana05 and thought I'd post it here.
Something else I could do for the game and mod makers is design decals or nose art to be added to ships.
I was also wondering if it would be possible to craft a oxz that would allow players to purchase and add said art to their ships.
Thoughts?

_________________
Creativity is a gift, use it well.


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 5:09 am 
Offline
Dangerous
Dangerous
User avatar

Joined: Sun Feb 18, 2018 12:21 pm
Posts: 73
Location: Niagara, Canada
Quote:
This topic was discussed in another thread between myself and montana05 and thought I'd post it here.
Something else I could do for the game and mod makers is design decals or nose art to be added to ships.
I was also wondering if it would be possible to craft a oxz that would allow players to purchase and add said art to their ships.
Thoughts?
In a recent OXP-digging binge, I recall seeing one that did something involving adding visible ID numbers to ship's hulls; I'm afraid I don't remember the name, but if somebody can find it, that might be usable as the basis for other ship decorating.

Other than that - I wouldn't mind being able to spraypaint my board avatar onto my Oolite hulls. :)

_________________
Thank you for your time,
--
DataPacRat
"Does aₘᵢₙ=2c²/Θ ? I don't know, but wouldn't it be fascinating if it were?"


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 5:14 am 
Offline
Deadly
Deadly
User avatar

Joined: Thu Feb 15, 2018 9:30 am
Posts: 211
Location: Texas
There is also one that displays battle damage. So in theory, it should be possible.

_________________
Creativity is a gift, use it well.


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 8:35 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Aug 15, 2012 4:19 am
Posts: 2528
Location: Finland
Won't be easy. There's practically no way of generically adding stickers to ships. Griff's normalmapped ships use a custom shader to add and position decals. Aforementioned oxps also require specific models to work.


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 1:49 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon Apr 06, 2009 12:20 pm
Posts: 6310
Location: Aboard the Pitviper S.E. "Blackwidow"
Quote:
There's practically no way of generically adding stickers to ships.

Which makes me wonder if this is something that might be able to be incorporated via the core game code? I'd imagine it would be one hell of a popular feature. I'd like to see what the devs think of this idea.

_________________
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 1:52 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 13355
Location: Corke's Drift
Quote:
I'd like to see what the devs think of this idea.
<watches devs run for cover>

_________________
We pray for one last landing
On the globe that gave us birth
Let us rest our eyes on the fleecy skies
And the cool, green hills of Earth


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 3:32 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Aug 15, 2012 4:19 am
Posts: 2528
Location: Finland
Quote:
Quote:
There's practically no way of generically adding stickers to ships.

Which makes me wonder if this is something that might be able to be incorporated via the core game code? I'd imagine it would be one hell of a popular feature. I'd like to see what the devs think of this idea.
Let's brainstorm a bit. How would it work?

There needs to be a way to define decals position and orientation per model. Probably best to do in shipdata as coordinates and rotation on the diffusion map. And these would need to be defined for all models.

The decal itself would probably need some materials entry (probably with aforementioned position and orientation and possibly alpha), but it would also need a js-function to swap it. Like changing materials, but only one element of materials.

And to actually "paint" the decal to the ship needs someone with proper shader skills to modify the default shader.

So, a core change and the default shader change are required?


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 4:02 pm 
Offline
Deadly
Deadly
User avatar

Joined: Sat Jan 25, 2014 2:35 am
Posts: 211
Location: Skiing the Rice Ridge burn
Quote:
Griff's normalmapped ships use a custom shader to add and position decals. Aforementioned oxps also require specific models to work.
Seems like it might be possible to do this with ships that already have decal positions defined. Could setShaders be used to change the decal on the player's ship?
This would at least allow the player to choose a decal for a core ship, perhaps even oxp ships with decal positions defined as well.
Quote:
I was also wondering if it would be possible to craft a oxz that would allow players to purchase and add said art to their ships.
It would be cool if you did an NPC decal set, at least for the core ships.
Nice work by the way and thanks for sharing.
Quote:
Other than that - I wouldn't mind being able to spraypaint my board avatar onto my Oolite hulls.
You can do this with Griff's ships manually by replacing the griff_decals_player.png in the Oolite.oxp.Griff.Griff_shipset_decals.oxz with your own image that's the same size.

_________________
Realize collective conscious creation


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 4:16 pm 
Offline
Deadly
Deadly

Joined: Sat Aug 09, 2014 4:16 pm
Posts: 211
Quote:
So, a core change and the default shader change are required?
I don't think a core change will be needed, Griff's ships standing as a proof. The changes he's done could be extended to all the core ships. Some of his functions can actually be extracted as shader libraries.
An OXZ could deal with this, but I guess the most challenging part for an OXZ would be allowing for customizing the decals. It would be great to have an "extension" for OXZs to allow for resources to be used outside the archive, and avoid messing with OXZ unzip/re-zip.
Maybe a sort of "template" OXP could help here.


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 4:22 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Aug 15, 2012 4:19 am
Posts: 2528
Location: Finland
Quote:
Quote:
Griff's normalmapped ships use a custom shader to add and position decals. Aforementioned oxps also require specific models to work.
Seems like it might be possible to do this with ships that already have decal positions defined. Could setShaders be used to change the decal on the player's ship?
This would at least allow the player to choose a decal for a core ship, perhaps even oxp ships with decal positions defined as well.
e.
That would indeed work for example Griff's normalmapped player ships. The decal file is defined as part of the shader definition. To make this idea work with those ships, probably all that is needed is to write a script that sets the shader with setShaders and simply changes that one file name.

Interesting idea actually. Could it be that simple? :)


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 4:24 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Aug 15, 2012 4:19 am
Posts: 2528
Location: Finland
Quote:
Quote:
So, a core change and the default shader change are required?
I don't think a core change will be needed, Griff's ships standing as a proof. The changes he's done could be extended to all the core ships. Some of his functions can actually be extracted as shader libraries.
An OXZ could deal with this, but I guess the most challenging part for an OXZ would be allowing for customizing the decals. It would be great to have an "extension" for OXZs to allow for resources to be used outside the archive, and avoid messing with OXZ unzip/re-zip.
Maybe a sort of "template" OXP could help here.
A generic solution would probably need a core change, at least the core shader change. But with Griff's normalmapped ships, the work is halfway done.


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 4:32 pm 
Offline
Deadly
Deadly

Joined: Sat Aug 09, 2014 4:16 pm
Posts: 211
Quote:
A generic solution would probably need a core change, at least the core shader change. But with Griff's normalmapped ships, the work is halfway done.
True.
<notes to himself that core changes apply to Resource folder too, not only to src folder/>


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 4:37 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 13355
Location: Corke's Drift
Gotta love custom decals!

Image

_________________
We pray for one last landing
On the globe that gave us birth
Let us rest our eyes on the fleecy skies
And the cool, green hills of Earth


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 5:04 pm 
Offline
Above Average
Above Average

Joined: Sat Dec 23, 2017 4:10 am
Posts: 16
I'm almost certain that there used to be an OXP that did this, but can't find it right now.

If @Cody is referring to one, he didn't link it.

It was fairly capable, to the point that a skilled pilot could etch their initials in an NPC ship's hull with the laser...


Top
   
 Post subject: Re: Decals and Nose art.
PostPosted: Mon Feb 26, 2018 5:09 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 13355
Location: Corke's Drift
No, that's Griff's Cobra. Not the ship I fly, though - Spindrifter is one of Griff's late-model Cobras with four decals.

_________________
We pray for one last landing
On the globe that gave us birth
Let us rest our eyes on the fleecy skies
And the cool, green hills of Earth


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 72 posts ]  Go to page 1 2 3 4 5 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited