ParallelGraphics Forums
SDK
You are here:
[Forums]
::
[General]
::
[SDK]
All forums
How to use forums
Favorites
Services
Registration
Registration
Forgot your password?
Help
Help
Support
Quick search
Subscribe to newsletters
email:
password:
 
General
-
SDK
[reply]
[back to forum]
[new message]
[all forums]
Subject:
Clear the scene
Sender:
mutafchiev@gmx.de
5.10.07 09:10
Hi there,
I have some problem when I want to clear the scene and to
create a new one. I use this code to clear the scene:
if ( !m_Engine )
return false;
CComPtr<INodesCollection> RootNodes;
if (FAILED(m_Engine->get_RootNodes(&RootNodes)))
return false;
return (SUCCEEDED(RootNodes->Clear()));
After that I want to create again (for example) the same
objects with:
if(FAILED(m_Engine->CreateNode(L"Transform", CComBSTR (L"MODELTRANS"), &this->m_TransformNode))){
AfxMessageBox(L"VRMLModel as Switch node not created");
}
but it fails.
Can somebody tell me how to clear the old and to create a new scene?
Thanks a lot!
Stoyan
[reply]
[back to forum]
[new message]
[all forums]
Clear the scene
/
mutafchiev@gmx.de
/ 5.10.07 09:10
Messages in thread:
1
[reply]
[back to forum]
[new message]
[all forums]
© 1998-2007
ParallelGraphics
. All rights reserved.
Terms of use
.