Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

7 May, 2024: fms is rebuilding. Don't expect much in that section for quite a few days, maybe longer.


devel / comp.os.ms-windows.programmer.win32 / OpenGL : a gluTessVertex problem (of sorts)

SubjectAuthor
o OpenGL : a gluTessVertex problem (of sorts)R.Wieser

1
OpenGL : a gluTessVertex problem (of sorts)

<su8upi$fld$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=382&group=comp.os.ms-windows.programmer.win32#382

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: OpenGL : a gluTessVertex problem (of sorts)
Date: Sat, 12 Feb 2022 19:37:20 +0100
Organization: Aioe.org NNTP Server
Lines: 24
Message-ID: <su8upi$fld$1@gioia.aioe.org>
Injection-Info: gioia.aioe.org; logging-data="16045"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-RFC2646: Format=Flowed; Original
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Priority: 3
 by: R.Wieser - Sat, 12 Feb 2022 18:37 UTC

Hello all,

I've been using gluNewTess and related functions (to dissect a polygon into
triangles), which, in a test environment, gave the expected results.

The thing is that when I tried to use on-the-fly creation of a polygon the
vertices returned by the GLU_TESS_VERTEX callback seemed to contain garbage.
:-(

After a bit of headscratching (trying this-and-that) I had to conclude that
the gluTessVertex function *doesn't* save the provided vertex internally -
meaning that I would need to keep all those vertices available (at static
locations) until after the gluTessEndPolygon function returns.

Which is ... less than ideal to me (on-the-fly creation and all that).

Question : Is there a way (setting?) to have gluNewTess manage the vertices
itself ?

Regards,
Rudy Wieser

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor