"Samuel Grant" writes:
> Hi,
>
> Ok, I have completely recompilied everything. Even downloaded the 'latest and
> greatest'...or what I could find.
>
> I compiled libjpeg, libpng, zlib, etc. Then compilied GDAL, then OSG.
>
> Everything compiles fine. When I try to open a JPEG, I get one of two er
Hi Robert,
I think I know why the TerrainTechnique Prototype is not loaded:
The ive loader loads the the tile and its terrainTechnique via
TerrainTile::readTerrainTechnique(DataInputStream* in) in
\OpenSceneGraph-2.9.10_x86\src\osgPlugins\ive\TerrainTile.cpp and ignores the
terrainTechnique
Hi Torben,
Good detective work. The problem with the hardwired GeometryTechnique
doesn't come from the .ive plugin, it's just doing what is stored.
The problem comes from VPB hardwiring in the GeometryTechnique,
something we need to look at changing.
For pre-built databases future changes to VPB
Hi Robert,
>
> For pre-built databases future changes to VPB will not help
>
Thats right, but does it make sense to correct VPB anyway for future DB builds?
Some kind of option to tell VPB whether it should note a "use
geometryTechnique" or "use terrainTechniquePrototype after loading"...
I
Hi Torben,
On Thu, Nov 25, 2010 at 10:16 AM, Torben Dannhauer
wrote:
> Thats right, but does it make sense to correct VPB anyway for future DB
> builds? Some kind of option to tell VPB whether it should note a "use
> geometryTechnique" or "use terrainTechniquePrototype after loading"...
I've r
Hi Robert,
>
> I've removed the assignment of GeometryTechnique from VPB, but
> unfortunately osgTerrain is adding back in the GeometryTechnique
> automatically on the first traversal through the scene graph.
>
Is this removal already available in svn of VPB?
I assume,with the re-adding of g
Hi Torben,
On Thu, Nov 25, 2010 at 11:13 AM, Torben Dannhauer
wrote:
> Is this removal already available in svn of VPB?
No not yet, it's turned out to be a bit complicated any of the
traversals of the scene graph prior to writing out has been invoking
the automatic osgTerrain::TerraiTile::init(.
Hi Torben et. al.,
I have now checked in my changes to VPB which ensure that it does
assign a GeometryTechnique. I have tested the changes out by putting
debugging into the .ive plugin and TerrainTile::init(..) and things
look to be working correctly - no GeometryTechnique has been
pre-assigned,
Hi Robert,
absolutely great! I'll finish work quite early today so I can go home and try
VPB :)
with the invoked custom terrainTechnique I can dive into it and learn how to
use the terrainTechnique to fullfil my modification tasks :)
[quote]
I have also fixed VPB so that it writes out the exte
Hi,
I'm learning Augmented Reality. How can I set the projection matrix, which has
been calibarated by a real camera?Just as glloadmatrix(P)in openGL.
Someone said to set intrinsic parameter by using setprojectionMatrix(K),to set
extrinsic parameter by setviewMatrix(),is that correct?
Thank you
Hi,
I'm a student learning AR.I have a Camera intrinsic parameter which is a
3*3matrix,such as
fx 0 cx
0 fy cy
0 0 1
How can I set this parameter in osg?just as glloadMatrix(K) in openGL?
Someone said to use setprojectionMatrix() but it takes a 4*4 matrix,is that
right?
Thank you!
Cheers,
Thanks, Shayne.
It was the --geocentric flag missing from the osgdem that was messing
everything up. Once this was fixed, I also had to correct the way that I was
positioning the observer eyepoint to account for the geocentric nature of the
terrain (I now use
EllipsoidModel::computeLocalToWor
Hi guys,
I currently have a problem with a simple "experiment" with RTT. I am
using osgviewerGLUT as a base for this. What I am trying is to render my
scene view to a texture and display this afterwards. To achieve this, I
first setup a camera which renders to the texture and then another one
Hi,
I would like to ask, if someone can point me to some tutorial that explains the
correct and fastest way to create a car simulator graphics environment (= car
model + track scenery).
I'll use my own physics engine, but I don't have any idea about how to create
the terrain and the car model.
Hi Robert,
This evening I played with the tileLoadcallback and it worked, it is called for
every loaded tile as desired.
I can apply custom terrain technique for every tile ( it's more performance
consuming than I expected)
I subclassed my customTerrainTechnique from geometryTechnique and overw
Hi All,
I'm trying to implement a kind of Sparce Virtual Texturing system.
This requires me to have a large physical texture that has to have some of it's
segments "replaced" according to the texture necessities of the current
on-screen objects.
I believe it to be something on the lines of glC
Hi,
I've been developing an app in OpenSceneGraph to help me learn shaders. One
component of that is to be able to visualize normals (surface, lighting,
camera, etc.). I am attempting to implement geometry shaders to do this in
GLSL 1.5 and OSG 2.9.9. At present, I've had success loading ver
Hello forum
I am trying not to distort the model and i think i am doing as you have
suggested. But the scene is blank.
The changes i made inside the createDistortionSubgraph() are follows:
///INSIDE THE hud SCOPE
1. i m declaring the screen aligne
Hi,
I am having exactly the same issues, please could you post your suggestion how
to fix this ?
Thank you!
Cheers,
ParticlePeter
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=34103#34103
___
osg
19 matches
Mail list logo