sio2 wrote:Maybe I could add a deer with fur...
Try looking at the demo program included (main.cpp). Very simple, you can do it like this:Virion wrote:so how to import the trees into the irrlicht application?
scene::CTreeGenerator* oakGenerator = new scene::CTreeGenerator( manager );
io::IXMLReader* xml = device->getFileSystem()->createXMLReader( trees/Oak.xml" );
oakGenerator->loadFromXML( xml );
scene::CTreeSceneNode* tree = new scene::CTreeSceneNode( manager->getRootSceneNode(), manager );
tree->setup( oakGenerator );
Klasker, I saw on an Ogre project they use 8 directional imposters. Basically the billboard image changes depending on the direction it is viewed from. I know that is not really part of your project as you already said before. But maybe something more complex like this will catch your interest? (I wonder if you can generate these images on the fly, too?) (Maybe render inside a blackbox from 8 different directions and use the screenshots as textures?)
Users browsing this forum: Bardor, Yahoo [Bot] and 1 guest