Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Nymphodora), 972 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
DirectX Error: ZTARG #337632
08/12/10 09:23
08/12/10 09:23
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline OP
Serious User
Liamissimo  Offline OP
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
Hey Guys,

sometimes I am getting this error in A7 Commercial 7.86.2
No idea what it could be, If I run a level it appears, If I run it again it doesn't. No shader were used in the Level, no texture (just a skycube) and even the light werent dynamic. Just models with a second skin set or a shader attached.


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011
Re: DirectX Error: ZTARG [Re: Liamissimo] #337789
08/13/10 10:31
08/13/10 10:31
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
This is an error on creating an additional z buffer for a render target. The buffer could not be created, causing the render target to be resized to the screen size. Check what you're doing with render targets. It has nothing to do with your level.

Re: DirectX Error: ZTARG [Re: jcl] #337942
08/14/10 18:23
08/14/10 18:23
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline OP
Serious User
Liamissimo  Offline OP
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
Hm...I have never played with it in my code, also "Find in files" I searched for "render" "target" and so on. But I didn't found anything.


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011
Re: DirectX Error: ZTARG [Re: Liamissimo] #338016
08/15/10 09:19
08/15/10 09:19
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Maybe its a shader you're using, shaders often use rendertargets?

Re: DirectX Error: ZTARG [Re: Tobias] #338018
08/15/10 09:26
08/15/10 09:26
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline OP
Serious User
Liamissimo  Offline OP
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
I think I found it. A model that was only used in this level had an unused texture with an effect-file attached to it...Holy crap grin


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011
Re: DirectX Error: ZTARG [Re: Liamissimo] #341325
09/14/10 16:56
09/14/10 16:56
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline OP
Serious User
Liamissimo  Offline OP
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
Sorry Guys, I had the error fixed but now it is back again, just in one of 10 times but that is annoying. No model used in the scene has an shader or effect file in MED, what is wrong? Or what could be wrong?

I know its hard without the code but the funny thing: There just is no code, hust particles. Maybe they are the problem, I'll test it a few times without!


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011
Re: DirectX Error: ZTARG [Re: Liamissimo] #341359
09/15/10 09:11
09/15/10 09:11
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
No, particles do not use a render target. Also, an effect file on a model texture alone does not generate a render target. Both can normally not be the reason of your problem.

If you can't find it, upload the project to the user forum - maybe I can look into it and find the problem.

Re: DirectX Error: ZTARG [Re: jcl] #472008
04/01/18 19:15
04/01/18 19:15
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline
User
Dooley  Offline
User

Joined: May 2005
Posts: 868
Chicago, IL
It's an old thread, but I am wondering if you ever figured it out. I am encountering the same error.

I can say that I am using a render target. However, in lite-c it will be something like this:

Quote:
scan_bmp = bmap_for_entity(my,1);
scan_view.bmap = scan_bmp;


I will look for the solution and post it here if I find it...


Moderated by  old_bill, 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