hi , friends.
when i edit some geometries in the scene. i want to disable the
cameraManipulator, someone tell me how to ?
wh_xiexing___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-
hi friends:
osg support gocad file format? or is there a plugin like DB_gocad ?
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org__
hi friends:
i have 2 models to render, some part of which are overlaped . so the result
is some kind of weird. how can i resolve this probem?
do i need to split the model and align them? or set different render details
for the 2 models?
Shawl__
hi friends:
m y question is that i want to select a point of the scene as the rotation
center of the trackball manipulator . i know how to pick objects ,
but the scene is showing a point cloud , how to select the litttle point in
the scene among the point cloud? is there a method to pick
i have a mesh and want to project several photo on the mesh . code is here:
osg::Switch *layer = new osg::Switch;
osg::Geode* leaf = 0;
if (!hasTexture){
leaf = createLeaf(points, numOfVert, tris,header.np);
layer->addChild(leaf);
}else{
osg::Group *group = new osg::Group;
for (unsigned int
...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of wh_xiexing
Sent: 05 November 2012 06:50
To: osg-users
Subject: [osg-users] how to turn on the quad buffered feature.
i want to use the stereo feature of osg.
osg::DisplaySettings::instance()->setStereoMode(mode);
i want to use the stereo feature of osg.
osg::DisplaySettings::instance()->setStereoMode(mode);
osg::DisplaySettings::instance()->setEyeSeparation(0.01*value);
where mode is osg::DisplaySettings::QUAD_BUFFER . but it doesn't work.
my graphic card is the most recent quadro k4000M. do i need t
hi friends:
i want to save the kdtree into an extern file so that it can prevent
building it every time i open a model file?
can it be possible?
Shawl___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/l
hi friends
sometimes we need fixed size object like annotation and control point , i
know that using hud camera can make an object fixed size . has any better
away to do that?
Shawl___
osg-users mailing list
osg-users@lists.openscenegraph.org
htt
add an empty group to the root . the mode looks like without normal .
when removed the empty group . the light and other geometries appeared
have someone met this situation?
Shawl
发件人: wh_xiexing
发送时间: 2012-11-01 17:23
收件人: osg-users
主题: [osg-users] adding empty group to the scenview
hi friends:
adding empty group to the scene view tree will make the light and normal lose
it's effect? i do this in order to add geometries to the group later on.
Shawl
From: Robert Osfield
Date: 2012-10-22 23:48
To: OpenSceneGraph Users
Subject: Re: [osg-users] slave camera render to textu
e best way? it's wierd that sometims the line is disappeared.
other question is the GL API
glPushAttrib(GL_TRANSFORM_BIT); in pushProjectionOffest is identical to
calling
osg::GLBeginEndAdapter& gl 's method ?
Shawl
发件人: wh_xiexing
发送时间: 2012-10-29 16:50
收件人: os
can use to modify
the modelview and projection matrices along with many other things.
As you see there are plenty of options, which to recommend I can't say
as you haven't yet given the context of the problem you are trying to
solve.
Robert.
On 29 October 2012 00:21, wh_xiexing wrote:
>
i want to implement the same effect of the following code using open scene
graph. can it be possiable?
public void pushProjectionOffest(Double offset)
{
// Modify the projection transform to shift the depth values slightly
toward the camera in order to
// ensure the lines are
osg users :
building kdtree makes it a long time to open a model file, could i
build kdtree in a background thread? if i can , how to do that ?___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/li
i have hundreds of millions of points to render.i think the Geometry 's
setVertexArray (Vec3Array) is time consuming .
for every point , it must construct a Vec3 class, and put it into the array.
so i want to modified it to setVertexArray (float*) , so that i can read a
block of dat
hi friends. i look through the code ,but can't find the places where the
osg call opengl's api . like glDrawArray .
could someone tell me how the osg interact with the opengl?
Shawl___
osg-users mailing list
osg-users@lists.openscenegraph.or
dear friends:
i am newbie . my question is , i have a group which contains a lot a
gode. in order to speed the rendering . i don't know whether i need to write
a cull callback . or do nothing and let the osg system do the culling work
instead . does osg automatically traverse the
Dear friends .
i want to create an editor tool that can select a cluster of points
one time in order to remove the selected points .
osg provide the functions to do that job? or i need to code from
scratch?
thank you for your help
Shawl__
Dear friends:
in openGL programming . there is a method to pick the object from the
scene.rendering the scene in the back buffer, every object with an unique
color .
than , rendering second time in a normal way. when the user move mouse in the
screen . read the pixel value un
thank you , Robert. you solved my problem.
wh_xiexing
From: Robert Osfield
Date: 2012-08-23 18:53
To: OpenSceneGraph Users
Subject: Re: [osg-users] HUD disappeared
Hi wh? xiexin? Which human name would you like to be addressed as?
There isn't any way we'll be able to pi
dear friends:
when the user resize the applicatioin's window, how do i know the viewport of
the camera is changed?
wh_xiexing___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscen
i create a compass on the screen, but when i open an model , the HUD Compass
disappeared . following is my code.
can some one tell me how to resolve this problem?
//create hud camera
theCameraNode = new osg::Camera;
theCameraNode->setReferenceFrame(osg::Transform::ABSOLUTE_RF);
theCameraNode->
i am newbie of OSG. i used worldwind to represent the globe. now migrate to
OSG , i wondered how to draw lines , polygons , and add
some mesurement function in my software, can someone give me an idea?___
osg-users mailing list
osg-users@lists.o
HI.
I implement a readerwriter plugin to read .las file which contains
tremendous amount of points . so i want to use progressbar to tell the user
how much points i have read .
anybody can tell me how to do?
thank you___
osg-users maili
25 matches
Mail list logo