Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by TipmyPip. 02/24/26 08:49
ZorroGPT
by TipmyPip. 02/23/26 21:52
WFO Training with parallel cores Zorro64
by Martin_HH. 02/23/26 15:29
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, Martin_HH), 5,303 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 6 1 2 3 4 5 6
Re: Easy animations [Re: EvilSOB] #326595
06/01/10 19:31
06/01/10 19:31
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
EvilSOB what are you talking about? grin Yep ent_animate(my,"walk",walk_,ANM_CYCLE,0.5); fails to compile of course laugh There is too many parameters. Thing is that I'm talking about, is adding more parameter like "0.5" at the end, and adding smooth blending between animations, witch can be changed by a new parameter. laugh


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Easy animations [Re: 3run] #326600
06/01/10 19:42
06/01/10 19:42
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
you can do that yourself, blending between animations i mean. but if you need more than two different scenes, you have a problem:

Quote:
As entity animation can only blend between two frames, not between three or more, ent_blend can not interpolate between two already-interpolated frames. Therefore the source and target frames are not interpolated, but 'snapped' to the next full frame number. For complex blending, use ent_blendpose.


you can overcome this by moving to the next full frame manually, then to the next scene. this can look ugly, though.

Re: Easy animations [Re: Joey] #326611
06/01/10 20:03
06/01/10 20:03
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Please ignore that meaningless ramble earlier, I forgot this was "the Future" thread for a minute...

So to understand what you want, as there seems to be some conflict.
You want to add a "lerp" effect to ent_animate (or a new function with lerp installed).
Is this lerp intended to :-
A> 'lerp' between frames of ONLY THE SAME scene?
or
B> 'lerp' between frames of ANY scene?(ie if the 'current' scene is different to the target scene)

Which is it? It looks like you mean "B" to me, but I want to clarify...
"B" does sound useful IMHO...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Easy animations [Re: EvilSOB] #326627
06/01/10 20:53
06/01/10 20:53
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
Sorry again for my bad English guys, all I want is good looking and easy to make animations with lite-c for every one, to make that part of programming much easier and faster. I don't really like the way usual ent_animate works. There is no smooth blending between animations at all, animations just change fast, and they looks terrible, but it is easy to use (ent_animate I mean), so the thing I want is smooth blending between any of animations by using just ent_animate (as simple and easy as we use the usual one now) with one more added parameter like this: ent_animate(my,"walk",walk_,ANM_CYCLE,0.5); So it will be really useful to my mind to make good looking, smooth and professional animations easy and fast like that.
Just a simple example how I want it to work:
Code:
function animate_()
{
	var walk_;
	var idle_;
	while(1)
	{
		if(key_w)
		{
			ent_animate(my,"walk",walk_,ANM_CYCLE,0.5);
			walk_ += 10 * time_step;
			// so if we play with "0.5" we can get the speed of blending from walk to stand
		}
		else
		{
			ent_animate(my,"idle",idle_,ANM_CYCLE,0.5);
			idle_ += 2 * time_step;
			// so if we play with "0.5" we can get the speed of blending from stand to walk
		}
		wait(1);
	}
}


As you can see very easy and fast to do, but result will looks 1000 times better than just ent_animate.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Easy animations [Re: 3run] #326732
06/02/10 16:56
06/02/10 16:56
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
So, guys why are you not replying? frown No one interested?


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Easy animations [Re: 3run] #326736
06/02/10 17:04
06/02/10 17:04
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
No, i have no problems with animating as it is now...

Re: Easy animations [Re: Widi] #326738
06/02/10 17:09
06/02/10 17:09
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
EvilSOB you sad that does sounds useful, so where are you? frown


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Easy animations [Re: 3run] #326746
06/02/10 17:36
06/02/10 17:36
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Im still here, but I want to do asome testing with ent_animate before further comment.
Unfortunately, Im busy on a shader ATM, and havent had time to test ent_animate...

The way the manual reads, it already DOES interpolate between frames.
I just want to double check it, so I know what Im saying...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Easy animations [Re: EvilSOB] #326749
06/02/10 17:47
06/02/10 17:47
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
Check what? I just can't understand what you mean, there is no smooth interpolations between frames at all frown


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Easy animations [Re: 3run] #326755
06/02/10 18:42
06/02/10 18:42
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
@EvilSOB
you misunderstood him. He mean if he changes f.e. from the "walk" to the "stand" animation, then he wants to interpolate between both of this animations.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Page 2 of 6 1 2 3 4 5 6

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | 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