Gamestudio Links
Zorro Links
Newest Posts
Where's the Wiki?
by Quad. 06/25/19 22:16
Published Gamestudio Games?
by Dooley. 06/25/19 16:59
Updating to A8 [SOLVED]
by Dooley. 06/25/19 16:00
Message from IB of open position
by Zheka. 06/25/19 13:58
FXCM: "Can't connect to price server"
by riinvest. 06/25/19 10:35
New Zorro version 2.12
by jcl. 06/25/19 09:42
Aum120 is ready
by Emre. 06/24/19 17:54
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
5 registered members (JeyKey II, wdlmaster, alibaba, jenGs, kvm), 574 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Theaisback, redye, rhe2564, Qw3rty, Dal
18239 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Decal shadows bug #476022
01/18/19 23:05
01/18/19 23:05
Joined: Jul 2004
Posts: 782
Serbia
Iglarion Offline OP
User
Iglarion  Offline OP
User

Joined: Jul 2004
Posts: 782
Serbia
Hi Jcl,

I think I found a bug in decal shadows (already ask in this thred ) . Decal shadows at one moments stay on ground while ai keeps moving without shadows.
Here is a video:

From test level and from my game .

I can send you small test level if needs.


IGRAVISION Page - www.igravision.com
RPG project - The Battle For Forgol 92.75%
Re: Decal shadows bug [Re: Iglarion] #476085
01/25/19 20:09
01/25/19 20:09
Joined: Jul 2000
Posts: 26,909
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 26,909
Frankfurt
Are you moving the entity more than once per frame? This could cause such effects.

Re: Decal shadows bug [Re: jcl] #476087
01/25/19 21:17
01/25/19 21:17
Joined: Jul 2004
Posts: 782
Serbia
Iglarion Offline OP
User
Iglarion  Offline OP
User

Joined: Jul 2004
Posts: 782
Serbia
No, just one time per frame.


IGRAVISION Page - www.igravision.com
RPG project - The Battle For Forgol 92.75%
Re: Decal shadows bug [Re: Iglarion] #476092
01/26/19 06:24
01/26/19 06:24
Joined: Sep 2003
Posts: 6,842
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,842
Kiel (Germany)
I had experienced that bug many years ago as well. It's easily reproducible, as in here:

Click to reveal..
Code:
///////////////////////////////
#include <acknex.h>
#include <default.c>
///////////////////////////////

void main()
{
	fps_max = 30;
	video_mode = 10;
	level_load(NULL);
	camera.arc = 40;
	camera.y = -512;
	camera.z = 128;
	camera.pan = 90;
	camera.tilt = -15;
	you = ent_create(CUBE_MDL,nullvector,NULL);
	your.scale_y = your.scale_x = 64;
	c_setminmax(you);
	set(you,POLYGON);
	me = ent_create(CUBE_MDL,vector(0,0,60),NULL);
	set(my,SHADOW);
	def_move();
	while(1)
	{
		draw_text("Hold [Space] to move the entity.",20,20,COLOR_RED);
		my.skill1 += key_space*10*time_step;
		var x = sinv(my.skill1);
		my.x = pow(abs(x),0.5)*sign(x)*512;
		if(key_ctrl) reset(my,SHADOW);
		else set(my,SHADOW);
		wait(1);
	}
}



"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends

Moderated by  jcl, Nems, Spirit, 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