Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (SBGuy), 652 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: Comic [Re: ChrisB] #41476
02/28/05 06:27
02/28/05 06:27
Joined: Nov 2004
Posts: 143
XXX
Nick Offline OP
Member
Nick  Offline OP
Member

Joined: Nov 2004
Posts: 143
XXX
Irgendwas stimmt woll beim Script beim Turtorial nicht.
Ich hab den nämlich kopiert. Wen ich das " Setze kommt nur noch
ein haufen Fehlermeldungen
Hat jemand den Script schon mal mit erfolg benutzt?
Dan bitte schreiben!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

-----------------------------------------------------------------------------------------------
Simpsonxingsoftware
geht auf meine Website

Re: Comic [Re: ChrisB] #41477
03/01/05 01:18
03/01/05 01:18
Joined: Nov 2004
Posts: 143
XXX
Nick Offline OP
Member
Nick  Offline OP
Member

Joined: Nov 2004
Posts: 143
XXX
Hey!
Hat das Turtorial auf der Wiki Seite noch niemad benutzt?
Kommt schon! Bitte helft mir. Ich brauch das zeug jetzt

-----------------------------------------------------------------------------------------------

Simpsonxingsoftware
Besucht meine Website

Re: Comic [Re: Nick] #41478
03/02/05 01:35
03/02/05 01:35
Joined: Nov 2004
Posts: 143
XXX
Nick Offline OP
Member
Nick  Offline OP
Member

Joined: Nov 2004
Posts: 143
XXX
Also. So hab ich das " Gesetzt.

Code:
 

bmap bmp_normalizationcube=<normalize+6.bmp>;
bmap bmp_toonlookup=<toonlookup.bmp>;

function mtl_toon_init()
{
bmap_to_cubemap(mtl.skin1);
}

material mtl_toon
{
skin1=bmp_normalizationcube;
skin2=bmp_toonlookup;
event=mtl_toon_init;
effect
"
texture entSkin";
texture mtlSkin1;
texture mtlSkin2;
matrix matWorldViewProj;
matrix matWorld;
vector vecSkill41;
vector vecSunDir;
"
technique toon
{
//---------------------------------------------------------------------------paint
pass p0
{
texture[0]=<mtlSkin1>;
texture[1]=<mtlSkin2>;
texture[2]=<entSkin1>;

addressU[1]=clamp;

// magFilter[1]=point;
// minFilter[1]=point;
// mipFilter[1]=point;
magFilter[2]=linear;
minFilter[2]=linear;
mipFilter[2]=linear;

vertexShaderConstant[0]=<matWorldViewProj>;
vertexShaderConstant[4]=<matWorld>;

vertexShaderConstant[16]=<vecSunDir>;

vertexShader=
decl
{
stream 0;
float v0[3]; // position
float v3[3]; // normal
float v7[3]; // uv
}
asm
{
vs.1.1
m4x4 oPos,v0,c0 // transform position to clip space
m3x3 r0,v3,c4 // transform normal to world space
dp3 r0.w,r0,r0 // renormalize it
rsq r0.w,r0.w
mul r0,r0,r0.w
mov oT0.xyz,r0.xyz // output normal to oT0
mov oT1.xyz,-c16 // output light direction to oT1
mov oT2.xy,v7.xy // output uvs to oT2
};
pixelShader=
asm
{
ps.1.3
tex t0 // fetch normalized normal
texdp3tex t1,t0_bx2 // light.normal=u -> use u to lookup in t1 // _bx2 -> 0..1 of normcube will be -1..1
tex t2 // sample color map
mul r0,t2,t1 // modulate with shading
};
}
//---------------------------------------------------------------------------ink
pass p1
{
cullMode=cw;
vertexShaderConstant[0]=<matWorldViewProj>;
vertexShaderConstant[16]=<vecSkill41>; // outline_thickness, 0, 0, 0
vertexShader=
decl
{
stream 0;
float v0[3];
float v3[3];
float v7[3];
}
asm
{
vs.1.1
mov r0,v0
mul r1,c16.x,v3 // scale normal
add r0.xyz,r0.xyz,r1.xyz // shell offset (vertex position + scaled normal)
m4x4 oPos,r0,c0 // transform position to clip space
};
pixelShader=
asm
{
ps.1.3
def c0,0,0,0,1 // outline rgba
mov r0,c0
};
}
}
";
}

action toon
{
my.skill41=float(0.8); // outline_thickness
my.material=mtl_toon;
}




Oder wie muss man das setzten? Den gesamten Code hab ich sonst nicht umgeändert.

Gruss Nick

-----------------------------------------------------------------------------------------------
Besucht
meine
Site
Simpsonxingsoftware
Dan seht ihr so aus

Re: Comic [Re: Nick] #41479
03/05/05 05:49
03/05/05 05:49
Joined: Nov 2004
Posts: 143
XXX
Nick Offline OP
Member
Nick  Offline OP
Member

Joined: Nov 2004
Posts: 143
XXX
Hi!

Gibts im Web auserd auf der Wiki Site sonst noch Comic Shader Turtorials?
Bitte gebt mir antwort

-----------------------------------------------------------------------------------------------

Besucht

MEINE

Website

Simpsonxingsoftware

Dan seht ihr so aus

Re: Comic [Re: ChrisB] #41480
03/05/05 07:22
03/05/05 07:22
Joined: Oct 2004
Posts: 75
Netherlands..
Anubis Offline
Junior Member
Anubis  Offline
Junior Member

Joined: Oct 2004
Posts: 75
Netherlands..
Schau mal meine seite nach Fake-Shadern. Ich habe ein tutorial gemacht.. try that


lol now in english.. I've made a fake shader tutorial which can be downloaded from my forum..because im really into comic game design check that.. Its not that hard and your game will be playable on more systems because of the 3d cards that shaders need..

Last edited by Anubis; 03/05/05 07:46.
Re: Comic [Re: Anubis] #41481
03/05/05 14:42
03/05/05 14:42
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline

.
Nems  Offline

.

Joined: Mar 2003
Posts: 4,264
Wellington
Nadester had acess to a DLL that worked without shaders I think, for Biyu Biyu Rocket Launcher.
You could check him out about it if its any relevence to this thread.

http://www.conitecserver.com/ubbthreads/showflat.php?Cat=&Number=462192&page=21&view=collapsed&sb=1&o=186&fpart=1#462192

Re: Comic [Re: Anubis] #41482
03/06/05 18:03
03/06/05 18:03
Joined: Nov 2004
Posts: 143
XXX
Nick Offline OP
Member
Nick  Offline OP
Member

Joined: Nov 2004
Posts: 143
XXX
Hi Anubis

Kannst du mir ein genauen Link geben? Ich finde nichts auf deiner Seite

Gruss Nick

-----------------------------------------------------------------------------------------------
Besucht mein

Hier ist der Link
Und das ist die Website

Meldet euch Bitte beim Forum an

Re: Comic [Re: Nick] #41483
03/06/05 19:02
03/06/05 19:02
Joined: Oct 2004
Posts: 75
Netherlands..
Anubis Offline
Junior Member
Anubis  Offline
Junior Member

Joined: Oct 2004
Posts: 75
Netherlands..
Check this
Forum / Downloads and Showcase / Tutorials and Misc stuff / Rgames Character Cellshading for Beginners /
Or log in and click on this link



Last edited by Anubis; 03/06/05 19:06.
Re: Comic [Re: Anubis] #41484
03/06/05 19:51
03/06/05 19:51
Joined: Nov 2004
Posts: 143
XXX
Nick Offline OP
Member
Nick  Offline OP
Member

Joined: Nov 2004
Posts: 143
XXX
Dan kommt im Forum der Fehler:
You are not allowed to access this board.

Was soll das?

Gruss Nick

Re: Comic [Re: Anubis] #41485
03/06/05 20:53
03/06/05 20:53
Joined: Oct 2004
Posts: 75
Netherlands..
Anubis Offline
Junior Member
Anubis  Offline
Junior Member

Joined: Oct 2004
Posts: 75
Netherlands..
you have to 'log in' first
but nevermind.. here the direct link:
Download Fake Cell Shading Tutorial for beginners
You can download other tutorials from the forum.. which u can better use mozilla firefox to acces

Page 2 of 3 1 2 3

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