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

My first ship...

Off topic discussion zone.

Moderators: another_commander, winston, Cody

User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8502
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

OK, so I had a go at an emission map:

shipdata.plist looks like this:

Code: Select all

{
   "DH_Rocket" =
   {
      like_ship = "worm";
	  name = "Tycho8";
      model = "tycho8_v5_triangulated_s1.dat";
      roles = "dh_test";
	  smooth = "true";
	  emission = "blueColor";
	  
	  materials =
		{
			"tycho8_v3.png" =
			{
				diffuse_map = "tycho8_v3.png";
				emission_map = "tycho8_emission.png";
			};
		};
   };
} 
Originally my diffuse map and emission map looked like this:

Image
Image

Which lead to this:

Image

Which clearly picks up the colour of the emission map because its blue, it just doesn't seem very "emissive"

So I added the line "emission = "blueColor";" to the shipdata.plist (forgive me if the syntax is wrong - the wiki page is a bit vague if you're new to this) and then altered the diffuse to this:

Image

Which resulted in this:

Image

Which doesn't seem to be any "brighter" - so while I'm happy the green glow has gone - I have no idea what I've done wrong and why it's not "glowing"

:(
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
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 »

DaddyHoggy wrote:
So I added the line "emission = "blueColor";" to the shipdata.plist (forgive me if the syntax is wrong - the wiki page is a bit vague if you're new to this)
Syntax is correct, but:
  • Prior to 1.74, that will just darken the emission map slightly, since it’s already blue.
  • In 1.74, it won’t have any effect at all if there’s also an emission map. (Without an emission map, it will cause the whole ship to glow blue in either case.)
In any case, the problem is mostly that the emission map doesn’t cast light on the rest of the ship, and there are no bloom effects or anything. It’s just the shade of blue from the texture, even in shadow.
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8502
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Ahruman wrote:
DaddyHoggy wrote:
So I added the line "emission = "blueColor";" to the shipdata.plist (forgive me if the syntax is wrong - the wiki page is a bit vague if you're new to this)
Syntax is correct, but:
  • Prior to 1.74, that will just darken the emission map slightly, since it’s already blue.
  • In 1.74, it won’t have any effect at all if there’s also an emission map. (Without an emission map, it will cause the whole ship to glow blue in either case.)
In any case, the problem is mostly that the emission map doesn’t cast light on the rest of the ship, and there are no bloom effects or anything. It’s just the shade of blue from the texture, even in shadow.
OK - will remove the emission line - and try a lighter emission map for a more (hopefully) obvious effect. (wish the illumination map had worked - that at least felt like it glowed...)

[Thanks for holding my hand through this!]
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8502
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Hmmm, so I really do want an illumination map then don't I? Because here for example:

Image

The cockpit is brighter on the sun side than the shadow side with an emission map, but an illumination map would have it brighter than sun lit on both sides of the dome so it would genuinely appear to be "illuminated" (self lighting).

:(

So, does that leave me with just careful placement of non flashing flashers then?
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
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 »

Hmm. There’s no emission mapping going on there – there shouldn’t be any shadow on the canopy. Looks like just the original diffuse map.

You are holding down shift when reloading, right?
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8502
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Definitely.(RL(tm) dictates that I'm now taking my 8yr old to her TaekwonDo grading - more later)
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8502
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

As a Klingon would say - "Qapla!"

The .dat file was still contained all the info to the original texture file - a quick search and replace to the new texture and as if my magic...

An illumination mapped Tycho 8 appears.

Image

Image

Right - now just to get it flying around as intended - there will be more questions (lots more questions, so stay tuned!)

Thanks for all the help so far!
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8502
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

For those on Facebook (and possibly for those who aren't (as I ticked the "everybody" in the sharing option) a free FRAPS max length video (i.e. 30s). Still static, but my flickering nacelles and engine don't show up so good in the video but look v. good in game.

http://www.facebook.com/video/video.php ... 4844153338
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
snork
---- E L I T E ----
---- E L I T E ----
Posts: 551
Joined: Sat Jan 30, 2010 4:21 am
Location: northern Germany

Post by snork »

only for the ones on facebook I am afraid. (I am asked to log in.)

While I am here - You often have access to the coolest hardware. Any chance that at work you can get your hands on a Pandora ?
(and run Oolite on it, of course.)

(wow, the link works)
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8502
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

snork wrote:
only for the ones on facebook I am afraid. (I am asked to log in.)

While I am here - You often have access to the coolest hardware. Any chance that at work you can get your hands on a Pandora ?
(and run Oolite on it, of course.)

(wow, the link works)
My German is not so good! Short answer, no. Longer answer, you never know...
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8502
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

snork wrote:
only for the ones on facebook I am afraid. (I am asked to log in.)

While I am here - You often have access to the coolest hardware. Any chance that at work you can get your hands on a Pandora ?
(and run Oolite on it, of course.)

(wow, the link works)
I'm guessing "everybody" in this case means "everybody on Facebook".
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8502
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

This static link to the video might work...

http://static.ak.fbcdn.net/rsrc.php/z4O ... 71344&ev=0
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
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 »

About the pandora, it uses a TI processor - which I don't believe is x86 compatible - so the only way to run Oolite on it is if someone manages to port it to that platform. I notice there's a selection of FPS games for it already, so it might not be too much of an uphill struggle... :)

PS: just noticed: the first batch has been made - and in the UK! Way to go! ;)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
snork
---- E L I T E ----
---- E L I T E ----
Posts: 551
Joined: Sat Jan 30, 2010 4:21 am
Location: northern Germany

Post by snork »

DaddyHoggy wrote:
My German is not so good! Short answer, no. Longer answer, you never know...
dang!
Sorry, I do this every now and then - with too many opened tabs, or going back and forth German-English-Whatever wikipedia in one tab, every now and then I do this. :headbang:

Anyway, I saw these gadgets and thought maybe you might want to look at them. It doesn't really look like your Tycho 8, but still made me think of it.

Thank you, Smivs!
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8502
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

snork wrote:
DaddyHoggy wrote:
My German is not so good! Short answer, no. Longer answer, you never know...
dang!
Sorry, I do this every now and then - with too many opened tabs, or going back and forth German-English-Whatever wikipedia in one tab, every now and then I do this. :headbang:

Anyway, I saw these gadgets and thought maybe you might want to look at them. It doesn't really look like your Tycho 8, but still made me think of it.

Thank you, Smivs!
Yeh, I can see how - kind of 1950s idea of "space/flying cars" and Tycho 8 is quite retro (1940s Buck Rogers-esque)
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
Post Reply