Hi all,
I have two ive files, generated by VPN.
Then I wan't to mix the texture of those two files.
For that I use a shader. But I can't give to the shader the two texture.
Here is my code :
osg::ref_ptr root (new osg::Group());
osg::ref_ptr Earth = osgDB::readNodeFile("Earth.ive");
osg::ref
Hello,
I have generated a database with 4 layers, with VPN, .
I wan't to display sometimes one layer and sometimes 4.
I use osgFX::MultiTextureControl for that. But I have look into the source
code
of MultiTextureControl::updateStateSet(), and the code exist for 1, 2 or 3
layers.
Is this limit
0);
And it woks well !
Christophe.
2007/7/13, christophe loustaunau <[EMAIL PROTECTED]>:
Hello Robert,
In fact, when I wan't to see only the first layer, OSG display only the
first layer as intend, but the image is a little white.. see the screen1
attached to the mail.
My code for this is
letely sure it is absolutely needed.
The patch has been extracted under windows with the following command
against the current ( 631) svn version
svn -x -u -x --ignore-eol-style diff | unix2dos | zip
Hope it helps
Luigi Calori
If it works for you, let us know, so eventually Robert can check in the
m
inst the current ( 631) svn version
svn -x -u -x --ignore-eol-style diff | unix2dos | zip
Hope it helps
Luigi Calori
If it works for you, let us know, so eventually Robert can check in the
mods.
christophe loustaunau wrote:
> Ok, so I will wait for this changes.
>
> Thanks !
>
&
Hello,
I have generated a database with osgdem, witch have 2 layers.
I wan't to display only the first layer, and sometimes the two layers.
I have read that we could do this with MultiTextureControl, but i haven't
see any example.
But this doesn't work...I must make some errors !
Here is my cod
files but hasn't submitted any
changes yet though.
Robert.
On 7/12/07, christophe loustaunau <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I try to compile VPN, I have generated the binaries with CMake without
> problems.
> CMake told me that it can't find some variable
ave to build OpenSceneGraph and gdal (
http://www.gdal.org/) before that and have installed them in a way, the
CMake-find-scripts of VPB can find them.
Rudi
--
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *christophe loustaunau
*Sent:* Thursday, J
Hello,
I try to compile VPN, I have generated the binaries with CMake without
problems.
CMake told me that it can't find some variables :
GDAL_INCLUDE_DIR
GDAL_LIBRARY
OSGDB_LIBRARY
OSGFX_LIBRARY
OSGUTIL_LIBRARY
OSGVIEWER_LIBRARY
OSG_INCLUDE_DIR
OSG_LIBRARY
So I give it all the path, and I gener
it will be helpfull !
Thanks !
Christophe Loustaunau
___
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
I could play these videos on windows without any problems with VLC media
player.
you could find this here :
http://www.01net.com/telecharger/windows/Multimedia/lecteurs_video_dvd/fiches/23823.html
Christophe.
2007/6/19, Decarlo, Thomas R. (LARC-B702)[NCI INFORMATION SYSTEMS] <
[EMAIL PROTECTED]
ral ways in order to check that the path is ok
("c:\\cow.osg". "c:/cow.osg", etc);, i don´t think that´s the problem, maybe
i´m doing something wrong with the visual .net and not setting an option
like it should
--
From: *"christophe lou
Hi david,
There is no error with :
osg::ref_ptr loadedModel = osgDB::readNodeFile("cow.osg");
but make sure you give the good location for cow.osg.
I mean :
osg::ref_ptr loadedModel = osgDB::readNodeFile(""C:/./cow.osg
");
Hope this help.
Christophe.
2007/5/22, David _ <[EMAIL PROTECTED
Hello,
I load a PagedLod database from a *.ive file into a node with :
osgDB::readNodeFile
Then i need to know when this pagedlod is update.
I mean when i pass to a level to another.
Is someone have an idea how doing this ?
Thanks in advance !
Christophe
__
Hi all,
I load a file and store it into a node :
node=osgDB::readNodeFile( file );
In this file there is a transform matrix :
file.osg :
..
PagedLOD {
...MatrixTransform {
DataVariance DYNAMIC
nodeMask 0x
cullingActive TRUE
referenceFrame RE
Hi Serge,
I think what you write could be a good solution, but how could i check if
the node is a Geode ?
I have just look at the functions of a node and i haven't found anything
like this.
2007/5/3, Serge Lages <[EMAIL PROTECTED]>:
On 5/3/07, christophe loustaunau <[EMAIL PRO
Hi,
I wan't to modifie the value of some vertex of my scene.
I read a model from a file and store it in a node :
osg::ref_ptr node (new osg::Node());
node=osgDB::readNodeFile(file);
Then i wan't to change the value of some vertex of that node.
I have made a class with a node visitor :
class P
---
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *christophe loustaunau
*Sent:* Friday, April 27, 2007 8:43 AM
*To:* osg users
*Subject:* [osg-users] readNodeFile
Hello,
I wan't to modifie the value of every vertex read from a file *.ive.
But i can't find wh
Hello,
I wan't to modifie the value of every vertex read from a file *.ive.
But i can't find where the vertex are read.
I read the file with :
osg::ref_ptr loadedModel = osgDB::readNodeFile(file);
Then with the debug i have found that it goes in :
ReaderWriter::ReadResult Registry::read(const
this effect.
-Paul
--
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *christophe loustaunau
*Sent:* Wednesday, April 18, 2007 6:46 AM
*To:* osg users
*Subject:* [osg-users] transparency on a node
Hello !
I have some questions about transparency.
I
Hello !
I have some questions about transparency.
I load a file (ive) into a node, and then i wan't this node to be more and
more transparent.
I think i can do this with blending and the value of alpha. But we can't do
a
setcolor(r,g,b,a), on a node, so..
Next i have look the nodeMask. with it
you can get dem data
with resolution less than 30m, you will be able to produce good terrain.
To make sure osgdem is working fine just put 10 and vertical scale
and see the results.
best regards
RJ
On Thu, 2007-04-12 at 11:16 +0200, christophe loustaunau wrote:
> There is no difference.
There is no difference.
2007/4/12, Smeenk, R.J.M. (Roland) <[EMAIL PROTECTED]>:
What happens if you use a larger scale factor like -v 1000?
--
Roland
--
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *christophe loustaunau
*Sent:* don
Hello,
i have just send a mail but the texte doesn't appear..don't know why,there
is only the image.
So here the text :
I have some problems using osgdem. I try to make a model of the earth with
elevation.
First i have made a model of the earth without elevation no problems it
works fine:
"osgde
If i add it directly to the root, the model appear correctly. It's when i
use a LOD that it disappear.
And i don't know why.
Christophe
___
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://w
Hello,
I wan't to put an object read from a *.ive file into a LOD.
First i have done a LOD with 3 sphere : no problems,
then i put the object read from the file : nothing appears on the screens
: the object and the sphere.
here is a part of my code :
.
std::string file = "earth.ive";
osg::re
Thanks for the help Alberto, it works fine.
Now i inspect my file earth.osg, and i have have found something strange :
.
Texture2D {
DataVariance STATIC
file "*earth_L0_X0_Y0.dds"*
wrap_s CLAMP_TO_EDGE
wrap_t CLAMP_TO_EDGE
I havent any earth_L0_X0_Y0.dds file , i have a earth_L0_X0_Y0.i
Hello,
I work on the osg viewer.
I read a *.ive (earth.ive) file with the osg viewer.
It works fine, but i want to find the source code for the display of the
image.
You know that when you are far from the earth, the image has a low quality
and when you come near the earth, the quality is better
28 matches
Mail list logo