Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (AndrewAMD, fogman, Grant, juanex), 972 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Timer variable #298460
11/15/09 10:20
11/15/09 10:20
Joined: Jun 2009
Posts: 27
Bosnia and Herzegovina, Saraje...
C
CharlieAmer Offline OP
Newbie
CharlieAmer  Offline OP
Newbie
C

Joined: Jun 2009
Posts: 27
Bosnia and Herzegovina, Saraje...
What is the name of variable changed by time ??? like timer() in lite-c. In d3d variable is called Time, but this engine is not recognizing it.

Re: Timer variable [Re: CharlieAmer] #298461
11/15/09 10:26
11/15/09 10:26
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
there is no variable changed by time, but time_frame is the exact time that the kast frame took to be rendered. you can write a function to add up time_frame so that variable changes by the time. (there is also time_step, check the manual)


3333333333
Re: Timer variable [Re: Quad] #298463
11/15/09 10:51
11/15/09 10:51
Joined: Jun 2009
Posts: 27
Bosnia and Herzegovina, Saraje...
C
CharlieAmer Offline OP
Newbie
CharlieAmer  Offline OP
Newbie
C

Joined: Jun 2009
Posts: 27
Bosnia and Herzegovina, Saraje...
I am talking about shaders ... is there any variable in shaders language changed by time ? if not, is there any way that I can pass it to shader from main script ???

Re: Timer variable [Re: CharlieAmer] #298464
11/15/09 10:57
11/15/09 10:57
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
yes, that's all explained in manual.
http://www.conitec.net/beta/shader-var.htm


3333333333
Re: Timer variable [Re: Quad] #298466
11/15/09 11:30
11/15/09 11:30
Joined: Jun 2009
Posts: 27
Bosnia and Herzegovina, Saraje...
C
CharlieAmer Offline OP
Newbie
CharlieAmer  Offline OP
Newbie
C

Joined: Jun 2009
Posts: 27
Bosnia and Herzegovina, Saraje...
any other way ? my version is 7.25 xD

Re: Timer variable [Re: CharlieAmer] #298472
11/15/09 11:55
11/15/09 11:55
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
the other ways could possibly be not using WAREZ or if you already dont, update to 7.80, updates are free to those who PURCHASED a license.

Last edited by Quadraxas; 11/15/09 11:55.

3333333333
Re: Timer variable [Re: Quad] #298481
11/15/09 13:40
11/15/09 13:40
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Look up "vecTime" in the manual.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!

Moderated by  Blink, Hummel, Superku 

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