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 

missing color for simple model with GLCORE


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
aroth (Andreas Roth)
User


Joined: 08 Feb 2010
Posts: 28

PostPosted: Fri Jul 27, 2018 1:55 pm    Post subject:
missing color for simple model with GLCORE
Reply with quote

Hi,

i'm trying to get a model with colors and GLCORE (in OSG 3.6.2).

If i build OSG with the standard build options using GL2 the model shows some color (see osg_gl2.png). When i buildOSG with GLCORE the load does not show any colors (see osg_glcore.png).

The model does not contain any textures, only a geometry with a color array. How can i enable the colors for GLCORE?


Thank you!

Andreas[/img]
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12127

PostPosted: Sat Jul 28, 2018 9:20 am    Post subject:
missing color for simple model with GLCORE
Reply with quote

Hi Andreas,

When you use GLCORE you have to provide your own shaders to do rendering.

Unless you really have to use GLCORE for portability reasons - such as
OSX or to avoid crappy driver issues, I would recommend just sticking
with the default build of the OSG where you can mix and match old
fixed funciton pipeline and new shader code when you want, without
having to go all in with shaders.

Robert.
On Fri, 27 Jul 2018 at 21:29, Andreas Roth <> wrote:
Quote:

Hi,

i'm trying to get a model with colors and GLCORE (in OSG 3.6.2).

If i build OSG with the standard build options using GL2 the model shows some color (see osg_gl2.png). When i buildOSG with GLCORE the load does not show any colors (see osg_glcore.png).

The model does not contain any textures, only a geometry with a color array. How can i enable the colors for GLCORE?


Thank you!

Andreas[/img]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74403#74403






------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
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 axis / axes with color array doesn't ... Steal General 0 Wed Sep 05, 2018 4:07 pm View latest post
No new posts Model matrix kullboys General 0 Tue Aug 21, 2018 7:10 am View latest post
No new posts Can Material, Color, LightSource, etc... jovo General 1 Thu Jul 19, 2018 10:02 am View latest post
No new posts Missing OpenThreads PDB when building... guyv Build system [build] 0 Thu Jul 12, 2018 12:39 pm View latest post
No new posts Model(s) load ~10 times longer in 3.6... davisjamesf General 16 Wed Jul 04, 2018 7:18 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