Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > Open Discussion
how to use loaded *.irr file?

niMatrix
Registered User
Quote
2008-12-03 15:30:21

How to use loaded *.irr file that by irr::scene::ISceneManager::loadScene(fileName);

I know there is *.xml file reading example ,but face to the loaded *.irr file  and can't get file's SceneNode or Mesh or CameraNode ,there no example!

Is any one can Help Me?  waiting OnLine TNKS



niko
Moderator
Quote
2008-12-03 20:40:03

Simlpy use the ISceneManager's niterface (starting with the root scene node) to look what you have loaded.


niMatrix
Registered User
Quote
2008-12-04 06:57:33

hi

yes ,I can get the note by the rooteSceneNote ,

but,How can get the note's mesh data(I want to do selector operation with the Mesh)?


niko
Moderator
Quote
2008-12-04 18:57:00

Cast the right scene node (you can identify it by its type) to a IMeshSceneNode and access the mesh.


niMatrix
Registered User
Quote
2008-12-06 04:17:58

Thank you i,can select a mesh from a *.irr


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Int?rnational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact