Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AbrahamR, AndrewAMD, ozgur), 763 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: mdl problems exporting from max [Re: jcl] #93088
10/05/06 11:43
10/05/06 11:43
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
I'm not sure about the exporter you are using but It happens often when I import .3ds models that the models usualy DO have groups and materials assigned to them. Much of the time too the alpha will be set below 100 ( usualy at 0)

here is an example I'll show you

I downloaded a model of the spaceship from the Planet of the Apes movie (Charlton Heston version) that was in .3ds format

Imported it into MED.



Has many groups and materials already in it.



All the groups materials Alpha is set to 0 from the importing, so I would have to go through and manualy reset all the alpha values.


Your importer is probably doing the same thing, assigning an alpha value to each material/skin/group that is below 100

Re: mdl problems exporting from max [Re: Grimber] #93089
10/05/06 13:47
10/05/06 13:47
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
I'm using malabar exporter too and having the same
problem all the time, the workaround is set the flare
flag to off :

action myModel
{
my.flare = off;
}

Re: mdl problems exporting from max [Re: vlau] #93090
10/05/06 15:12
10/05/06 15:12
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
has to be a transparency issue then someplace. since my.flare=on sets transparency to 50%

got one of them imported models that is got problems that you can upoload? can look at it then


Last edited by Grimber; 10/05/06 15:13.
Re: mdl problems exporting from max [Re: Grimber] #93091
10/05/06 17:30
10/05/06 17:30
Joined: Oct 2003
Posts: 94
bs_twinbits Offline OP
Junior Member
bs_twinbits  Offline OP
Junior Member

Joined: Oct 2003
Posts: 94
First I will say thanks to you Grimber and you vlau.
Thank you JCL, moving my thread to the beginners forum, thanks for your bad doing!
Ok Grimber, it's not a problem of the malabar exporter, the Alpha is still 100% after exporting. In earlier version of A6 the exporter form malabar makes no problems. So something must be changed in the engine, that this happens with the mdl models.
So vlau I will try your workaround. Thanks to both of you.
Bernd

Re: mdl problems exporting from max [Re: bs_twinbits] #93092
10/05/06 18:33
10/05/06 18:33
Joined: Oct 2003
Posts: 94
bs_twinbits Offline OP
Junior Member
bs_twinbits  Offline OP
Junior Member

Joined: Oct 2003
Posts: 94
Hi vlau...
I used your workaround, but it changed nothing. The problem still exists and also, my models have no shadows.
Bernd

Re: mdl problems exporting from max [Re: bs_twinbits] #93093
10/05/06 19:50
10/05/06 19:50
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
Mmmm.... First, it works for me. To settle the problem,
I suggest you draw a simple cube in Max, assign a diffuse
map to your model then export it again.

Re: mdl problems exporting from max [Re: vlau] #93094
10/06/06 04:58
10/06/06 04:58
Joined: Oct 2003
Posts: 94
bs_twinbits Offline OP
Junior Member
bs_twinbits  Offline OP
Junior Member

Joined: Oct 2003
Posts: 94
Sure I will do it, at the weekend I have time enough to test something.
We will see what happens and I will report you what I find out.
Bernd

Re: mdl problems exporting from max [Re: bs_twinbits] #93095
10/06/06 11:09
10/06/06 11:09
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
I have made a model with my.flare = off, and reproduce
the transparent problem similar to yours like the following
picture :



Fortunately, I found the following codes that was posted by
other forum member (sorry, forgot his name) and solve the
z-order problem.



Code:

material right_alpha_mat
{
effect =
"
technique right_alpha1
{
pass p0
{
zWriteEnable=true;
alphaTestEnable=true;
}
}
";
}

action right_alpha_acc
{
my.material = right_alpha_mat;
my.shadow = on;
}



If it still doesn't solve your problem, send your model
to MALABAR, may be he has a solution.

Good luck!

Re: mdl problems exporting from max [Re: vlau] #93096
10/06/06 19:29
10/06/06 19:29
Joined: Oct 2003
Posts: 94
bs_twinbits Offline OP
Junior Member
bs_twinbits  Offline OP
Junior Member

Joined: Oct 2003
Posts: 94
Hi vlau...thank you for your help!
I found out what the problem is. It's easy when you knew it, but until now I used only an older version of my A6 Prof. engine. So I did one export with the malabar export plugin and the same model again with an older export plugin for max. The goal was, that the export with the older exporter makes no prblems. So I'm searching the differens between these both models and found out, that malabar exporter sets the skin to 32 Bit by default. In MED you can open the skin settings now and change them to 16 Bit. 32 Bit skin A6 reads as a skin with Alpha.
So at the screens you can see my prototype actor with shadow and no transparency.Also the other MDL's are shown with shadows and in right sorting now.
Bernd










Re: mdl problems exporting from max [Re: bs_twinbits] #93097
10/06/06 19:39
10/06/06 19:39
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
Ah, thats great!! its much better
than writing codes.

Page 2 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1