Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 10:32
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 604 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to model this... #76891
06/06/06 21:00
06/06/06 21:00
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline OP
User
demiGod  Offline OP
User

Joined: Mar 2006
Posts: 752
Portugal
How can we create terrains (or models) like seen in this game:
http://www.darwinia.co.uk/about/screenshots.html
Its just about the skins? And those shadows?

Thanks in advance.

Re: How to model this... [Re: demiGod] #76892
06/06/06 21:34
06/06/06 21:34
Joined: May 2005
Posts: 107
Latvia
raymich Offline
Member
raymich  Offline
Member

Joined: May 2005
Posts: 107
Latvia
just make terrains as usual, but use tiled texture wich looks something like this:



Re: How to model this... [Re: raymich] #76893
06/06/06 21:44
06/06/06 21:44
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline OP
User
demiGod  Offline OP
User

Joined: Mar 2006
Posts: 752
Portugal
Thank you Raymich. I Will try that way.

Re: How to model this... [Re: demiGod] #76894
06/07/06 17:22
06/07/06 17:22
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
You can also use a shader...

requires A6.31+ comm+


xXxGuitar511
- Programmer
Re: How to model this... [Re: xXxGuitar511] #76895
06/07/06 18:28
06/07/06 18:28
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline OP
User
demiGod  Offline OP
User

Joined: Mar 2006
Posts: 752
Portugal
Hello xXxGuitar511,

Can you give me example how to use a shader for that?

Re: How to model this... [Re: demiGod] #76896
06/07/06 19:08
06/07/06 19:08
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Code:

Material mtl_Wireframe
{
emissive_red = 0;
emissive_green = 0;
emissive_blue = 0;
ambient_red = 35;
ambient_green = 35;
ambient_blue = 35;
diffuse_red = 190;
diffuse_green = 190;
diffuse_blue = 190;
specular_red = 150;
specular_green = 150;
specular_blue = 150;
alpha = 35;
albedo = 100;
power = 8;
//
effect = "
technique wire
{
pass p0
{
fillmode = wireframe;
colorarg1[0] = diffuse;
}
pass p1
{
fillmode = solid;
shademode = gouraud;
colorarg1[0] = diffuse;
}
}
technique fallback
{
pass p0
{
}
}";
}




xXxGuitar511
- Programmer
Re: How to model this... [Re: xXxGuitar511] #76897
06/07/06 20:32
06/07/06 20:32
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline OP
User
demiGod  Offline OP
User

Joined: Mar 2006
Posts: 752
Portugal
Thank you for the example.

Well, iīve tested the code for the shader, but i only see that wireframe effect
when apply transparency on the model.

However, i donīt want my model to be transparent, am i missing something?

Re: How to model this... [Re: demiGod] #76898
06/07/06 21:09
06/07/06 21:09
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline OP
User
demiGod  Offline OP
User

Joined: Mar 2006
Posts: 752
Portugal
I think i found the solution, the shademode must be FLAT.

Thank you for your help.

Re: How to model this... [Re: demiGod] #76899
06/07/06 23:10
06/07/06 23:10
Joined: May 2005
Posts: 107
Latvia
raymich Offline
Member
raymich  Offline
Member

Joined: May 2005
Posts: 107
Latvia
thank you very much i was looking for shader that removes default gouraud
rated


Moderated by  HeelX, rvL_eXile 

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