Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, AndrewAMD), 593 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
shaderviewer #208294
05/26/08 12:18
05/26/08 12:18
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline OP
Serious User
Dark_samurai  Offline OP
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Hi!
I wanted to look how the new template shaders written for A7.07 look like. But because I had installed the trail version already (it was the old version which didn't had the shaderviewer) I can't run it again because my test time is over. So I wanted to ask if someone could compile the shader viewer so that i can look how the shaders look like because I only want to update to A7 if they are good?

Thanks for your help!

[edit] I think this topic should be in User Requests. Could a moderator move this thread, please?

Dark_Samurai

Last edited by Dark_samurai; 05/26/08 13:33.

ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: shaderviewer [Re: Dark_samurai] #209132
06/01/08 08:34
06/01/08 08:34
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline OP
Serious User
Dark_samurai  Offline OP
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Another question I came up reading here in the forum: If I want to use more than one post processing effect, do I need to use lite-c because of the stages feature?

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: shaderviewer [Re: Dark_samurai] #209135
06/01/08 08:42
06/01/08 08:42
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
It can be done with C-Script as well, but that is not really fun to do and quite slow :P. Especially if you once did it with Lite-C wink

Re: shaderviewer [Re: Slin] #209138
06/01/08 09:01
06/01/08 09:01
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline OP
Serious User
Dark_samurai  Offline OP
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Ok, then A7 is nothing for me!

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: shaderviewer [Re: Dark_samurai] #209139
06/01/08 14:01
06/01/08 14:01
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
You need Lite-C for the stages feature, but you can also chain shaders without it in c-Script.

Re: shaderviewer [Re: Slin] #209176
06/01/08 18:26
06/01/08 18:26
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline OP
Serious User
Dark_samurai  Offline OP
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Yeah but if it is much slower than I won't need it for my project, because my target PCs shouldn't be high-end PCs. Post processing shader are already slow and I don't want to make them slower as they already are.

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: shaderviewer [Re: Dark_samurai] #209191
06/01/08 20:00
06/01/08 20:00
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
it's slower to set them up, not the rendering speed. but you must be careful not to use the same render target to read to and write from in one stage (jcl was right here).

Re: shaderviewer [Re: Joey] #209314
06/02/08 13:20
06/02/08 13:20
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline OP
Serious User
Dark_samurai  Offline OP
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Isn't there a possibility to use lite-c and c-script at the same time? If so I could make the pp-part in lite-c and the rest in c-script.

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: shaderviewer [Re: Dark_samurai] #209333
06/02/08 15:23
06/02/08 15:23
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
It is possible to use Lite-C in a C-Script project.
You will have to create everything as usually with C-Script and include one .c file into it:
Code:
include <Main.c>;


You can only have one function main in a project and it is not possible to share functions and variables between c-script and lite-c codes. Because of that you will have to create a startup function in the .c file to call all your Lite-C functions from. You also have to include the acknex.h in that file as well as all the other .c files you are using:

Main.c:
Code:
#include <acknex.h>

#include "PP_Bloom.c"

void LiteCMain_startup()
{
    PP_Bloom_init(40,50,50);
}


This is just written out of memory so I probably remembered something wrong but it does definatly work somehow similar :P

Re: shaderviewer [Re: Slin] #209375
06/02/08 18:14
06/02/08 18:14
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline OP
Serious User
Dark_samurai  Offline OP
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Ok, thanks for this useful information!
Now I only would like to know how the template shaders look like in real-time...
Because of this, can someone compile the shaderviewer please?

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version

Moderated by  Blink, Hummel, Superku 

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