Ok, I have now added the possibility to use Groups as lod children, by
removing all of these lines:
p_sclassID, GEOMOBJECT_CLASS_ID, // Only allow geometry nodes.
from all picknodebuttons:
lod_node+2, _T("NODES"), TYPE_INODE, 0,
IDS_LOD_NODES,
//p_sclassID, GEOMOBJECT_CLASS_ID, // Only allow
geometry nodes.
p_ui, TYPE_PICKNODEBUTTON,
IDC_LOD_PICKNODE3,
p_prompt, IDS_PICK_GEOM_OBJECT,
end,
I wonder why only geometry nodes are accepted?
I will send you some modified code "offline".
På Mon, 01 May 2006 09:37:01 +0200, skrev A.J. Jessurun
<[EMAIL PROTECTED]>:
Hello,
That's right. Most stuff has been added, but not the improved LOD
support. I must say that I don't remember anymore why. But any
submissions on the latest OSGExp are welcome.
Greetings, Joran.
Joakim Simonsson wrote:
Emmanuel Roche improved the handling of LODs in september last year.
(http://openscenegraph.org/archiver/osg-users/2005-September/0237.html)
But it seems that this modification didn't made it to the current
release of osgExp(OSGExp 0.9.3pre4).
I am not so familiar with the osgExp code, so I wonder if someone could
look into this. (Emmanuels modifications are attached to the mail in
the mail-archive).
The problems with lods is that you can't sellect groups as lod levels,
only single meshes.
--Joakim Simonsson
--
Joakim Simonsson
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/