Re: Using wireframe to fake antialiasing

New Message Reply Date view Thread view Subject view Author view

Scott Herod (herod++at++evt.com)
Wed, 20 Jan 1999 16:04:23 -0700


Ahhh. So by simply doing a straight wireframe on a second
(or first) pass, I'm getting each edge twice and with alpha
blending on, I'm doubling the alpha values?

What you suggest is essentially what I ended up doing by hand
in an example that I worked up. I've got lighting to work
with materials but texgen is slightly (but noticably) off so
edges are visible. Straight textures worked well.

It sounds like it would be best to just tell people that they
will need a machine with hardware multi-sampling in order to
smooth generic models.

Thank you for your reply.

Scott Herod
scott++at++evt.com

Angus Dorbie wrote:
>
> Scott Herod wrote:
> >
> > Has anyone been able to draw an object's wireframe on top
> > of the object and fake antialiasing? While I can do it if
> > I build the edges myself, I have not been able to get two-pass
> > drawing, once with the object and once with it's wireframe,
> > to work. Any suggestions would be appreciated.
> >
> > Thank you
> > Scott Herod
> > scott++at++evt.com
> >

> Yes I did this for the UK M.O.D. Rapier fire trainer visual.
>
> One thing you have to watch is that each edge should be drawn once, you
> don't get this just drawing a wireframe rep of the same model. Typically
> every edge will be drawn twice. So it's best if you have 2 versions of
> your model. One solid and the other wireframe but with half the polys so
> each edge exists once. The other thing you need to watch is that the
> state on the wireframe model matches the state on the poly model exactly
> including texture and surface normals. To do this in MultiGen make the
> poly model first and shade, then the very last thing you do is copy this
> model and delete half the polys so each edge only has one poly adjacent
> (you can only approximate this) then you set the draw mode to wireframe
> then use pfAntialias to turn on antialiasing (which will smooth the
> lines only on a low end system but that's what you need.
>
> If you have any problems I can send you a sample model which implements
> this.
>
> Cheers,Angus.
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Jan 20 1999 - 15:05:11 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.