<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    Just pointing out, that you might have been lucky: <br>
    <div class="moz-cite-prefix">Your example is crashing on my machine,
      due to the empty primitive-sets ;) There isn't even picking
      involved. <br>
    </div>
    <blockquote cite="mid:c4f8f576-88e5-e9ed-b0e1-83f8c90af033@gmx.de"
      type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <p><br>
      </p>
      Hi Gianni.<br>
      <blockquote
        cite="mid:1475068940.m2f.68809@forum.openscenegraph.org"
        type="cite">
        <pre wrap="">Hi Sebastian,
in attachment you can find a movie of what I implemented with primitive sets. That's exactly what I need.
The "road" is initially gray. Then the user choose a color (pushing in my example 1,2,3 or 4 key) and picking the road surface triangles are coloured with the current color.

Since you said what I implemented with primitive sets is not the right way to do, then I'm trying to change my mind using the approach you suggested (i.e. textures) to reach exactly the same behaviour. In this case I could use a "monochromatic" image (to mimic the behaviour of my example) or a nice texture loaded from file. A nice texture anyway is not a must.</pre>
      </blockquote>
      I just think that it is rather complicated* and not a very
      scalable solution in my eyes . Of course you can go your way. But
      it seemed, that you somehow had to rely on very specific order of
      primitive sets etc. That is why I presented some ideas how to
      tackle it differently and maybe less convoluted.  I simply
      wouldn't have preferred this solution. <br>
      <br>
      <blockquote
        cite="mid:1475068940.m2f.68809@forum.openscenegraph.org"
        type="cite">
        <pre wrap="">
In attachment you can find also the example code I run to record the movie.</pre>
      </blockquote>
      Thanks, so basically that is what you meant when you said
      "monochromatic".<br>
      <br>
      <br>
      Cheers<br>
      Sebastian <br>
      <br>
      <br>
      *complicated because you're happily jumping between the
      primitive-sets on something that looks like a bold assumption to
      me. Maybe I'm overlooking something. <br>
      <blockquote
        cite="mid:1475068940.m2f.68809@forum.openscenegraph.org"
        type="cite">
        <pre wrap="">
Hope this helps,
Gianni

------------------
Read this topic online here:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://forum.openscenegraph.org/viewtopic.php?p=68809#68809">http://forum.openscenegraph.org/viewtopic.php?p=68809#68809</a>



</pre>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
osg-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
osg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>