Hi Daniel,
On 16/10/10 12:18 , Daniel Barber wrote:
> (Ubuntu 10.04), and I am not able to get the program to load my IVE files
> that were
> generated in Windows. However, the osgviewer program is able to open the
> files without
> problem, but my program won't. Every time I try using osgDB::
Hi,
I am in the process of porting a program using OSG developed in Windows to
Linux (Ubuntu 10.04), and I am not able to get the program to load my IVE files
that were generated in Windows. However, the osgviewer program is able to open
the files without problem, but my program won't. Every
Hi,
I haven't done this myself, but I believe the PolytopeIntersector will give you
a list of points you are after. You need to define the planes that make up your
volume and then use an IntersectionVisitor with the PolytopeIntersector to
intersect agains your terrain. From there you can retrie
I have been using the SphericalManipulator and it works really well
for my application.
One thing I would like to do is change which direction is up. The
default is Z == up. Sometimes I want X to be up. If I understand the
code, I need to make fairly extensive modif
Hi, I generate terrain using VPB and need to implement intersection lines like
on attached picture (green lines that shows intersecton between cone and
terrain). Could someone please give me a hint how to make it using osg?
Thank you!
Cheers,
Roman
--
Read this topic online her
Hi JP,
As soon as I attach an image, OSG crashes on me. The problem arises in
FrameBufferObject::Pimpl::Pimpl.
Code:
// This code crashes
osg::Texture2D *texture = new osg::Texture2D();
texture->setTextureSize(1024, 1024);
texture->setInternalFormat(GL_DEPTH24_ST
Hello Lee,
I think fork is more sharp :). Ha, I am sorry for the wrong words.
Hehe, it's fine, I didn't mean to make fun of your wording, it was just
a funny slip. :-)
Actually, I found that the 3rd part lib I download from osg office site
is not include the libpng(d).dll file.
It might
Ok
I have always problem to compile FFMpeg but it isn't the topic of this forum...
I have found the release for Windows (with the link of Norman) and the plugin
works perfectly !
Thanks for your help !
Cheers,
Patrice
--
Read this topic online here:
http://forum.openscenegrap
Hi Björn,
If setting the DataVariance to DYNAMIC doesn't fix the crash then it
looks likely that the problem is elsewhere. I don't have an answer to
what this might be, debugging problems like this is hard when you have
the crashing app in front of you, without this it's just a case of
educated g
OK, so we've finally arrived at your problem :)
On 15/10/10 14:31, Aitor Ardanza wrote:
Yeah, I understand it... but I can't work on a quad, because I need
to compare the position of the picking and the vertex in the vertex
shader, and depending on the distance between them make a new texture
..
Hi J-S
Thanks for your reply!
I think fork is more sharp :). Ha, I am sorry for the wrong words.
Actually, I found that the 3rd part lib I download from osg office site is
not include the libpng(d).dll file.
The libpng.dll I used is complied by the newest version download from libpng
office site
Yeah, I understand it... but I can't work on a quad, because I need to compare
the position of the picking and the vertex in the vertex shader, and depending
on the distance between them make a new texture
Doing on a quad, the resulting image would be the next:
[Image: http://img836.imagesh
Hello Lee,
Hi forks.
I prefer to think of myself as a spoon. SPN! Sorry, I had to. :-)
1 When I run it via visual studio, I get information that can not load
island.ive. But I have download the oceandata and put it into resources
directory just like osgocean wiki told.
If you run i
Hi forks.
I saw some pictures in the internet about osgocean and attracted by it's
amazing effects.
now I want try myself.
I have compiled it, but some problems at run time.
1 When I run it via visual studio, I get information that can not load
island.ive. But I have download the oceandata and p
Hello Laurens,
Thank you, you are correct it worked.
Best regards,
On Fri, Oct 15, 2010 at 11:23 AM, Laurens Voerman wrote:
> Hi Mahendra ,
> osgimage::data() returns an (unsigned char *) so the array indexing only
> steps one byte. use
>
> ((float *)dirImage->data(i))[0] = pos.x();//same effe
Hi Robert et al,
I have already set DYNAMIC data variance to both the osgText::Text and the
osg::Geode which holds the text. Crashes anyway.
I have tried to replicate the error in a more simple environment than our
production software. But no luck with getting crashes with the simple one. :/
T
Hi Mahendra ,
osgimage::data() returns an (unsigned char *) so the array indexing only
steps one byte. use
((float *)dirImage->data(i))[0] = pos.x();//same effect
((float *)dirImage->data(i))[1] = pos.y();//different effect
((float *)dirImage->data(i))[2] = pos.z();
Laurens.
On 10/15/2010 10:
Hello guys,
I'm trying to write and then read back float data from an image but for some
reason only the last written data seems correct
code:
dirImage->allocateImage((int) vertices.size(), (int)vertices.size(),
(int)vertices.size(), GL_RGB, GL_FLOAT);
for ( unsigned int i = 0; i < vertices.si
Hi Thomas,
15.10.2010 0:26, Thomas Hogarth wrote:
Hi Robert, Mikhail
Mikhail thanks for pointing me to this as a solution to my subload problems.
Robert, i'll take a look at the new code, but I assume this can be used to
solve my problem of not wanting the object released if the image demensi
Hi Fred,
we've also encountered cases (float formats) where we need to call:
void setInternalTextureFormat(GLint internalFormat);
after allocateImage in the case of using Images to read back data. If
you look at allocateImage code, you'll see why.
Can you check if this works for you without
20 matches
Mail list logo