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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (vicknick, 7th_zorro, 1 invisible), 887 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 4 1 2 3 4
Re: flat-shaded look? [Re: Freddy_dup1] #133508
06/03/07 19:58
06/03/07 19:58
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
shader don't have to do anything with shadows...
shader just calculate how the pixels of a model look like.
the only shadows a shader can do is to calculate the difference of 2 directions per dot-product and make the pixel brighter or darker...(its that shading that the models have ion the engine by default)

I am not 100% sure how the shadows are generated, but not with a shader

Re: flat-shaded look? [Re: Freddy_dup1] #133509
06/03/07 20:01
06/03/07 20:01
Joined: Jun 2007
Posts: 236
acknex.exe
ACKNEX007 Offline
Member
ACKNEX007  Offline
Member

Joined: Jun 2007
Posts: 236
acknex.exe
i think its not much hard if you are not talking about toon shader...

do you need to just use the light & shadows with materials ?


i think you can use free image hosting like :
http://imageshack.us/
http://www.tinypic.com
,etc


below i attached demo of a picture that i created with 3DGS.
that is using a simple material with ambient light settings ,etc
ScreenShot : http://i9.tinypic.com/4utrtdw.jpg

Thank You

Re: flat-shaded look? [Re: Freddy_dup1] #133510
06/03/07 23:46
06/03/07 23:46
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
Try something like this:

material flat_mat
{
ambient_red = 100; // play with these values
ambient_green = 100;
ambient_blue = 100;
diffuse_red = 200;
diffuse_green = 200;
diffuse_blue = 200;
specular_red = 200;
specular_green = 200;
specular_blue = 200;
power = 50;

effect = "
technique flatshadow
{
pass p0
{
fillmode = solid;
shademode = flat;
}
}
technique fallback
{
pass p0
{
}
}";
}

action flat_me
{
my.material = flat_mat
}

To fiddle around with materials you can download "MatsEd" at my signature. Itīs a Gamestudio material editor.


no science involved
Re: flat-shaded look? [Re: fogman] #133511
06/05/07 18:01
06/05/07 18:01
Joined: Feb 2003
Posts: 211
Unna
F
Freddy_dup1 Offline OP
Member
Freddy_dup1  Offline OP
Member
F

Joined: Feb 2003
Posts: 211
Unna
Some screen-shots...

This is how it should look like: (MED)




And this is how it looks like: (in game)



Re: flat-shaded look? [Re: Freddy_dup1] #133512
06/05/07 18:09
06/05/07 18:09
Joined: Dec 2005
Posts: 252
MyOwnKingdom
nipx Offline
Member
nipx  Offline
Member

Joined: Dec 2005
Posts: 252
MyOwnKingdom
Do you use any materials/shaders?


nipx

Re: flat-shaded look? [Re: nipx] #133513
06/05/07 19:17
06/05/07 19:17
Joined: Feb 2003
Posts: 211
Unna
F
Freddy_dup1 Offline OP
Member
Freddy_dup1  Offline OP
Member
F

Joined: Feb 2003
Posts: 211
Unna
No. I don`t use any shader.
I tried it with materials and without them. It`s the same.
It looks always like the picture.

Last edited by Freddy; 06/05/07 19:25.
Re: flat-shaded look? [Re: ACKNEX007] #133514
06/05/07 19:21
06/05/07 19:21
Joined: Feb 2003
Posts: 211
Unna
F
Freddy_dup1 Offline OP
Member
Freddy_dup1  Offline OP
Member
F

Joined: Feb 2003
Posts: 211
Unna
@ACKNEX007 :
That picture of yours looks really great!
That`s the same effect as the one I would like to have.

Re: flat-shaded look? [Re: Freddy_dup1] #133515
06/05/07 20:24
06/05/07 20:24
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
It looks like it doesnīt have a skin at all.
What happens if you load it into MatsEd?


no science involved
Re: flat-shaded look? [Re: fogman] #133516
06/05/07 22:43
06/05/07 22:43
Joined: Jun 2007
Posts: 236
acknex.exe
ACKNEX007 Offline
Member
ACKNEX007  Offline
Member

Joined: Jun 2007
Posts: 236
acknex.exe
Freddy : if you need i can give you the source of that file..

also did u tried to create a empty file in WED and place this model only..
and do a test-Run ?

also..


i think the PROBLEM IS :

in the new version of Game Studio the Material Setting can be changed in MED..

try to change the ambient to (0,0,0,) and Specular To Whiter (255,255,255) , and Diffuse to any colors like (255,0,0)

then save and re-try..

Thank You..

Re: flat-shaded look? [Re: ACKNEX007] #133517
06/05/07 22:46
06/05/07 22:46
Joined: Jun 2007
Posts: 236
acknex.exe
ACKNEX007 Offline
Member
ACKNEX007  Offline
Member

Joined: Jun 2007
Posts: 236
acknex.exe
also.. try to texture the model in MED , Maybe try with a Solid Color Picture..
..

if the error continues.. i think its probably a problem in model..
if yes : i can help you to fix the model..

Thanks.

Page 2 of 4 1 2 3 4

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