OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

what should I dirty when I change ColorArray on the fly?


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Trajce Nikolov NICK
Guest





PostPosted: Wed May 03, 2017 6:47 pm    Post subject:
what should I dirty when I change ColorArray on the fly?
Reply with quote

Hi community,

this is simple question. I am updating the Color array of a osg::Geometry on the fly. It is not having effect. The Geometry is not using displaylist. How/What should I do to have the color mods "updated" in the rendering correctly?


Thanks a bunch as always?

--
trajce nikolov nick

------------------
Post generated by Mail2Forum
Back to top
gwaldron (Glenn Waldron)
Appreciator


Joined: 25 Aug 2011
Posts: 196

PostPosted: Wed May 03, 2017 6:58 pm    Post subject:
what should I dirty when I change ColorArray on the fly?
Reply with quote

Nick,If you have VBOs enabled, I think you just have to call dirty() on the color array itself.



Glenn Waldron




On Wed, May 3, 2017 at 2:43 PM, Trajce Nikolov NICK < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Hi community,

this is simple question. I am updating the Color array of a osg::Geometry on the fly. It is not having effect. The Geometry is not using displaylist. How/What should I do to have the color mods "updated" in the rendering correctly?


Thanks a bunch as always?

--
trajce nikolov nick




_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Trajce Nikolov NICK
Guest





PostPosted: Wed May 03, 2017 7:20 pm    Post subject:
what should I dirty when I change ColorArray on the fly?
Reply with quote

yes Smile .. Thanks Glenn .. I totally missed that

On Wed, May 3, 2017 at 8:54 PM, Glenn Waldron < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Nick,If you have VBOs enabled, I think you just have to call dirty() on the color array itself.



Glenn Waldron




On Wed, May 3, 2017 at 2:43 PM, Trajce Nikolov NICK < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:


Quote:
Hi community,

this is simple question. I am updating the Color array of a osg::Geometry on the fly. It is not having effect. The Geometry is not using displaylist. How/What should I do to have the color mods "updated" in the rendering correctly?


Thanks a bunch as always?

--
trajce nikolov nick






_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





--
trajce nikolov nick

------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Change Perspective to Orthogonal View romulogcerqueira General 1 Mon Mar 06, 2017 12:51 am View latest post
No new posts How to change terrain elevation manua... vinothrajendran4 VirtualPlanetBuilder [vpb] 1 Wed Jan 04, 2017 5:00 am View latest post
No new posts Material Properties to Change the Nor... romulogcerqueira General 11 Fri Dec 23, 2016 2:48 pm View latest post
No new posts Change Graphic Context Runtimely tianzjyh General 0 Mon Nov 21, 2016 10:09 am View latest post
No new posts Color Change Question szadeklord General 1 Wed Jul 06, 2016 10:05 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP