Tree Scene Node v2.1

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki

Postby dlangdev » Thu Jul 10, 2008 9:21 am

lst output

1) envronment: vs2008, vista
2) irrlicht: 1.4.1

Code: Select all
cbillboardgroupscenenode.cpp(88) :error C2027: use of undefined type 'irr::scene::ISceneManager'

cbillboardgroupscenenode.cpp(88) : error C2227: left of '->registerNodeForRendering' must point to class/struct/union/generic type

cbillboardgroupscenenode.cpp(96) : error C2027: use of undefined type 'irr::scene::ISceneManager'

cbillboardgroupscenenode.cpp(96) : error C2227: left of '->getVideoDriver' must point to class/struct/union/generic type

cbillboardgroupscenenode.cpp(164) : error C2027: use of undefined type 'irr::scene::ISceneManager'

cbillboardgroupscenenode.cpp(164) : error C2227: left of '->getActiveCamera' must point to class/struct/union/generic type
Image
User avatar
dlangdev
 
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR

Postby stevend » Sun Jul 13, 2008 7:20 am

yeah, also have the above issue :cry:
User avatar
stevend
 
Posts: 114
Joined: Sat Mar 01, 2008 7:18 pm

Postby jotatsu » Mon Jul 14, 2008 2:05 am

I updated some stuff (the texture from array access to function access) and looks like some members became private so i keep track of the pointer in the lower class. Im still stucked at some error =/


Code: Select all
1>   Creating library Debug/exampleSceneNodePlugin.lib and object Debug/exampleSceneNodePlugin.exp
1>klaskertreeSceneNodeFactory.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall irr::scene::ISceneNodeFactory::getCreatableSceneNodeTypeCount(void)" (?getCreatableSceneNodeTypeCount@ISceneNodeFactory@scene@irr@@UAEIXZ)
1>klaskertreeSceneNodeFactory.obj : error LNK2001: unresolved external symbol "public: virtual enum irr::scene::ESCENE_NODE_TYPE __thiscall irr::scene::ISceneNodeFactory::getCreateableSceneNodeType(unsigned int)" (?getCreateableSceneNodeType@ISceneNodeFactory@scene@irr@@UAE?AW4ESCENE_NODE_TYPE@23@I@Z)
1>klaskertreeSceneNodeFactory.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall irr::scene::ISceneNodeFactory::getCreateableSceneNodeTypeName(enum irr::scene::ESCENE_NODE_TYPE)" (?getCreateableSceneNodeTypeName@ISceneNodeFactory@scene@irr@@UAEPBDW4ESCENE_NODE_TYPE@23@@Z)
1>klaskertreeSceneNodeFactory.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall irr::scene::ISceneNodeFactory::getCreateableSceneNodeTypeName(unsigned int)" (?getCreateableSceneNodeTypeName@ISceneNodeFactory@scene@irr@@UAEPBDI@Z)
1>../../../plugins/TreePlugin.dll : fatal error LNK1120: 4 unresolved externals


This is the code is some1 want to see and get me a hand.
http://file.black-byte.com/TreePlugin.rar
User avatar
jotatsu
 
Posts: 28
Joined: Sun Mar 18, 2007 1:11 am
Location: Colombia

Postby dlangdev » Sun Jul 27, 2008 5:44 pm

i simply commented out CBillboardGroupSceneNode from CTreeNode and main.cpp and it's working now.

this will work for me while i continue developing the demo.

i'm hoping someone can fix the errors soon.

thanks.
Image
User avatar
dlangdev
 
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR

Postby dlangdev » Sun Jul 27, 2008 6:56 pm

turns out this code doesn't work.

Code: Select all
tree->setScale(core::vector3df(50.0f, 50.0f, 50.0f));


it needs a custom setScale() method for it to work.
Image
User avatar
dlangdev
 
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR

Postby FlowPX2 » Mon Jul 28, 2008 5:35 pm

The same ^^ Irrlicht 1.4.1 with treenode Version 2.1c

Code: Select all
cbillboardgroupscenenode.cpp(88) :error C2027: use of undefined type 'irr::scene::ISceneManager'

cbillboardgroupscenenode.cpp(88) : error C2227: left of '->registerNodeForRendering' must point to class/struct/union/generic type

cbillboardgroupscenenode.cpp(96) : error C2027: use of undefined type 'irr::scene::ISceneManager'

cbillboardgroupscenenode.cpp(96) : error C2227: left of '->getVideoDriver' must point to class/struct/union/generic type

cbillboardgroupscenenode.cpp(164) : error C2027: use of undefined type 'irr::scene::ISceneManager'

cbillboardgroupscenenode.cpp(164) : error C2227: left of '->getActiveCamera' must point to class/struct/union/generic type
FlowPX2
 
Posts: 7
Joined: Wed Sep 26, 2007 11:58 am

Postby hybrid » Mon Jul 28, 2008 10:47 pm

You seem to have problems with namespaces or includes.
hybrid
Admin
 
Posts: 14089
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany

Postby dlangdev » Mon Jul 28, 2008 10:53 pm

hybrid wrote:You seem to have problems with namespaces or includes.


thanks hybrid, i'll look into that. this bug has been eluding me for many days now as i can't seem to get a good handle on this problem. perhaps i'm not that too good at c++.

SceneManager is protected and Intellisense can see that, in fact, it can trace SceneManager back to ISceneManager.

I'll just keep scratching my head on this one.
Image
User avatar
dlangdev
 
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR

Hi, klasker

Postby gogo » Sat Aug 02, 2008 3:13 am

Will you enable your tree nodes to cast shadows --CTreeScenNodes shall be added by ShadowVolumeSceneNode?
gogo
 
Posts: 65
Joined: Tue Apr 15, 2008 1:04 am

Postby sio2 » Mon Aug 04, 2008 7:25 pm

dlangdev wrote:
hybrid wrote:You seem to have problems with namespaces or includes.


thanks hybrid, i'll look into that. this bug has been eluding me for many days now as i can't seem to get a good handle on this problem. perhaps i'm not that too good at c++.

SceneManager is protected and Intellisense can see that, in fact, it can trace SceneManager back to ISceneManager.

I'll just keep scratching my head on this one.


This took me 30 seconds to fix for my setup. The compiled exe runs just fine (VS2008, Irrlicht 1.4.1).

Just add
Code: Select all
#include <ISceneManager.h>
to the include list in CBillboardGroupSceneNode.cpp.

Change the C++ include and lib folders to your compiled Irrlicht installation and away you go...
sio2
Competition winner
 
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Postby Sollos » Thu Nov 06, 2008 7:51 pm

EDIT: Fixed. Sorry.
Last edited by Sollos on Wed Nov 12, 2008 8:12 pm, edited 1 time in total.
Sollos
 
Posts: 9
Joined: Fri Oct 24, 2008 12:52 pm

irrEdit-1.4.2

Postby master_zion » Fri Nov 07, 2008 2:56 am

works on irrEdit-1.4.2?

shogun wrote:Hi,

I created an irrEdit plugin out of your Tree Scene Node (sorry, if this has been done before - I couldn't find it). Download.

In IrrEdit 0.7.1:

Image

In Irrlicht 1.4beta:

Image

As you can see, the trees look different, in spite of being the same one, with the same seed. I probably will investigate this.

----

Update: The plugin now works with irrEdit 1.4alpha. The seeds are now correct when importing the trees into irrlicht.
User avatar
master_zion
 
Posts: 15
Joined: Wed Jan 09, 2008 3:43 pm
Location: Brazil

This problem

Postby joqus » Wed Apr 29, 2009 5:03 pm

You must include this line at the CbillboardGroupSceneNode.h:

"include irrlicht.h"

it's all you need to compile and run the example,
i think the developer should solve this bug!!!
joqus
 
Posts: 2
Joined: Thu Apr 16, 2009 5:22 pm

Postby pera » Tue May 12, 2009 10:40 am

Im about to implement this class to my level editor, but i wonder can you save these trees to irr scene file? They are procedurally generated, so is there a mesh being created, how is scene recreated with them?
pera
 
Posts: 460
Joined: Wed May 14, 2008 1:05 pm
Location: Novi Sad, Serbia

Postby pera » Wed May 13, 2009 8:29 am

like i thougth, its not saved well.
only "unknown node" error when try to reload irr scene.

its great to have procedural trees on the map, but shame you cant save it.
pera
 
Posts: 460
Joined: Wed May 14, 2008 1:05 pm
Location: Novi Sad, Serbia

PreviousNext

Return to Project Announcements

Who is online

Users browsing this forum: No registered users and 1 guest