#Hidden Line Removal
7 messages in this thread
How would I go about rendering an animation with hidden line removal? I have
tried using a bitmap of a black square with white edges as a facemap on the
object but the resolution of the wireframe is a little too much for the map and
the lines do not show up. I can render with 'force wire' turned on and it
comes out great but renders the hidden lines also. How can I render with a
wire frame material or 'force wire' and get hidden line removal? By the way, I
am using the f-18 mesh supplied with 3ds.
Thanks,
Daniel
Whenever I need to do this I make a copy of the mesh then scale it down very
slightly and assign it a solid black material and the other outer mesh I give
the wire frame tex. On something like the plane you may need to select groups
of vertices and scale these down independantly, otherwise the black object will
cut through the wireframe. Basicly try to indentify all the convex groups on
the object, then select these, scale down then next group etc.It wouldn't be
too much trouble to write a program that can find the normal for each vert and
scale it along that axis and get a perfect fit, in fact there probably is one.
———–Will
<<How would I go about rendering an animation with hidden line removal?>>
I am in the process of developing a routine to do just that and more. It is
called OUTLINE and there are some example images in the 3D Studio library or
over at ASHOWCASE. If you want any more information let me know.
DaviD "getting a plug in" GouID
I've written a program that does what I mentioned earlier (scales an object
according to the normals of the point). It's not the fastest program, I wrote
it in qbasic because I can crank stuff out of basic. If your interested just
ask for it. If you've found some other method for hidden line removal I'd like
to hear what it is.
———–Will
If your interested just ask for it [program for hidden line removal].
I'm interested. Perhaps others, too. How about uploading it?
Hi,
There is a weird bug in it; I think. I tested it on 5 models and it
worked perfectly, but another test model kept showing slightly odd normals. I'm
not sure if it's the program or if the model has weirdness. I'm testing both
now to find the answer. I want to get it running perfectly before I upload,
unless someone has an urgent need for it. Another problem is currently the
program is written in Qbasic and so has a 64K limit; I'm going to add a way it
can process larger files soon. A C version will be the best but it will take
awhile because I find the compiler is finnicky with graphics.
As soon as I have something very solid I'll upload it.
———Will