Am 25.07.2011 17:15, schrieb Oren Fromberg:
Hey Sebastian!
Thanks for the interesting reply. So, I guess that explains why the dimensions
of my bounding box are tending to infinity! I have some questions though:
1) what do you mean by "load the proxy node at least once"? does that mean to
add
Hey Sebastian!
Thanks for the interesting reply. So, I guess that explains why the dimensions
of my bounding box are tending to infinity! I have some questions though:
1) what do you mean by "load the proxy node at least once"? does that mean to
add the proxy node as a child in the scene or jus
Hello Oren,
It seems that the node isn't loaded at all.
As I do something similar in my database compiler, I think you will have
to actually load the proxy node at least once to calculate the correct
bounds for it:
You code is correct, but as you defer loading of the real model, the
ComputeBou
Howdy friends,
I'm loading a model using an osg::ProxyNode like this:
Code:
std::map > model_db_map;
...
if (model_db_map[name] == NULL)
{
osg::ref_ptr pn = new osg::ProxyNode;
pn->setLoadingExternalReferenceMode
(osg::ProxyNode::DEFER_LOADING_TO_DATABASE_PAGER);
pn->setFileName (0, name + ".
Hi Christian,
On 30/3/09 12:33 PM, Christian Sam wrote:
could someone tell me in a few sentences what a proxynode (or is it just
proxy?) in osg
is, and what it is used for?
It's a node that references external model files. The files will be loaded asynchronously
via DatabasePager once the
Hi,
could someone tell me in a few sentences what a proxynode (or is it just
proxy?) in osg is, and what it is used for?
thanks in advance,
christian
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=9434#9434
_
6 matches
Mail list logo