CompuServe Thread

#Hidden Line Removal

7 messages in this thread
#194908From: Daniel WaltonOct 11, 1995 12:16 PM
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
#195016From: WillOct 12, 1995 5:37 AM
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
#195075From: David GouldOct 12, 1995 12:53 PM
<<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
#195340From: WillOct 14, 1995 6:49 AM
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
#196517From: Carl FinchOct 22, 1995 6:12 PM
If your interested just ask for it [program for hidden line removal]. I'm interested. Perhaps others, too. How about uploading it?
#196774From: WillOct 24, 1995 4:12 AM
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
#196343From: SyndesisOct 20, 1995 5:50 PM
What's the final purpose of this hidden-line-removed rendering? Do you want a bitmap or a line-based structured drawing? AutoCAD could do it…