Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 10:32
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
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 604 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[Tutorial] Making a motion blur >> NO SHADERS USED #128596
05/08/07 10:32
05/08/07 10:32
Joined: Oct 2006
Posts: 179
ExtraCortex Offline OP
Member
ExtraCortex  Offline OP
Member

Joined: Oct 2006
Posts: 179
Use this code:


view second_camera
{
pos_x = 0;
pos_y = 0;
alpha = 40;// Rode com este valor
flags = transparent, visible;
}


//Here is when the game begins
starter camera_blur()
{
camera.transparent = on;
camera.alpha = 30;// Rode com este valor
second_camera.size_x = screen_size.x;
second_camera.size_y = screen_size.y;
while (1)
{
wait (2);
second_camera.x = camera.x;
second_camera.y = camera.y;
second_camera.z = camera.z;
second_camera.pan = camera.pan;
second_camera.tilt = camera.tilt;
second_camera.roll = camera.roll;
}
}

Re: [Tutorial] Making a motion blur >> NO SHADERS [Re: ExtraCortex] #128597
05/08/07 11:48
05/08/07 11:48
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
yeah... you can use even 4 cameras... but don't forgett about framerate in this case... becouse everything must be rendered twice.
But nice idea


Never say never.
Re: [Tutorial] Making a motion blur >> NO SHADERS [Re: tompo] #128598
05/08/07 14:36
05/08/07 14:36
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
This will also make all models transparent though.

This works, but not so good...


xXxGuitar511
- Programmer
Re: [Tutorial] Making a motion blur >> NO SHADERS [Re: xXxGuitar511] #128599
05/08/07 20:42
05/08/07 20:42
Joined: Jun 2005
Posts: 4,875
broozar Offline
Expert
broozar  Offline
Expert

Joined: Jun 2005
Posts: 4,875
and no particles will be displayed at all. bad idea.


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