Hi,
i have an .osg file which is like this:
PagedLOD {
nodeMask 0xffffffff
cullingActive TRUE
Center 512 512 0
Radius 724.077
RangeMode DISTANCE_FROM_EYE_POINT
RangeList 5 {
1448.15 5792.62
0 1448.15
0 1448.15
0 1448.15
0 1448.15
}
NumChildrenThatCannotBeExpired 0
FileNameList 5 {
ter_0_0_0.ive
ter_1_0_0.osg
ter_1_1_0.osg
ter_1_0_1.osg
ter_1_1_1.osg
}
num_children 0
}
and every .osg file which is in this file is like this file. they have 1 ive
file and 4 osg files.
by this method, we are loading child nodes in paging.
here i want to render all of these in a shader. So i set the parent node
stateSet but childs does not effect :(
do you have any idea why i cant set the child node's stateset by changing
the stateset of parent?
--
Ufuk
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org