Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, AndrewAMD), 722 guests, and 6 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
Problems with using of Shade-C Project #436662
01/30/14 20:08
01/30/14 20:08
Joined: Jun 2008
Posts: 156
B
Bastiuscha Offline OP
Member
Bastiuscha  Offline OP
Member
B

Joined: Jun 2008
Posts: 156
I search on google and on this Forum, but i donīt find a answer.

i set:
#define PRAGMA_PATH "shade-c"
#include "sc_core.c";

and then in the main: sc_setup();

When i start the game, (without using a shader) i have promt a blur like view! how i can fix this?

Much Thanks!
Basti

Re: Problems with using of Shade-C Project [Re: Bastiuscha] #436667
01/30/14 20:54
01/30/14 20:54
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
what shade-c version is it?


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Problems with using of Shade-C Project [Re: sivan] #436673
01/30/14 22:36
01/30/14 22:36
Joined: Jun 2008
Posts: 156
B
Bastiuscha Offline OP
Member
Bastiuscha  Offline OP
Member
B

Joined: Jun 2008
Posts: 156
i use v0.90!

If i try v0.91 Beta, i become this errormessage:

Re: Problems with using of Shade-C Project [Re: Bastiuscha] #436681
01/31/14 07:38
01/31/14 07:38
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
there are some examples in shade-c 0.90 and 0.91, just check them, I did it too and they definitely work fine. last year I made some conversions for A8 (water and shadowmapping), you can find in the forum at contributions and user resources sections. shade-c 0.90 and 0.91 are for A7, and there are some wrong view flag settings resulting in incompatibility with fog, and other issues.
moreover, if you want to avoid a lot of work spent on conversion to A8, in my editor you can find a water shader and a shadowmapping rip of 0.91, consisting of only 4 .h and .c files and some .fx shaders...

the message is because you forgot to include d3d9.h by #include <d3d9.h> required by DX function calls. if you use 0.91 you need the following lines to be added:

Code:
#define PRAGMA_PATH "shade-c"
#define PRAGMA_PATH "stuff"

#include <acknex.h>
#include <default.c>
#include <d3d9.h>			

#include "sc_core.c";


// in water action:
	sc_water(my);


// after level load:
	//Setup Shade-C
	//setup shade-c. Activate everything as we want to use everything!
//	sc_bHDR = 0;
//	sc_bDOF = 0;
	sc_bRefract = 1;
	sc_bWater = 1;
	sc_bReflect = 1;
//	sc_bVolParts = 0;
	
	sc_setup();



shadowmapping requires some further stuff, but check the examples. sky should be set as volumetric particle to work fine.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Problems with using of Shade-C Project [Re: sivan] #436690
01/31/14 11:37
01/31/14 11:37
Joined: Jun 2008
Posts: 156
B
Bastiuscha Offline OP
Member
Bastiuscha  Offline OP
Member
B

Joined: Jun 2008
Posts: 156
OH yes.. i donīt include the d3d9.h, if i use v.91! but if i make, the the compiler missing some files..mdl and tga. and yes, i use A8...stupid to forget, that A7 is a other code. smirk ok, then i use other shader. what a pity. frown


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