Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 581 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 4 1 2 3 4
Re: MED FX / fx to multitex models [Re: jcl] #84442
08/10/06 08:54
08/10/06 08:54
Joined: Jun 2005
Posts: 4,875
broozar Offline OP
Expert
broozar  Offline OP
Expert

Joined: Jun 2005
Posts: 4,875
tried, no change.

btw, it does not affect the whole model, with "ent_mtlset (podL, wire, 5);" it just affects the 5th skin (and only this skin is invisible, the others show up normally).

Re: MED FX / fx to multitex models [Re: broozar] #84443
08/10/06 08:56
08/10/06 08:56
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
Ok, I'll then look into the problem. Maybe it's a bug, caused by some side effect. Can you email the project to support1(at)3dgamestudio(dot)com?

Re: MED FX / fx to multitex models [Re: jcl] #84444
08/10/06 10:23
08/10/06 10:23
Joined: Jun 2005
Posts: 4,875
broozar Offline OP
Expert
broozar  Offline OP
Expert

Joined: Jun 2005
Posts: 4,875
thanks for looking at it. i gonna send you a DL link to small block test level, the left pod's almost the same as the right, the front part should have the shader applied, but it is just invisible.

Re: MED FX / fx to multitex models [Re: broozar] #84445
08/11/06 07:32
08/11/06 07:32
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
Thanks, I've downloaded the file, but it seems a wrong version. The two "pod" entities have no material assigned at all, neiher in WED nor in the script. And none of their skins has an effect. There's an ent_mtlset call in the script, but it targets a skin without texture and material, and thus does nothing. Before I look deper into this: Are you sure that you've sent the link to the correct test project?


Re: MED FX / fx to multitex models [Re: jcl] #84446
08/11/06 09:41
08/11/06 09:41
Joined: Jun 2005
Posts: 4,875
broozar Offline OP
Expert
broozar  Offline OP
Expert

Joined: Jun 2005
Posts: 4,875
-"no material assigned at all, neiher in WED nor in the script."
for reason. if i apply one, the whole entity is covered. but i use a material, i do it over the
-"ent_mtlset call in the script", and it targets the 6th skin which has an internal texture, i switched off the MED material because i had trouble with the transparency and the specularity.
however, i defined the shader for external textures (mtlSkin1 and 2), which are both defined, so it shouldn't be a problem.

"skin without texture" - can't you see anything? hm, the 6th skin is not even a shared skin. if that's the case, i have to have a deeper look at the model.

the project is my latest state of work, i already tested to assign the material in MED, assign a material to the pod actions as well as assigning in WED. the project as-is seems to me the closest to a solution, because it works fine if you replace the hlsl shader with a FFE.

[edit] after having a look at my own download package, there seems to be indeed sth wrong with my left pod. so try the right one, skin 6 is still included there, in case that is the reason.

Re: MED FX / fx to multitex models [Re: broozar] #84447
08/11/06 09:59
08/11/06 09:59
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
- If you add an effect to a skin, and this effect requires a material, you need to assign that material to the entity. Otherwise, your effect won't work of course because the material is missing.

- If you assign a material to the entity, that material must NOT contain an effect - otherwise the effect would be assigned to the whole entity, and not only to the desired skin!

I hope this makes sense?

So, use MED to add your effect to a skin - a skin with texture of course - and use WED or the script to assign the required material WITHOUT EFFECT to the entity. If you've done that, and still have problems, please post again.

Re: MED FX / fx to multitex models [Re: jcl] #84448
08/11/06 10:03
08/11/06 10:03
Joined: Jun 2005
Posts: 4,875
broozar Offline OP
Expert
broozar  Offline OP
Expert

Joined: Jun 2005
Posts: 4,875
not really, i am still having problems to understand it. however, i gonna try of course.

hm, so why are FFEs working this way?

Re: MED FX / fx to multitex models [Re: broozar] #84449
08/11/06 10:04
08/11/06 10:04
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
Because your FFE works even without material, I suppose.

Re: MED FX / fx to multitex models [Re: jcl] #84450
08/11/06 10:11
08/11/06 10:11
Joined: Jun 2005
Posts: 4,875
broozar Offline OP
Expert
broozar  Offline OP
Expert

Joined: Jun 2005
Posts: 4,875
my state now:
i assigned the "wire" material to the whole model.
it looks like what i sent you without the effect= line.
i assigned the fx directly in MED.
with or without mtlset, it still keeps being invisible.

i would be so greatful if you could post a working example of this.

Re: MED FX / fx to multitex models [Re: broozar] #84451
08/14/06 08:54
08/14/06 08:54
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
When I assign the .fx file to Skin #5 in MED, and assign the material without effect to your entity, I'm getting a grainy, flickering effect on the front flaps of the model. Is that what you want to achieve?

Page 2 of 4 1 2 3 4

Moderated by  old_bill, Tobias 

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