Open sgi-demos opened 1 year ago
Nice! Yeah the flight code is clearly half-way through some larger change, unfortunately! It's a snapshot we found on some FTP site. I'm a little surprised we've not found a better version.
That's a great catch! Thanks, fixed and pushed.
I wonder if "pclos" also has a bug. "jello" calls "pclos" but I'm not sure when I can find time to test it.
I'm a little surprised we've not found a better version.
I've got four versions of the source here, and I intend to port all of them. :^)
I wonder if "pclos" also has a bug.
Oh good point, that may help with another glitch I'm seeing in newave. Based on the GL reference, looks I could funnel pmv*() to bgnpolygon() + v3f() and pclos() to endpolygon().
Do you recall any gotchas with doing this? I realize it may have been a few years.
I just mean it looks like pclos
calls end_polygon
and maybe should call endpolygon
like you've changed in rectf_
.
Sorry, I don't remember much about the gotchas. We didn't have a reference so we may have lost one or two small visual details that weren't obvious, and as Lawrence points out we never got the flight simulator working.
Great project, thanks for including us!
Hello!
In debugging the flight demo for sgi-demos project, I found the runways and taxiways were not drawing due to a bug in rectf_() in gl.c:
And this fixed it for me:
Thanks for the inspiration and the GL rasterizer!