Colored edges and color gradiant

Posted By: Mazash

Colored edges and color gradiant - 03/13/07 11:06

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
Posted By: Mazash

Re: Colored edges and color gradiant - 03/13/07 23:04

There are some pros here, why don't you answer me ?
Posted By: demiGod

Re: Colored edges and color gradiant - 03/13/07 23:12

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.
Posted By: Mazash

Re: Colored edges and color gradiant - 03/13/07 23:44

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.
Posted By: D3D

Re: Colored edges and color gradiant - 03/14/07 02:44

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:


Posted By: piposlav

Re: Colored edges and color gradiant - 03/14/07 07:12

i Think that shaders can do this ..but you must have at least COMM
Posted By: Mazash

Re: Colored edges and color gradiant - 03/14/07 09:43

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
Posted By: demiGod

Re: Colored edges and color gradiant - 03/14/07 16:56

If what you want its an effect like seen in Darwinia, you will find a solution here

It doesnt use shaders, its a ffp.
Posted By: Mazash

Re: Colored edges and color gradiant - 03/14/07 17:19

Thanx a lot, everything seems to be in this "fillmode=solid" trick !

I will try and tell you about the result.

Thanx again
© 2024 lite-C Forums