Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (Quad, AndrewAMD, EternallyCurious, 7th_zorro), 511 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Panel based, autoresizing, fullscreen filmgrai [Re: Orange Brat] #43324
09/03/06 13:13
09/03/06 13:13
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Uhm did you wrote that?

Code:
material mat_grain
{
ambient_blue = 255;
ambient_green = 255;
ambient_red = 255;

diffuse_red = 255;
diffuse_green = 255;
diffuse_blue = 255;

specular_blue = 255;
specular_green = 255;
specular_red = 255;

emissive_blue = 255;
emissive_green = 255;
emissive_red = 255;

albedo = 200;
power = 100;

event = mat_effUVinit;
effect = "grain.fx";
}



and the effect into the fx file?

The UV effect material works here fine on my machine..

Re: Panel based, autoresizing, fullscreen filmgrai [Re: HeelX] #43325
09/03/06 16:41
09/03/06 16:41
Joined: Jun 2005
Posts: 4,875
broozar Offline
Expert
broozar  Offline
Expert

Joined: Jun 2005
Posts: 4,875
i'd love a screenie of it..

Re: Panel based, autoresizing, fullscreen filmgrai [Re: broozar] #43326
09/03/06 20:32
09/03/06 20:32
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline OP

Senior Expert
Orange Brat  Offline OP

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
I simply added the effect directly to the mat_grain material. My video card is a GeForce FX 5200.

Code:

material mat_grain
{
ambient_blue = 255;
ambient_green = 255;
ambient_red = 255;

diffuse_red = 255;
diffuse_green = 255;
diffuse_blue = 255;

specular_blue = 255;
specular_green = 255;
specular_red = 255;

emissive_blue = 255;
emissive_green = 255;
emissive_red = 255;

albedo = 200;
power = 100;

event = mat_effUVinit;
effect = "
matrix matMtl;

technique effUVspeed
{
pass one
{
TextureTransformFlags[0] = Count2;
TextureTransform[0] = <matMtl>;
}
}
technique fallback { pass one { } }
";
}



Here's a screenshot using the .u and .v. You may not even be able to tell, but it's very noticeable during gameplay. The transparent vertical streaks are rain drops:

http://www.geocities.com/hainesrs/game/shot_0.jpg


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: Panel based, autoresizing, fullscreen filmgrai [Re: Orange Brat] #43327
09/03/06 21:27
09/03/06 21:27
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Nice to see it in action .. or in a still

Well, I'm not sure wether it works on NVidia cards or not. I just took it from the template wdl.. too bad that all computer here at home own ATI card. I can test it for you tomorrow perhaps.

Re: Panel based, autoresizing, fullscreen filmgrai [Re: HeelX] #43328
09/04/06 05:16
09/04/06 05:16
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline OP

Senior Expert
Orange Brat  Offline OP

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
I'm sure it does work on them if you culled it from the new template. I'd better be able to get it to work because as of the next version, U and V shifting is out of the engine:

Quote:

The undocumented texture shifting by u,v parameters was discontinued for models (it still works for sprites). For texture shifting apply the fx_uvspeed action from the mtlFX template, which is faster and easier to use than u,v parameters. The uv shifting effect also works with the Standard and Extra editions.




I suppose I could always just do it with the texture itself and use a filmgrain sprite instead of a model.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: Panel based, autoresizing, fullscreen filmgrai [Re: Orange Brat] #43329
09/04/06 08:00
09/04/06 08:00
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
I suppose I could always just do it with the texture itself and use a filmgrain sprite instead of a model.

Yes! I did'nt thought about that. The only thing you should really do is the .x-modification relative to the arc.

Re: Panel based, autoresizing, fullscreen filmgrai [Re: HeelX] #43330
09/16/07 20:37
09/16/07 20:37
Joined: Sep 2007
Posts: 36
Spain
Bahamut Offline
Newbie
Bahamut  Offline
Newbie

Joined: Sep 2007
Posts: 36
Spain
Can you please fix the link to the filmgrain code? Thanks!


Working in a RPG
Re: Panel based, autoresizing, fullscreen filmgrai [Re: Bahamut] #43331
09/16/07 21:55
09/16/07 21:55
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Quote:

Can you please fix the link to the filmgrain code? Thanks!




I will check this out tomorrow. Thanks.

Re: Panel based, autoresizing, fullscreen filmgrai [Re: HeelX] #43332
09/21/07 10:24
09/21/07 10:24
Joined: Sep 2007
Posts: 36
Spain
Bahamut Offline
Newbie
Bahamut  Offline
Newbie

Joined: Sep 2007
Posts: 36
Spain
Did you check this? I still cannot download...


Working in a RPG
Re: Panel based, autoresizing, fullscreen filmgrai [Re: Bahamut] #43333
09/21/07 10:56
09/21/07 10:56
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
The file was linked to my old server and I deleted it.

Here is the corrected link:

http://www.christian-behrenberg.de/archi...006-09-02_1.rar

Page 2 of 2 1 2

Moderated by  adoado, checkbutton, mk_1, Perro 

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