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 » Thu Jan 06, 2005 6:21 am

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.
0 x

User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands

Post by :wumpus: » Thu Jan 06, 2005 11:05 am

NIce work, I love effects like this :)
0 x

User avatar
SpannerMan
Gold Sponsor
Gold Sponsor
Posts: 446
Joined: Fri May 02, 2003 10:05 am
Location: UK
Contact:

Post by SpannerMan » Thu Jan 06, 2005 2:10 pm

Yes, looks really smart, nice work. More screenshots of the HUD in full game view would be cool :)
0 x

pratty70
Gnome
Posts: 341
Joined: Thu May 13, 2004 4:52 pm
Location: Wales - UK

Post by pratty70 » Thu Jan 06, 2005 6:08 pm

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!
0 x

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

Post by PeterNewman » Thu Jan 06, 2005 11:56 pm

It'd be nice to see that in some sort of movie (rather then static screenshots), or better yet, a demo/release! :wink:
0 x

User avatar
joshcryer
Gnome
Posts: 351
Joined: Wed Oct 13, 2004 8:22 am

Post by joshcryer » Fri Jan 07, 2005 3:19 am

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. ;)
0 x

User avatar
alphageek
Gnome
Posts: 365
Joined: Mon Jan 03, 2005 11:56 am

Post by alphageek » Fri Jan 07, 2005 4:13 am

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.
0 x

AssiDragon
Greenskin
Posts: 145
Joined: Wed Apr 28, 2004 12:10 pm
Location: Hungary
Contact:

Post by AssiDragon » Fri Jan 07, 2005 8:42 am

Yikes! :shock: very nice! Congrats. =)
0 x
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
Contact:

Post by eugen » Sat Jan 08, 2005 7:05 am

:) nice effects!
0 x

Post Reply