Angus Dorbie (dorbie++at++sgi.com)
Tue, 29 Jun 1999 22:14:19 -0700
Perhaps you could try a glPolygonMode call in a draw callback and draw
your geometry twice, this will require lot's of state overrides to
ensure the lines are white or whatever. I'd just add the geometry in
question to the scene graph twice with callbacks around the second
instance. Use polygon offset or stencil to ensure the lines 'win' the
depth test.
> I can do it as a collection of quads and then draw them as a wireframe,
> but the quads get divided into triangles, which gives me extra lines on my
> mesh, that's bad. Is there a way to turn that off?
>
> I can draw them as individual lines. Problem, there are so many lines that
> I can't get very good interactive rates. It takes me twice as long to draw
> the line mesh as it does to draw the object. Since it is a finite element
> mesh I don't really want to do any decimation type stuff, I need it that
> detailed. Is there a fast way to draw lines? Treat them as degenerate
> triangles maybe?
>
> Another problem, while loading a collection of lines in Inventor format
> into perfly I run into a problem. Some lines come out missing. I at first
> thought it was being blocked by the solid model behind it, but that is not
> the case. This happens with just the line set. What happened to the
> missing lines? I have heard it is a culling problem, but I am not sure how
> this applies... Can anyone help?
Could be a loader bug but it's difficult to tell. You sure the .iv file
was kosher?
Cheers,Angus.
-- For years now, whenever NT has been proven to have some debilitating weakness we've heard from MS advocates that NT would catch up, there was just an incredible faith in this OS and Microsoft's ability to somehow get there. With the recent results of the Linux vs NT serving benchmark that same attitude can be seen in the Linux community. The Linux folks aren't too worried, "Sure the single threaded IP stack was slow but it'll be fixed in the next release.", it's eerily familiar but I have confidence in the Linux community's ability to remedy problems and I don't groan in pain as I used to when Microsoft made similar claims.For advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/
This archive was generated by hypermail 2.0b2 on Tue Jun 29 1999 - 22:14:25 PDT