Hi,
You just need load some two textures here is the code
osg::Program* program = new osg::Program;
geometry-getOrCreateStateSet()-setAttribute(program);
char vertexShaderSource[] =
varying vec2 texcoord;\n
\n
Hi, all
I'm wondering if it's possible to use osg on vxworks(every version is OK).
Please, let me know how to use it.
Thank you!
Cheers,
Sang-hyeon
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33162#33162
I want to record a video and put 3D augmented reality on top of each frame of
the AVI. Due to the fact that I don't want to skip frames, I store all AVI
frames in memory during recording and after each video frame has been captured,
I also store the view and projection matrices of the 3D view
Hi John,
My guess is that the OSG is setting some OpenGL state that is being
inherited into the Qt GL drawing code.
Mixing OSG and other GL code is a little tricky as the OSG uses lazy
state updating to provide efficient use of OpenGL/graphics card, this
lazy state updating means that the OSG
Hi John,
What you're trying to do is really nice, any chance you'll share the code ?
It could make a cool OSG and QT example.
Cheers,
On Thu, Oct 28, 2010 at 10:16 AM, Robert Osfield
robert.osfi...@gmail.comwrote:
Hi John,
My guess is that the OSG is setting some OpenGL state that is being
Hi,
I want to update this post to update any interested peoples on the situation.
It seems that, in fact, the FBX file 2010.2 exported by cinema4d (R11, R11.5,
R12) are not compliant with the autodesk fbx format for some reason.
The QTFBXViewer is able to visualize the object geometry but not
Hi,
I have no errors, just version using draw elements is not displayed. I'm using
VC2008 Express under Vista64 on GF9800GT. Are there any limitations using draw
elements i should know about?
Thank you!
Cheers,
Robert
--
Read this topic online here:
Hi,
I use osg and VRJugggler (for Virtual reality application) to display a terrain
generated with VirtualPlanetBuilder. I load the terrain in VRJuggler using
osg::DatabasePager. The load works well. I use head tracking in VRJuggler. But
when I move the head or I move the terrain in my scene,
Hi,
In fact, I obtain the same thing with osgViewer (cf. attachment).
What is the problem?
Thank you!
Cheers,
lucie
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33169#33169
Attachments:
http://forum.openscenegraph.org//files/image_165.jpg
Hi,
Am 28.10.10 10:34, schrieb Dario Minieri:
Someone else has a similar experience about fbx files from C4D?
we ditched FBX for C4D export completely, because we had missing
geometries / vertices, wrong animations, etc. And the culprit was
cinema4d, because even the FBX-viewer for Quicktime
I want to record a video and put 3D augmented reality on top of each frame of
the AVI. Due to the fact that I don't want to skip frames, I store all AVI
frames in memory during recording and after each video frame has been captured,
I also store the view and projection matrices of the 3D view
Hi,
Can this post be removed ? I posted this in the wrong forum group. I already
moved it to the General Forum of the OpenSceneGraph list.
Thank you!
Cheers,
benedikt
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33173#33173
Hi,
I have found one interesting behaviour yet:
osg::ref_ptr osg::UIntArray array = new osg::UIntArray();
array-push_back( 0 );
array-push_back( 1 );
array-push_back( 2 );
array-push_back( 3 );
p_geometry-addPrimitiveSet( new osg::DrawElementsUInt(
osg::PrimitiveSet::TRIANGLES,
Hi,
Are you rendering the front or back? The image looks if you are renderuing the
terrain from below, so from the back side..
Thank you!
Cheers,
Torben
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33175#33175
Hi,
After deep analyze of osgTerrain code i found solution fine for me. In original
code all geometry are generated and keeped in GeometryTechnique class , so one
solution could be changes in geometry techniuqe object or creating own class
deriving from terrain technique. I've made second
Hi,
The problem is only when I am rendering the back (the underside of the terrain).
Is it normal?
Thank you!
Cheers,
lucie
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33177#33177
___
osg-users
Hi Lucie,
On Thu, Oct 28, 2010 at 1:15 PM, lucie lemonnier
lucielemonn...@hotmail.fr wrote:
The problem is only when I am rendering the back (the underside of the
terrain).
Is it normal?
The VirtualPlanetBuilder assigned cluster culling callbacks on tiles
when you have built an geocentric
Hi,
does anybody know, what formats (like IFC) can include object properties, like
length/area/volume, material properties (thickness, material name ...)
I mean, we need some format (which can be opened in the OSG) and which is able
to be exported from Autodesk (Revit, Autocad), Graphisoft
Zdravko wrote:
Hi,
Yes, ActiveX is here:
http://openscenegraph.org/projects/osg/attachment/wiki/Community/WindowingToolkits/
Now, does someone have expirience with IFC?
Cheers,
Zdravko
here is IFC SDK:
http://forge.osor.eu/projects/ifc-sdk/
and here is IFC SDK start page:
Thanks for your replies.
I understand what's going on with osggeometryshaders with respects to the
camera.
I confirm turning culling off (I use osg::Node::setCullingActive(false) on my
geode) makes it work.
Thanks again.
--
Read this topic online here:
Hi Fred,
On Thu, Oct 28, 2010 at 3:01 PM, Fred Smith osgfo...@tevs.eu wrote:
Thanks for your replies.
I understand what's going on with osggeometryshaders with respects to the
camera.
I confirm turning culling off (I use osg::Node::setCullingActive(false) on my
geode) makes it work.
Hi,
I'd to initialize my scene one cpp-file and launch it in another. Is it possible
Code:
osgViewer::Viewer pipeviewer;
pipeviewer=osgScene();
osgScene():
osgViewer::Viewer osgScene(){
osgViewer::Viewer viewer;
...viewer initialising procedures
return viewer;
}
Thank you!
robertosfield wrote:
This does suggest that small feature culling may well be the cause.
I'm surprised my suggested change didn't work for you, perhaps
something went amiss with the application of the change. Others in
the past have come up across this issue and solved it roughly the way
Hi,
Thank you for your reply.
I have change the CullSettings and it works well.
Cheers,
lucie
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33186#33186
___
osg-users mailing list
Hi John,
Is there a reason you can't dynamically allocate the viewer and return a
ref_ptr to it, instead of returning by value?
Cheers,
Tom
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33188#33188
Hi,
I am working with 3-D point data. When I want to render millions of points,
either the rendering, zoom-in, zoom-out and panning goes very slow or the
program crashes.
Is there any method in OSG for rendering huge point data easily?
Thank you!
Cheers,
Vipin
--
Read this
The weird thing is that it is not working with the frame buffer object render
target (black image).
Should I consider a pbuffer ?
Thank you!
Cheers,
benedikt
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33190#33190
On 10/28/2010 10:25 AM, Vipin Panwar wrote:
I am working with 3-D point data. When I want to render millions of points,
either the rendering, zoom-in, zoom-out and panning goes very slow or the
program crashes.
Is there any method in OSG for rendering huge point data easily?
You don't
Thanks. No, there isn't any reason=)
Is this code write? I get an error and a program closes.
Code:
osg::ref_ptrosgViewer::Viewer pipeviewer;
pipeviewer=osgScene();
while (!pipeviewer-done())
{
pipeviewer-frame();
}
osgScene():
Code:
osg::ref_ptrosgViewer::Viewer
I have an error on such simple code. How must be written viewer?
Code:
int main()
{
osg::ref_ptrosgViewer::Viewer viewer;
viewer.get()-setCameraManipulator(new osgGA::TrackballManipulator());
while(!viewer.get()-done())
{
viewer.get()-frame();
}
return 0;
}
Hi,
I am reading the points from LAS file and rendering the data. The data is not
dynamically updated. I am pasting the subset fo code. So that you can find out
how I am rendering the points.
for(unsigned long k = 1; k no_points; k ++)
{
lasVertices-push_back(
You have to use 'new' somewhere, like:
osg::ref_ptrosgViewer::Viewer viewer = new osgViewer::Viewer();
Cheers,
Tom
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33195#33195
___
osg-users mailing
Hi,
I am reading the points from LAS file and rendering the data. The data is not
dynamically updated. I am pasting the subset fo code. So that you can find out
how I am rendering the points...
for(unsigned long k = 1; k no_points; k ++)
{
thanks a lot [Exclamation] [Exclamation] [Exclamation]
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33197#33197
___
osg-users mailing list
osg-users@lists.openscenegraph.org
On 10/28/2010 10:57 AM, Javier Taibo wrote:
I suggest you to use just one primitive for all the point cloud, not a
primitive for
each point.
And depending on how many points you have, it may be necessary to break the
full set up
into blocks so that some can be culled and not drawn if you
Hi Javier, thanx for reply...
initially, I was also making one primitive for whole data, but it was not
rendering the huge data. It was working fine only for thousands of points.
Thank you!
Cheers,
Vipin
--
Read this topic online here:
Hi Vipin,
You can take a look to the .3dc plugin sources. Here the geometry is batched
into chunks of 10.000 points, which is a well-working size for batching
geometry as Chris said. If you spatialize your data correctly may be you
don't have to use LOD techniques, it depends of the amount of
Hi,
Xenon and Jordi, thanx for replying.
I am also going for spatial blocking using quad trees and display the block and
its neighbors when zoom in the data. But I want to know whether there is more
convenient method in OSG for these type of problems.
Thank you!
Cheers,
Vipin
On 10/28/2010 11:35 AM, Vipin Panwar wrote:
Hi,
Xenon and Jordi, thanx for replying.
I am also going for spatial blocking using quad trees and display the block
and its neighbors when zoom in the data. But I want to know whether there is
more convenient method in OSG for these type of
Hi,
we are currently working on a routine that deforms large vertex arrays on the
fly. To speed this up we implemented multithreading using OpenThreads.
Simple example:
We have a point cloud of e.g. 10 million points. The calculation is done on
e.g. 4 processors.
The first thread is assigned
Hi,
I inherited some code to read back texture data. This works fine on Linux
platform but seg fault on Windows. Following is the list of the code segments,
..
// create and configure the texture that we're going
// to use as target for render-to-texture (depth)
m_texture = new
Hi,
... I am new in OpenSceneGraph. I want to disable the mouse event and use these
event (Rotate, Zoom, Pan ) in separate buttons.
Thank you!
Cheers,
Lalit Manchwari
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33198#33198
Hi,
On 29/10/10 3:50 , Lalit Manchwari wrote:
... I am new in OpenSceneGraph. I want to disable the mouse event and use
these event
(Rotate, Zoom, Pan ) in separate buttons.
What do you mean 'disable the mouse event'? If you don't attach a manipulator
then no
events will be processed. You
Hi Johannes,
On 29/10/10 5:31 , Johannes Scholz wrote:
When testing this on 64bit Linux we noticed that setProcessorAffinity returns
-1.
Performance does not scale at all. All operations seem to be executed on one
CPU.
I already learned that using pthreads on linux setProcessorAffinity
Hi Ulrich,
I wanted to know if the following is a worthwhile option:
I have the data as a shapefile (.shp) and need to create the 3D model from
that. I realize that osg can load shp files so is it a good option to modify
the plugin dll that loads shp files ? So that when it comes across a
Hi Sanat,
On 29/10/10 8:28 , Sanat Talmaki wrote:
I have the data as a shapefile (.shp) and need to create the 3D model from
that. I
realize that osg can load shp files so is it a good option to modify the
plugin dll
that loads shp files ? So that when it comes across a polyline feature,
Hi,
forget about my posting. i just find out the problem is with the allocation of
the buffer. i accidentally cleared the buffer (which resize the buffer to size
0). just ignore my posting.
...
Thank you!
Cheers,
weiliang
--
Read this topic online here:
Hi,
...
I compiled osg with quicktime plugin. Now now this error message comes
Error while initializing the quicktime - -2095 error comes and the video is not
played. Why id that? How can i get away from that
Thank you!
Cheers,
Aruna
--
Read this topic online here:
48 matches
Mail list logo