Take the results from the PolytopeIntersector, project them to screen
space, measure the distance from your mouse XY to the projected point, sort
the result set by this metric and take the closest.
On Fri, Dec 23, 2016 at 3:22 AM, Robert Osfield
wrote:
> HI Bruno,
>
>
Hi, Terry.
You should pay attention to Proland:
http://proland.inrialpes.fr/index.html
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69759#69759
___
osg-users mailing list
Hi Rômulo,
If you pass a normal map, you could either use the alpha-channel of said
texture or pass another "grayscale" texture which containst the scale if
you need it per pixel.
In case you need to control the scale for the object you can set an
uniform value per object containing the
Hi,
I have simulated a sonar sensor using normal depth map by custom 3D shader from
OpenSceneGraph scene.
I already implemented the Bump Mapping technique to change the normal
directions. For now, I need to change the material properties (e.g.
reflectance) of scene's objects to
Hi,
For some obscures reasons I don't want to debate here, I would like to reset
the attachments of a osg::FrameBufferObject.
Is the any particular reason why there's no such a public
Code:
inline void clearAttachments(){_attachments.clear();}
method present in osg/FrameBufferObject?
Hi Ekaterina:
Hello,
after checking more the forum, I have found another topic
http://forum.openscenegraph.org/viewtopic.php?t=9182=jotschi
with the following code, which I have slightly modified.
I would be very grateful, if someone can explain to me why the basic model is
black and how
Hello,
after checking more the forum, I have found another topic
http://forum.openscenegraph.org/viewtopic.php?t=9182=jotschi
with the following code, which I have slightly modified.
I would be very grateful, if someone can explain to me why the basic model is
black and how to avoid it?
Or
HI Bruno,
For a point cloud you may be best to implement your own
osgUtil::Intersector, the design is meant to facilitate this,
LineSegmentIntersector and PolytopeIntersector are both examples of
subclasses from Intersector so you could use these as inspriation.
Robert
On 22 December 2016 at
8 matches
Mail list logo