Hi,
Ok I get it : when the Lod is wrote in an IVE file, there is not LOD
databasepath
But, on the load, the databasepath is set with the current directory
where the file is found... so next on save, the databasepath is saved...
So, the question is : is it necessary to set the databasepath on the
load of the file in the pluginIve reader ?
Thanks
Regards,
Vincent.
Vincent Bourdier a écrit :
Hi all,
Using pagedLod, I just test an interessant thing : I load a PagedLod
osg file like :
PagedLOD {
nodeMask 0xffffffff
cullingActive TRUE
Center 0 0 0
Radius -1
RangeMode PIXEL_SIZE_ON_SCREEN
RangeList 2 {
0 1000
1000 1e+020
}
NumChildrenThatCannotBeExpired 1
FileNameList 2 {
LV57S2005020000.ive
HV57S2005020000.ive
}
num_children 0
}
and next I wrote it in a new .osg file and I get :
PagedLOD {
nodeMask 0xffffffff
cullingActive TRUE
Center 0 0 0
Radius -1
RangeMode PIXEL_SIZE_ON_SCREEN
RangeList 2 {
0 1000
1000 1e+020
}
DatabasePath Z:/TEST/Total_LOD_box/s21/
NumChildrenThatCannotBeExpired 1
FileNameList 2 {
LV57S2005020000.ive
HV57S2005020000.ive
}
num_children 0
}
As you can see, the DatabasePath appear, and the path set is to the
path where the original osg file is... so now my PagedLod won't work
on a different PC than mine...
Is it an expected behavior ?
If I set the DatabasePath to "" or "./", will the osg writer let it in
peace ?
Thanks.
Regards,
Vincent.
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4670 (20091208) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4670 (20091208) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org