Here's a fun technique (wireframe scan effect)

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
User avatar
alphageek
Gnome
Posts: 365
Joined: Mon Jan 03, 2005 11:56 am

Here's a fun technique (wireframe scan effect)

Post by alphageek »

In my game I wanted to do a kind of "target scan" for my head-up display. Ideally I wanted a simplified wireframe of the target model. Even more ideally I wanted this display to fade in and out a bit randomly.

I think the final result looks pretty cool:
Image

This was done by cloning the targetted entity and adding it to my overlay. Also I (obviously) changed to wireframe drawing and changed the material. The material is what I call a mask: an opaque monochrome texture that I use with "scene_blend add". I modulate this texture with the desired colour since the colour of the HUD must be changeable at runtime.
Also, the UV map is animated with scroll_anim.

The mask is a simple noisy clouds texture.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

NIce work, I love effects like this :)
User avatar
SpannerMan
Gold Sponsor
Gold Sponsor
Posts: 446
Joined: Fri May 02, 2003 10:05 am
Location: UK
Contact:

Post by SpannerMan »

Yes, looks really smart, nice work. More screenshots of the HUD in full game view would be cool :)
pratty70
Gnome
Posts: 341
Joined: Thu May 13, 2004 4:52 pm
Location: Wales - UK

Post by pratty70 »

It would seem that the community is maturing at an ever increasing rate with some of the work appearing in these forums.

Many thanks for sharing with us and keep up the excellent work.

Looks superb!
User avatar
PeterNewman
Greenskin
Posts: 128
Joined: Mon Jun 21, 2004 2:34 am
Location: Victoria, Australia
Contact:

Post by PeterNewman »

It'd be nice to see that in some sort of movie (rather then static screenshots), or better yet, a demo/release! :wink:
User avatar
joshcryer
Gnome
Posts: 351
Joined: Wed Oct 13, 2004 8:22 am

Post by joshcryer »

I second the high res pics request, if that's alright. This is a really nifty idea. I'm going to have to steal it for my game. ;)
User avatar
alphageek
Gnome
Posts: 365
Joined: Mon Jan 03, 2005 11:56 am

Post by alphageek »

The rest of my HUD (not in the pics) is static at the moment.

The previously posted montage was at full resolution, but I had made the wireframe small and put it in the corner of the screen.

For the purposes of this request only, I've enlarged the wireframe display and put it in the middle of the screen.
Just clicking on the thumbnails doesn't get you the full resolution as far as I can tell. You'll need to right-click and "view image" (firefox).

A couple of wireframe pics. The ship in the background is in the process of being hit by a missile (two separate events).
Image

Image

Just in case you're wondering what happens after a persistent barrage:
Image

Image
I think it needs some more long-lasting debris.

Comments welcome.

NB. the low frame rates are because this is an unoptimised debug build.

Edit: Oh yes. Please help me think of better names for my game.
AssiDragon
Greenskin
Posts: 145
Joined: Wed Apr 28, 2004 12:10 pm
Location: Hungary
Contact:

Post by AssiDragon »

Yikes! :shock: very nice! Congrats. =)
Hope is the first step on the road to disappointment.
User avatar
eugen
OGRE Expert User
OGRE Expert User
Posts: 1422
Joined: Sat May 22, 2004 5:28 am
Location: Bucharest
x 8
Contact:

Post by eugen »

:) nice effects!
Post Reply