The usual translucency question

A quiet place for budding model makers to share thoughts, get answers to questions and request and share references.

Moderators: Guru's, The Ministry

User avatar
decapod
Viscount
Viscount
Posts: 110
Joined: 15 Oct 2007, 15:03
Location: Carshalton, Surrey
Contact:

The usual translucency question

Post by decapod »

Both wheels disappear when behind the prop (FS9 version only, "true" FSX model is OK)
Being a 3D programmer I know the cause of this (Z buffer writing or wrong alpha sorting) but can it be turned off for the prop disc?

Image
Paul Gausden
~~~~~~~~~~~
3D modelling blog - http://decapod99.wordpress.com/

User avatar
Rick Piper
The Gurus
Posts: 4773
Joined: 18 Jun 2004, 17:20
Location: In front of screen learning 3ds max :/ ...............Done it :)

Re: The usual translucency question

Post by Rick Piper »

Hi Paul

this is how i do it using FSDS3.51 (yours may differ)

Make sure the Prop material is named Prop_******
same for the texture

set the frame buffer blend to
source=SrcAlpha
dest=InvSrcAlpha

then it should work ok

Regards
Rick

User avatar
decapod
Viscount
Viscount
Posts: 110
Joined: 15 Oct 2007, 15:03
Location: Carshalton, Surrey
Contact:

Re: The usual translucency question

Post by decapod »

Ta Rick,

I'm using 3D canvas, .X file export to MakeMDL.
I suspect the prop material may fix the problem, we have no control over frame buffer blending with the .X file

Since I posted I have had one more idea - The wheels appear at the end of the .X file export so they are probably drawn last. If I can change the drawing order it should also fix the problem.
Paul Gausden
~~~~~~~~~~~
3D modelling blog - http://decapod99.wordpress.com/

User avatar
Rick Piper
The Gurus
Posts: 4773
Joined: 18 Jun 2004, 17:20
Location: In front of screen learning 3ds max :/ ...............Done it :)

Re: The usual translucency question

Post by Rick Piper »

Hi Paul

Yes mate i would cut & paste the prop disc and that will place it at the end of the build list.

sorry not made FS9 stuff for 2 years now as i moved straight to FSX native as it's a very different in proccess when you use FSDS

Regards
Rick

User avatar
decapod
Viscount
Viscount
Posts: 110
Joined: 15 Oct 2007, 15:03
Location: Carshalton, Surrey
Contact:

Re: The usual translucency question

Post by decapod »

Oddly I've gone the other way :)

I started with FSX, wrote the 3D canvas exporter, then found there was a demand for the FS9 version.
It only takes a few mins to "downgrade" the FSX model and export.

Hopefully everyone will be using FSX in a few years time ;-) ;-)
Paul Gausden
~~~~~~~~~~~
3D modelling blog - http://decapod99.wordpress.com/

User avatar
Fodda
Vulcan
Vulcan
Posts: 439
Joined: 10 Nov 2004, 14:03
Location: Bristol, England.

Re: The usual translucency question

Post by Fodda »

That really is a good looking model there Paul. Nice to see your train sim talents being put to even better use mate.
Image

SkippyBing
Concorde
Concorde
Posts: 1460
Joined: 30 Aug 2006, 18:21

Re: The usual translucency question

Post by SkippyBing »

When I did the FS9 Ark, I named all the transparent materials Z_whatever which seemed to make the problem go away. I can only assume materials are drawn in alphabetical order!
Image

User avatar
decapod
Viscount
Viscount
Posts: 110
Joined: 15 Oct 2007, 15:03
Location: Carshalton, Surrey
Contact:

Re: The usual translucency question

Post by decapod »

Order is very important - lots of things for me to try out this evening :thumbsup:

While I'm thinking of it, is there a reason I can't see a VC with this model?
(Currently nothing appears in the VC view)

In FSX you just declare a VC interior model and it works. With FS9 do I need to include a $XXX texture in the model to indicate a VC exists? I can't find anything in the config files.
Paul Gausden
~~~~~~~~~~~
3D modelling blog - http://decapod99.wordpress.com/

tgibson
Viscount
Viscount
Posts: 135
Joined: 18 Jan 2007, 20:09

Re: The usual translucency question

Post by tgibson »

Hi,

One more thing to play with. Make the material for the blurred prop have less than 100% opacity. MakeMDL automatically compiles all the transparent objects at the end of the process. Even a little transparency should fix it.

Hope this helps,
Tom Gibson

Cal Classic Propliner Page
http://www.calclassic.com

User avatar
decapod
Viscount
Viscount
Posts: 110
Joined: 15 Oct 2007, 15:03
Location: Carshalton, Surrey
Contact:

Re: The usual translucency question

Post by decapod »

Brilliant! - Thanks Tom, a tiny bit of tranlucency on the material fixed the problem and also fixed the ground shadow problem I was having with the blurred prop.
Paul Gausden
~~~~~~~~~~~
3D modelling blog - http://decapod99.wordpress.com/

Post Reply