Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,218 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Colored edges and color gradiant #117070
03/13/07 11:06
03/13/07 11:06
Joined: Mar 2007
Posts: 5
M
Mazash Offline OP
Newbie
Mazash  Offline OP
Newbie
M

Joined: Mar 2007
Posts: 5
Hello everyone.

First, sorry for my poor english.

I have a simple question, but actually I must be the only one who wonders how to deal with this, as I made some researches everywhere without any success... Or maybe the solution is so obvious that i'm supposed to know the answer. Sorry to bother.

Starting from a simple box, I want the surfaces to be black, but the edges in color. It's not exactly like a wire frame, as the surfaces of the box are plain. And I want to avoid to use textures.

Moreover, It concerns only the landscape, but not the characters or the entities.

Does someone know the trick please ? Thanx a lot !

Another question : is there a way to make a gradiant between two colors on a surface, without using any textures ?

Thanx again

Last edited by Mazash; 03/13/07 23:08.
Re: Colored edges and color gradiant [Re: Mazash] #117071
03/13/07 23:04
03/13/07 23:04
Joined: Mar 2007
Posts: 5
M
Mazash Offline OP
Newbie
Mazash  Offline OP
Newbie
M

Joined: Mar 2007
Posts: 5
There are some pros here, why don't you answer me ?

Re: Colored edges and color gradiant [Re: Mazash] #117072
03/13/07 23:12
03/13/07 23:12
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
The problem its not to be pro, the problem is to understand what you want. Is there a wireframe style effect you want in the landscape?

If so just search the forum for "wireframe" and you will find a fixed function that gives you that effect.

Re: Colored edges and color gradiant [Re: demiGod] #117073
03/13/07 23:44
03/13/07 23:44
Joined: Mar 2007
Posts: 5
M
Mazash Offline OP
Newbie
Mazash  Offline OP
Newbie
M

Joined: Mar 2007
Posts: 5
Ok, thanx.

That's not what i'm looking for, but maybe there's no way to do what i want... Except with textures or any special plug ins.

Last edited by Mazash; 03/14/07 00:39.
Re: Colored edges and color gradiant [Re: Mazash] #117074
03/14/07 02:44
03/14/07 02:44
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Not sure why you not want to use any textures. Also not know if you meant blocks or models when referring to 'box' and why must the surface be black? Well if you are going to use models (I don't use blocks so I can't tell much about those).

Maybe you can change the color by adding a skin to the surface with the skinmanager without adding texture, only edit the material parameters. In the end the easy way would be by using seamless texture with colored edges and it looks better too. However, you said that you didn't want to use those so.

Tried to quickly edit this box in MED with color edge without using textures:




smile
Re: Colored edges and color gradiant [Re: D3D] #117075
03/14/07 07:12
03/14/07 07:12
Joined: Jul 2006
Posts: 69
P
piposlav Offline
Junior Member
piposlav  Offline
Junior Member
P

Joined: Jul 2006
Posts: 69
i Think that shaders can do this ..but you must have at least COMM

Re: Colored edges and color gradiant [Re: piposlav] #117076
03/14/07 09:43
03/14/07 09:43
Joined: Mar 2007
Posts: 5
M
Mazash Offline OP
Newbie
Mazash  Offline OP
Newbie
M

Joined: Mar 2007
Posts: 5
Thanx you so much for your answers

Take a look at those two (marvelous) games :

http://www.sonicteam.com/rez/e/visuals/index.html
http://www.capcom.co.jp/killer7/english.html

Actually, I want to mix the wireframe rendering of REZ, with the solid style of KILLER 7 (concerning the landscape, I don't think they use cell shading), to build a huge town. I was hoping doing it without any textures, to gain precious memory space as the visuals are quite simple (cubes and lines) affording me to increase the numbers of different buildings (but maybe I'm completly wrong)

The wireframe rendering is not appropriate as you can see the surfaces that normally should be hidden. I already thought about your method Dusty3D, but it adds polygons (but it seems to be the best solution anyway)

I've been searching on google for days to see if there's a solution, without any success. I'm beginning to think the only solution is to use some polygons to draw the edges and coloring them, like you said.

But thanx alot anyway

Re: Colored edges and color gradiant [Re: Mazash] #117077
03/14/07 16:56
03/14/07 16:56
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
If what you want its an effect like seen in Darwinia, you will find a solution here

It doesnt use shaders, its a ffp.

Re: Colored edges and color gradiant [Re: demiGod] #117078
03/14/07 17:19
03/14/07 17:19
Joined: Mar 2007
Posts: 5
M
Mazash Offline OP
Newbie
Mazash  Offline OP
Newbie
M

Joined: Mar 2007
Posts: 5
Thanx a lot, everything seems to be in this "fillmode=solid" trick !

I will try and tell you about the result.

Thanx again


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