HomeNewsFeaturesLicensingDownloadsScreenshotsFAQRoadmap Contact Us
Search:
6 Online

Community

Discussion Topics Recent Postings User Contributions General Articles Example Documentation Credits

Licensed Developer

Programmer's Manual Artists Manual Tutorials and Articles

Programming: Game Code

Game Code Overview Server Side Game Code Client Side Game Code

Programming: System

Alphabetical Function List Renderer File System Collision & Ray Casting Low Level Audio Game Audio The Console Console Variable List Multiplayer Localisation Maths Library Memory Manager Model File Formats Texture Formats

Art: Overviews

Specifications Shaders Particle Systems Lens Flares Cipher console Cipher file types Tutorials Reference

Art: Tools

Shader Designer Particle Designer 3dsmax tools Model Conversion Font Generator

Cipher Engine
Game Development Search Engine
GameDev.net
You are not signed in - [sign in] [register]

Complete Decals

Submitted by: Mattxl
Date Submitted: 2004-07-18 03:18:05

Screenshot

Complete Decals

Description

Here are 2 screenshots of the completed decal system. I think it looks cool. There is still a little debugging before I release the code but it'll be soon. Sorry about the crappy blood. I drew it real fast so I could show off the decals. As usual I am ready to accept any questions, complaints, or comments.

Matt

[Recent Contributions] [Recent Screenshots]

User Contributed Comments

rikh 19th July, 2004 13:16
Sorry for the delay.


seryu 19th July, 2004 13:25
dark blood? X_x

nice effect, how much affect to FPS?


philk 19th July, 2004 13:54
Does it wrap correctly around complex object geometry?


Mattxl 19th July, 2004 14:41
@rikh

No problem. I was just worried something had happened.

@seryu

I don't really think there is much affect on fps. It's technically the same as loading a model and displaying it. And it's very low on polygons.

@philk

The needed code for it to handle it is in the engine already. But I still have to write that part in the game code. I wanted to make sure that everything worked before I got overly fancy.

Matt


Pickles 19th July, 2004 15:58
Totally cool Mattxl! A decal system is incredibly versatile! Not only can it be used for 'projectile impacts', but it could also be used to create 'blood splats' and 'footprint trails' and all kinds of cool effects.

Awesome contribution Mattxl!

Thanks
Edited 19th July, 2004 15:59


CrossFire 19th July, 2004 18:11
WOW! thanks Mattxl, thats awsome!!!


bane 19th July, 2004 18:40
Nice. I look forward to seeing the code.


Mattxl 20th July, 2004 05:52
Glad everyone likes it! Hopefully I'll finish all the debugging and optimising soon.

Matt


the_cX 22nd July, 2004 12:18
very nice.

does each decal use a shader as well? how well does it wrap around geometry? you should make that splat texture alot bigger and take another screen. if you think about it, you cant really tell from those screens whether the decal is wrapping or its flat...


Mattxl 22nd September, 2004 23:47
Holy Crap!!! I just about fell off the face of the earth. Sorry about the delay guys. I got caught up in my search for a modeller and had some oral surgery done. I kind of forgot to finish the debugging in all the comotion.

@the_cX
Each decal uses a shader which is set when the decal is created. It doesn't wrap around geometry yet because I haven't figured out the best way to calculate when new points are needed and where they should be. If anyone has an idea about this I'd be glad to hear it. The engine code does support the wrapping so once I figure out the way to calculate it all then it will work fine.

Again guys, I'm sorry about the delay. To speed up the process I could use a level with some pillars like the temple level because I can't test the z-buffer issues because the temple bsp isn't exactly on the polygons. Thanks.

Matt


CrossFire 26th September, 2004 13:07
I would LOVE to make a level with some pillars ( maybe something like in the first matrix movie ? ) but I havnt bought the engine yet :( if someone will make me a box the size of a player so that I will know what scale map apon, then I could send it to you and you could do whatever needed done? I would do it all myself, but do to some financial problems I cant ( sucks being 14 )I only have 31 dollars saved up :( but if you can wait a couple of months till i get enough money I will still do it.

that is unless someone else does it b4 I can buy the engine, if so, no problem :)
I am just sorry I cant help you out now.


Mattxl 17th March, 2005 23:51
OK Guys, I have been real busy because I started working fulltime and I have been restructuring our game and it has eaten up my normal programming life. Recently I started finishing the decal system. I have worked out some of the bugs but it still has a few problems. The biggest being that it'll stop rendering them if the camera is at certain angles. I don't know why but I also have some other ways of doing this which will work but will probably make shaders not possible. Right now shaders work with the way I am doing it. If anyone has any suggestions I would really like to hear them about now.

Matt


dakz0rz 18th March, 2005 00:53
Are you going to make a limit on the decals or a time limit and then they will disappear?


Mattxl 18th March, 2005 01:50
There can be but currently there isn't.

Matt


alienforce 21st December, 2005 22:41
Where can i find the sourcecode ?


Mattxl 24th December, 2005 17:15
Unfortunately I never completed it all to the degree that I wanted to. My life got real busy and hasn't slowed down since. Hopefully in month or so I might have some time to finish it. Sorry about that.

Matt


alienforce 25th December, 2005 12:54
No problem Mattxl, keep up the good work.




Register and Sign In to discuss this article