Hi Nick,
thanks for the support but even with that line I can't see the result I
expected. Basically, when the application starts, if I select a green triangle
then it should be shown in red, while now it ramains green. (please see
attached movie). In fact the triangle after picking is moved fro
Sorry for the slow response, I've worked it out.
I had to:
- Add normals to all points
- Add directional lighting from multiple directions (6 in fact), so that the
lighting is fairly omnidirectional
...and the points are now showing correctly. Thanks for the help!
Dave
--
Read
Hi Gianni,
I give it a shot. Your code actually works. Only one little line to add
in doUserOperations - you should dirty the vertex buffer object
selVertices->dirty();
selVertices->getBufferObject()->dirty(); <--- this is the thing
_selector->dirtyBound();
Cheers!
Nick
On Tue, Sep 20, 2016
Trajce Nikolov NICK wrote:
> Hi Gianni,
>
> if you make Qt free example I can have a look
>
Sorry, this example "was" with Qt, now it is Qt-free. Just remove the includes
on top: they are not used in this code.
Gianni
--
Read this topic online here:
http://forum.openscenegrap
It is a sensible but not very flexible way to answer the issue imho. I
could propose the "conan" way like we do internally (upload versioned
binary packages to a public repo). But I will make a proposal first.
___
osg-users mailing list
osg-users@lists.op
Hi Gianni,
if you make Qt free example I can have a look
On Tue, Sep 20, 2016 at 12:33 PM, Gianni Ambrosio
wrote:
> Hi All,
> I'm attaching the updated code where you can see the problem: even if I
> call dirty() for primitive sets and dirtyBounds() on the related geometry,
> the graphics is no
Hi All,
I'm attaching the updated code where you can see the problem: even if I call
dirty() for primitive sets and dirtyBounds() on the related geometry, the
graphics is not updated.
Cheers,
Gianni
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=
Hi,
After a few more days of search, I can resume my problem in a more simple way :
I've a set of osg::Program.
Each Widgets has its own contextID, and contextID can be re-used.
The first time I load the osg::Program "my_program1" on a view with a contextID
of 1, it's ok.
If then I load "my_p
Hi Mathieu,
> If I want to compile osgQt using travisCI or appveyor I need to pull also
> osg's code to compile it ?
>
Maybe we could upload the OSG succesful builds in travis CI to docker. And
then pull it from osgQt build. I will need to figure out how to do this but
it cuold be an option.
Ch
9 matches
Mail list logo