Jump to content
JBenghiat

OpenGL update after modifying texture

Recommended Posts

Is there a way to get OpenGL to reflect an edit made to a shader record?  Currently, changes apply as expected to Renderworks, but for OpenGL, I need to open OpenGL settings and change Detail, Use colors, or Use textures and OpenGL resets.  Changing render modes doesn't make a difference — OpenGL will read the previous texture definition until I toggle a setting.

 

So far I've tried:

 

objTexture.ResetObject();

objTexture.UpdateThumbnailPreview();

 

NotifyAnyStuff notification(kNotifyMaterialChange);

gSDK->Kludge(kKludgeNotifyAny, &notification, nil);

 

gSDK->RefreshRenderingForSelectedObjects();

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...