- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
About HA_Render_ Entity
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-28-2010 06:32 AM
Hi,
Sorry to bother you. I have some questions about ACIS Hoops bridge: HA_Render_Entity. As we know, this method first get the top owner of the entity you send and then use ConvertEntity() method to map ACIS entity and hoops geometry. Here assume I have a cuboid with six faces, if I offset one of these six faces, we know that it will change only five of these six faces. Then I just want to use HA_Render_Entity function to render the changed faces but not the whole body. What should I do? I tried to change the HA_Render_Entity function to let it not render the whole body but rather the entity(e.g. faces) I want to render. However failed. Do you have any suggestion? Thanks a lot.
Best regards,
T
Re: About HA_Render_ Entity
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-28-2010 04:12 PM
Hello tianxuefeng,
Please review the following
1) http://doc.spatial.com/index.php/HOOPS/ACIS_Bridge
3) http://doc.spatial.com/qref/ACIS/html/group__ACISH
As you are making changes to model the best way is to render faces instead of whole body (see link 2) , get the modified faces (seel link 3) and call HA_Render_Entity on the modified faces.
I hope this helps.
Regards,
Yogesh
About HA_Render_ Entity
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-28-2010 01:46 AM
Hi,
Sorry to bother you. I have some questions about ACIS Hoops bridge: HA_Render_Entity. As we know, this method first get the top owner of the entity you send and then use ConvertEntity() method to map ACIS entity and hoops geometry. Here assume I have a cuboid with six faces, if I offset one of these six faces, we know that it will change only five of these six faces. Then I just want to use HA_Render_Entity function to render the changed faces but not the whole body. What should I do? I tried to change the HA_Render_Entity function to let it not render the whole body but rather the entity(e.g. faces) I want to render. However failed. Do you have any suggestion? Thanks a lot.
Best regards,
T
Re: About HA_Render_ Entity
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-29-2010 12:51 AM
Hello,
Perhaps you should pay attention to another HA bridge method called "HA_Set_Render_Options", and pass a ha_render_options object which has been configured by your willing, especially the "SetMergeFacesMode" member function.
Good luck!
Jimmy

