The mote in my eye

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

Moderators: winston, another_commander

Post Reply
Greyth
---- E L I T E ----
---- E L I T E ----
Posts: 286
Joined: Wed Feb 08, 2012 1:57 am

The mote in my eye

Post by Greyth »

Chaps,

The dust motes that get longer as I go faster... can they be altered by OXP?
Oolite 1.76
Debian 6 : Ubuntu 12.04
NVidia 6200 : Radeon/AMD thang
Abit AN7 : Packard Bell TJ74
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: The mote in my eye

Post by JensAyton »

If you have shaders (and are not using an Intel GMA 900/950 integrated GPU), the dust rendering can be modified by replacing oolite-dust.vertex/oolite-dust.fragment.
Greyth
---- E L I T E ----
---- E L I T E ----
Posts: 286
Joined: Wed Feb 08, 2012 1:57 am

Re: The mote in my eye

Post by Greyth »

I don't have shaders... (well, I think the Radeon 9000 does but not in Linux) :'( Thanks for your distillation Ahruman
Oolite 1.76
Debian 6 : Ubuntu 12.04
NVidia 6200 : Radeon/AMD thang
Abit AN7 : Packard Bell TJ74
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: The mote in my eye

Post by Gimi »

Greyth wrote:
I don't have shaders... (well, I think the Radeon 9000 does but not in Linux) :'( Thanks for your distillation Ahruman
The Oolite log file will tell you if you have shaders, and whether you have full or simple shaders.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
Greyth
---- E L I T E ----
---- E L I T E ----
Posts: 286
Joined: Wed Feb 08, 2012 1:57 am

Re: The mote in my eye

Post by Greyth »

Thanks Gimi, but anything to do with ATI is rarely so simple

From the log...
13:11:23.712 [rendering.opengl.shader.support]: Shaders will not be used (OpenGL extension GL_ARB_shading_language_100 is not available).

From the Wikki...
This design included ATI's first programmable pixel shader architecture and introduced the more advanced pixel shader 1.4

From the heart...
I glean that if I run the proprietary driver then shaders will work, but the drivers from ATI no longer work under recent distro's of Linux, I've forgotten precisely why. In more recent ATI drivers that do work with (L/X)Ubuntu support for this card has been dropped. The only driver working is the open source driver in which shaders are not implemented. Also if I were to run XP again the shaders would work, but I quit that habit and don't really want to start it again :/
Oolite 1.76
Debian 6 : Ubuntu 12.04
NVidia 6200 : Radeon/AMD thang
Abit AN7 : Packard Bell TJ74
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: The mote in my eye

Post by JensAyton »

Greyth wrote:
This design included ATI's first programmable pixel shader architecture and introduced the more advanced pixel shader 1.4
“Pixel shader 1.4” is a more primitive kind of shader than the GLSL shaders used by Oolite. (It’s a DirectX 8 shader type, while GLSL corresponds to DirectX 9 and later.)
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: The mote in my eye

Post by Gimi »

Greyth wrote:
Thanks Gimi, but anything to do with ATI is rarely so simple

From the log...
13:11:23.712 [rendering.opengl.shader.support]: Shaders will not be used (OpenGL extension GL_ARB_shading_language_100 is not available).

From the Wikki...
This design included ATI's first programmable pixel shader architecture and introduced the more advanced pixel shader 1.4

From the heart...
I glean that if I run the proprietary driver then shaders will work, but the drivers from ATI no longer work under recent distro's of Linux, I've forgotten precisely why. In more recent ATI drivers that do work with (L/X)Ubuntu support for this card has been dropped. The only driver working is the open source driver in which shaders are not implemented. Also if I were to run XP again the shaders would work, but I quit that habit and don't really want to start it again :/
Sorry, I misunderstood. I'm acutely aware of ATI/AMD cards shortfalls when it comes to OpenGL compatibility. (Acquisition of new ATI/AMD cards is no longer allowed in my home. So if my children, who are of an age where they save up to buy their own computers, want my help to set things up, they have to buy nVidia.)
I was just pointing out that the log will tell you if shaders are activated in Oolite. I guess you already knew that.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
Greyth
---- E L I T E ----
---- E L I T E ----
Posts: 286
Joined: Wed Feb 08, 2012 1:57 am

Re: The mote in my eye

Post by Greyth »

Heh! :lol: Wish I'd known that before spending blummin' hours trying to get the begger working! Thanks, it's good to understand why they are not implemented these days.

[edit] I too have made a solemn vow to eschew further sufference of ATI products! :shock: [/edit]
Oolite 1.76
Debian 6 : Ubuntu 12.04
NVidia 6200 : Radeon/AMD thang
Abit AN7 : Packard Bell TJ74
Greyth
---- E L I T E ----
---- E L I T E ----
Posts: 286
Joined: Wed Feb 08, 2012 1:57 am

Re: The mote in my eye

Post by Greyth »

Chaps, I've read thru the 'How to' on OXP's but it's not sinking in despite being well written... so... I doubt if I will ever produce an OXP but would like to contribute.

A few years ago I messed around in Blitz Basic and came up with something that did dust motes that looked like 'smears'. I thought they matched the description in the Dark Wheel and I remember being very proud of myself indeed.

I constructing a multi layered shell around the players ship with z scale increasing towards the ship and texturing each with a transparent map with some coloured dots on it (rotating each shell slightly to avoid ubiquity) and then repositioning the texture in increments related to the ship's speed whilst scaling the shells in the z axis again by a factor derived from the speed of the ship. Again the opacity of the shells is a factor derived from ship speed - transparency starting at 'invisible' and working towards complete opacity as the ship approaches top speed.

Because the Z scale on the inner shell was greater than the outer shell the texture appears to slide faster on the inner shells.

Anyone here messed with BlitzBasic? I have some code somewhere that should function still and will happily donate it to 'the cause'.
Oolite 1.76
Debian 6 : Ubuntu 12.04
NVidia 6200 : Radeon/AMD thang
Abit AN7 : Packard Bell TJ74
Post Reply