- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a reason that rtcDetachGeometry that accepts a geomID int instead of an RTCGeometry pointer? It seems to break the pattern set by rtcAttachGeometry/rtcAttachGeometryByID but maybe I'm misunderstanding the API. I'm working with a dynamic scene and I'm retaining the RTCGeometry but not the geomID, per docs:
Best store the geometry handle inside your scene representation (and release it in the destructor) and access the handle directly instead of calling rtcGetGeometry.
It wouldn't be a big deal to retain the geomID as well if necessary, this question is more out of curiosity. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As I think about it I cannot give you a good reason why it is that way. We will add a second call where you can also provide the RTCGeometry.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As I think about it I cannot give you a good reason why it is that way. We will add a second call where you can also provide the RTCGeometry.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page