Martin Schweiger's Orbiter simulator: Archives -- April 2002

Number 31 of 70 messages in this Archive
[Date Prev] Main Index [Date Next]
[Thread Prev] Thread Index [Thread Next]

Re: Landing bug with multiple stations?



I'll give it a try after dinner, I must leave now. But..

> MATERIAL Material0
> 0.0627451 0.156863 0.180392 0.2
> 0.192157 0.47451 0.545098 0.2
> 0.898039 0.898039 0.898039 0.2 25 5
> 0 0 0 1

At the third line, isn't there one extra parameter there? I mean, what does
that last 5 mean? If I'm not missing anything that may be causing problems,
and I've seen it in all your materials... I'd remove that last figure from
there and give it a try that way. Like this:

MATERIAL Material0
0.0627451 0.156863 0.180392 0.2
0.192157 0.47451 0.545098 0.2
0.898039 0.898039 0.898039 0.2 25
0 0 0 1

This is what Orbiter's doc say on this matter:

MATERIAL <mtrl-name> material header
<dr> <dg> <db> <da> Diffuse colour (RGBA)
<ar> <ag> <ab> <aa> Ambient colour (RGBA)
<sr> <sg> <sb> <sa> <pow> Specular colour (RGBA) and specular power (float)
<er> <eg> <eb> <ea> Emissive colour (RGBA)

The power values I'm using range from 10 to 20, the higher this value, the
broader the light cone will be.

Also, before converting the mesh to .msh format, place the transparent
material in the last position of your materials in the modelling package
you're using. I've read somewhere that the transparent materials should be
placed last although I'm not sure about it, it sounds strange to me but it
may be worth giving it a try.

I'll let you know if I manage to get it working.

Regards

----- Original Message -----
From: "Roger Burton West" <roger@firedrake.org>
To: <orbiter@firedrake.org>
Sent: Tuesday, April 09, 2002 8:20 PM
Subject: Re: Landing bug with multiple stations?


> On Tue, Apr 09, 2002 at 08:06:29PM +0200, Orbital Mods wrote:
> >As for the transparent materials, the last number of each row in the
> >material file needs to be lower than 1 depending on the transparency
level
> >you want to achieve (1 = opaque). For instance:
>
> Yes, I've got that far...
>
> MATERIAL Material0
> 0.0627451 0.156863 0.180392 0.2
> 0.192157 0.47451 0.545098 0.2
> 0.898039 0.898039 0.898039 0.2 25 5
> 0 0 0 1
>
> but, when I deploy this in the simulator, it remains opaque.
>
> I've put up the sample files at http://firedrake.org/orbiter/i3.zip -
> feel free to point out what I'm doing wrong. (The three panels next to
> the mirrors should be transparent.)
>
> Roger
>
>






  • Prev by Date: Re: Landing bug with multiple stations?
  • Next by Date: Re: Non-transparent space station

  • Previous by thread: Re: Landing bug with multiple stations?
  • Next by thread: Re: Non-transparent space station

  • Main Index | Thread Index | Author Index | Archive Index

    roger@nospam.firedrake.org
    Generated: Thu Sep 12 18:12:23 GMT 2002