Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

Ha! ... int Q1BSP_ClipDecal in FTEQW Goto page 1, 2 Next

| Inside3d Forums Forum Index -> Engine Programming

View previous topic :: View next topic
Author | Message
--- | ---
Baker Joined: 14 Mar 2006 Posts: 1538 |

Posted: Fri Jan 22, 2010 3:42 pm Post subject: Ha! ... int Q1BSP_ClipDecal in FTEQW |

There has always been the longstanding weirdness of decals sticking off the edge, maybe this could be applied to shadows somehow too. _________________ Tomorrow Never Dies. I feel this Tomorrow knocking on the door ...

Back to top |

Baker Joined: 14 Mar 2006 Posts: 1538 |

Posted: Fri Jan 22, 2010 4:08 pm Post subject: |

Better illustration ... me slamming some rockets against a rotating brush model in both FTEGLQW (or software!) and DarkPlaces ... FTEQW with the decal clipping ... nothing sticking off the brush DarkPlaces ... the decals hang off the brush If my memory is right, R00k has been long wanting something like this and Spike had the secret sauce in FTEQW
_________________
Tomorrow Never Dies. I feel this Tomorrow knocking on the door ...

Back to top |

Teiman Joined: 03 Jun 2007 Posts: 309 |

Posted: Fri Jan 22, 2010 4:29 pm Post subject: |

But stainmaps can make something like that (on the bmodels too?) if all you want is a undetailed blob.

Back to top |

Spike Joined: 05 Nov 2004 Posts: 944 Location: UK |

Posted: Fri Jan 22, 2010 4:42 pm Post subject: |

no, that is stainmaps. yes, fte's stainmaps fade out. clipped decals in fte are used only by defining a particle effect with 'type decal'. There are none built in that do this, and such particles must be static (although an emitting particle can spawn others that last only a frame).
q3's cgame can also use them.
the sw renderer has never supported the rendering of clipped decals.
sorry.
_________________
What's a signature?

Back to top |

Baker Joined: 14 Mar 2006 Posts: 1538 |

Posted: Fri Jan 22, 2010 6:08 pm Post subject: |

I don't really know the difference between decals and stain maps. Baker -1 _________________ Tomorrow Never Dies. I feel this Tomorrow knocking on the door ...

Back to top |

r00k Joined: 13 Nov 2004 Posts: 483 |

Posted: Fri Jan 22, 2010 6:12 pm Post subject: |

Baker, decals are actual textured 2d particles applied to a surface, via clipping, of the bsp. Stainmaps is changing the color value of the vertices where the stain impacts the bsp. I use Tenebraes decals; seems quite stable. I had even created a blob that was placed under the feet that drew and clipped per frame, but as the player moved around the shadow would be removed either too slow, (like a water ripple effect), or too soon and become a strobe darklight.
Last edited by r00k on Fri Jan 22, 2010 6:19 pm; edited 2 times in total

Back to top |

Irritant Joined: 19 May 2008 Posts: 115 Location: Maryland |

Posted: Fri Jan 22, 2010 6:17 pm Post subject: |

Looks nice. Is the source available yet? Stainmaps are different, they are the same as lightmaps. For shadows you'd be better off doing simple stencil volumes so that they don't just draw on flat floor surfaces. _________________ http://red.planetarena.org - Alien Arena

Back to top |

Sajt Joined: 16 Oct 2004 Posts: 1026 |

Posted: Fri Jan 22, 2010 7:49 pm Post subject: |

Clipped decals were added recently to DarkPlaces. I guess they must be beta or something because they are turned off by default. "cl_decals_newsystem 1" activates them. They even clip to animated models, so if you shoot a soldier a bullet mark will appear on him.
_________________
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.

Back to top |

jim Joined: 05 Aug 2005 Posts: 400 Location: In The Sun |

Posted: Fri Jan 22, 2010 8:07 pm Post subject: |

Just when I thought this was needed.. it's already there _________________ zbang!

Back to top |

Baker Joined: 14 Mar 2006 Posts: 1538 |

Posted: Fri Jan 22, 2010 8:14 pm Post subject: |

Cool! _________________ Tomorrow Never Dies. I feel this Tomorrow knocking on the door ...

Back to top |

Sajt Joined: 16 Oct 2004 Posts: 1026 |

Posted: Fri Jan 22, 2010 8:19 pm Post subject: |

I have noticed that they don't quite show up in the right spot on models. When shooting a grunt in the head, the decal might appear on his shoulder. LordHavoc has told me that this is a bug which needs to be fixed. Maybe this is why the new decal system isn't on by default yet.
_________________
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.

Back to top |

r00k Joined: 13 Nov 2004 Posts: 483 |

Posted: Sat Jan 23, 2010 7:01 am Post subject: |

Sajt wrote:
Clipped decals were added recently to DarkPlaces. I guess they must be beta or something because they are turned off by default. "cl_decals_newsystem 1" activates them. They even clip to animated models, so if you shoot a soldier a bullet mark will appear on him.

omfNg! thats the only thing i could muster. A ball of hate and throw it from 100 yards. and maybe the blast radius would get a mentionable footnote of desire!
in laymen terms, that besides explosion shells were the 2 pencils in my ear about DP/ more so in Nexiuz...
in sober lamen terms, im excited about teh clipping decals more than sliced wheatberry bread and some warm apple butter with that funny spoon.

Back to top |

Sajt Joined: 16 Oct 2004 Posts: 1026 |

Posted: Sat Jan 23, 2010 3:55 pm Post subject: |

I know what you mean. The lack of clipped decals has been the biggest point against DarkPlaces in the last couple of years. I never understood why LordHavoc didn't think they were important. Apparently he eventually gave into the pressure, probably of Nexuiz wanting them.
_________________
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.

Back to top |

qbism Joined: 04 Nov 2004 Posts: 82 |

Posted: Sun Jan 24, 2010 10:10 pm Post subject: |

The FTEQW pic is of stainmaps, BTW. Stainmap disadvantage vs. decal is fuzziness. Resolution is limited by the lightmap. Stainmap advantage is that it works in corners. A single explosion near a corner can paint all the adjacent faces in radius.
_________________
http://qbism.com

Back to top |

Downsider Joined: 16 Sep 2008 Posts: 478 |

Posted: Mon Jan 25, 2010 4:06 am Post subject: |

qbism wrote:
The FTEQW pic is of stainmaps, BTW. Stainmap disadvantage vs. decal is fuzziness. Resolution is limited by the lightmap. Stainmap advantage is that it works in corners. A single explosion near a corner can paint all the adjacent faces in radius.

The whole idea of the stainmap is to make tons and tons of gore, make it semi-permanent.

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> Engine Programming | All times are GMT Goto page 1, 2 Next
Page 1 of 2

Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2004 phpBB Group