How to use Graphix Modules to export 3D model preview picture?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-20
03:54 AM
- last edited on
2021-09-15
12:36 PM
by
Noemi Balogh
2020-03-20
03:54 AM
Hi,I wrote a model import plugin, and now I want to generate a preview image in the dialog box when reading the external model geometry data。I found that the Graphix module can implement it, but there is no help document or demo example, has anyone used this module?
Labels:
- Labels:
-
Add-On (C++)
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-21 11:18 AM
2020-03-21
11:18 AM
Documentation is very thin for this - we had to experiment for quite a while to get what we wanted, but it works well. Start by looking at the documentation for NativeImage first.
The example code is the most helpful. There are examples in DG_Test in the functionsDrawMyPict and OwnerDrawnListBoxPalette::UpdateTab1 . Also possibly UserItemDialog.cpp in the example Override_Test.
The example code is the most helpful. There are examples in DG_Test in the functions
Ralph Wessel BArch
Central Innovation
Central Innovation

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-23 08:01 PM
2020-03-23
08:01 PM
Hi Ralph,
What you said is not able to render a 3D picture,Because I directly read the external model information to generate a preview image,So it may not be useful to find the AC API。Now I am trying to use the function inside glew.h with Graphix module.
What you said is not able to render a 3D picture,Because I directly read the external model information to generate a preview image,So it may not be useful to find the AC API。Now I am trying to use the function inside glew.h with Graphix module.