Gamestudio Links
Zorro Links
Newest Posts
New Zorro version 2.03
by laz
12 minutes 38 seconds ago
Texture Shifting
by Superku
13 minutes 26 seconds ago
What are you working on?
by Superku
30 minutes 55 seconds ago
About strategy optimization
by Spirit
Today at 14:13
Help in analysis...
by MINER
Today at 09:56
TradeVars not working with pending trades
by jcl
Today at 08:17
Creating a Directory
by txesmi
Yesterday at 10:15
AUM Magazine
Latest Screens
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Who's Online
16 registered (Ayumi, kvm, Dalla, Quad, GPEngine, alibaba, Iglarion, misiek, 3 invisible), 640 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Pelin27, Aziz, lucianopneto, j45p41, Max_Ahn
18173 Registered Users
Topic Options
Rate This Topic
#476022 - 01/19/19 00:05 Decal shadows bug
Iglarion Online
User

Registered: 07/09/04
Posts: 782
Loc: 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%

Top
#476085 - 01/25/19 21:09 Re: Decal shadows bug [Re: Iglarion]
jcl Offline

Chief Engineer

Registered: 07/22/00
Posts: 26747
Loc: Frankfurt
Are you moving the entity more than once per frame? This could cause such effects.

Top
#476087 - 01/25/19 22:17 Re: Decal shadows bug [Re: jcl]
Iglarion Online
User

Registered: 07/09/04
Posts: 782
Loc: Serbia
No, just one time per frame.
_________________________
IGRAVISION Page - www.igravision.com
RPG project - The Battle For Forgol 92.75%

Top
#476092 - 01/26/19 07:24 Re: Decal shadows bug [Re: Iglarion]
Superku Online
Senior Expert

Registered: 09/13/03
Posts: 6816
Loc: 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

Superku - stuck in development hell: http://store.steampowered.com/app/407570

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

Top


Moderator:  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