I have RayTracedTechnique putting graphics on the screen, but things aren't
rendering correctly. The culprit is the 'osg::Texture3D::LINEAR' choice that is
used by default as the min/mag filter for the Texture3D object created by
RayTracedTechnique. I'd like to change to NEAREST as I'm working
https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osgposter/osgposter.cpp
On Tue, Apr 16, 2019 at 12:22 PM Catalin Flower wrote:
> Hi,
>
> What is the canonical way to capture an image of a view to memory with
> different resolutions?
>
> Thank you!
>
> --
>
Hi,
The following basically simulates the use case that's causing problems.
Code:
#include
#include
#include
#include
#include
#include
#include
/** A representation of something that gets edited.
* Pretend it's actually more complicated than this so that reference counting
the
Yeah, I wouldn't totally expect it would, but you can probably do that
intersection test yourself if needed. I think it'll be faster and more
accurate than the Z-buffer.
I did a tool that relied on the Z-buffer once. It was a bad choice...
On Tue, Apr 16, 2019 at 1:05 PM Anna Osvin wrote:
> If
"Catalin Flower" writes:
> Hi,
>
> What is the canonical way to capture an image of a view to memory with
> different resolutions?
Hi, I think that examples/osgposter/osgposter.cpp might be what you are
looking for.
--
Alberto
___
osg-users mailing
Hi,
I use OpenSceneGraph and I want to use some features of OpenGL 3.3 and the Core
profile. I compiled OpenSceneGraph with the option -DOPENGL_PROFILE=GL3. I got
the features I wanted, however, some features of OSG do not work anymore, as
lighting with osg::Light, osg::LineWidth,
Hi,
What is the canonical way to capture an image of a view to memory with
different resolutions?
Thank you!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75830#75830
___
osg-users mailing list
If you mean osgViewer::View::computeIntersections, then we tried it. For some
reason it does not check intersections with volume model.
Here is raycast intersection check code:
Code:
bool pickPolygonalSceneIntersection( osgViewer::View& view, const osg::Vec2&
point2d, osg::Vec3& pickedPoint )
8 matches
Mail list logo