Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by Ayumi
8 minutes 11 seconds ago
Performance report on the imported trades
by OptimusPrime
15 minutes 30 seconds ago
Possible to return character vector from R bridge?
by JamesHH
Today at 18:59
Help with Wine on Linux
by AndrewAMD
Today at 16:59
Stock Splits
by AndrewAMD
Today at 16:23
Linux - Help with setting up with Wine and Zorro
by michaelj
Today at 04:49
How to expand Zorro to work with other broker ( like Tradovate )
by AndrewAMD
Today at 02:12
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
12 registered (AndrewAMD, Ayumi, JamesHH, ChrstphFr, michaelj, Akow, jenGs, Bill_Lin_Fang, alibaba, 1 invisible), 165 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Bill_Lin_Fang, michaelj, ThePituLegend, kankan, Nofip
18207 Registered Users
Topic Options
Rate This Topic
#476022 - 01/19/19 00:05 Decal shadows bug
Iglarion Offline
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 Online

Chief Engineer

Registered: 07/22/00
Posts: 26839
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 Offline
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 Offline
Senior Expert

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

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