dotscene lights and dynamic objects

Problems building or running the engine, queries about how to use features etc.
putujici_jack
Gnoblar
Posts: 6
Joined: Tue Jan 18, 2005 9:04 pm

dotscene lights and dynamic objects

Post by putujici_jack »

Hi,
I'd really like tu use the .scene format to desribe my world. I thinks it's great thing and it seems to perfectly suit my needs.

Unfortunately I've got troubles with running demo using dotscene octree from add-ons - there are no lights (but ambient), no dynamic objects at all, no shadows. Other objects are displayed correctly with loaded textures. Also, when I set SetOctreeVisible( 1 ), there is no geometry at all.

So, I have few questions:
I wonder if that is problem with the doctree scene manager or the manager is really capable of those missing things and the fault is somewhere else?
How could I solve this problem?
Are there any binary demos showing the doctree in action?
Is there a binary version of the dotscene viewer and some compiled scenes so I could try out?

Thanks for any advise.
PJ
User avatar
psyclonist
OGRE Expert User
OGRE Expert User
Posts: 286
Joined: Fri Nov 01, 2002 3:54 pm
Location: Berlin & Nuremberg, Germany
x 1

Post by psyclonist »

Try DSI and DotSceneViewer. You can find them in OgreAddons/dotscene.

Note that you don't have to use the DotSceneManager in order to use .scene.

-psy
putujici_jack
Gnoblar
Posts: 6
Joined: Tue Jan 18, 2005 9:04 pm

Post by putujici_jack »

Well, I've just VC++6 so I can't try to check it quickly (even with project convertor from VC7, it takes some time to set up and compile), so I', not sure what the DS interfece is - could I use DSI insted (or with) dotSceneManager?
User avatar
psyclonist
OGRE Expert User
OGRE Expert User
Posts: 286
Joined: Fri Nov 01, 2002 3:54 pm
Location: Berlin & Nuremberg, Germany
x 1

Post by psyclonist »

You can use DSI instead of the dotSceneManager in order to load & setup scenes. The 'baked octree' stuff will be ignored in this case (which is OK unless you're using the dotSceneManager precompilation feature).

-psy
MadLion
Halfling
Posts: 97
Joined: Wed Aug 25, 2004 8:14 am
Location: Germany

Post by MadLion »

I have the same problem and take a look at the DotSceneManager and Demo_DotScene. In the DotSceneManager you can see that the dynamik object and lights will not load. This was done in the Demo_DotScene before but is commented out. So the Demo_DotScene doesn't load it any more.
asphodel
Gnoblar
Posts: 9
Joined: Tue Jan 11, 2005 5:55 am

Post by asphodel »

I just tried compiling the DSI and DotSceneViewer projects that are located in the DotSceneFormat folder, and I'm getting many errors during compilation. Are these projects compatible with Ogre 0.15.2?
asphodel
Gnoblar
Posts: 9
Joined: Tue Jan 11, 2005 5:55 am

Post by asphodel »

More specifically, the compiler is coming across types it cant resolve, such as DataStreamPtr, OGRE_AUTO_MUTEX, etc. I'm also not finding these types defined, I'm searching the doxygen api reference on the site and searching through the source for both versions 0.15.2 and 0.15. Anyone have any clues?
User avatar
IoN_PuLse
Goblin
Posts: 220
Joined: Mon May 31, 2004 5:54 am
Location: Canada

Post by IoN_PuLse »

Hi, I'd just like to say I'm also having these compilation issues, are they because dotscene has been updated to be compatible with the current pre1.0 CVS version of Ogre?
User avatar
pjcast
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 2543
Joined: Fri Oct 24, 2003 2:53 am
Location: San Diego, Ca
x 2

Post by pjcast »

Yeah, those methods are new to Ogre cvs.
Have a question about Input? Video? WGE? Come on over... http://www.wreckedgames.com/forum/
ludoz
Gnoblar
Posts: 17
Joined: Sun Jan 16, 2005 8:00 pm
Location: italy

Post by ludoz »

So is better if we wait until ogre 1.0 became stable.. how long will it take before we can get it ?
User avatar
psyclonist
OGRE Expert User
OGRE Expert User
Posts: 286
Joined: Fri Nov 01, 2002 3:54 pm
Location: Berlin & Nuremberg, Germany
x 1

Post by psyclonist »

ludoz wrote:So is better if we wait until ogre 1.0 became stable.. how long will it take before we can get it ?
Somebody has to create a patch. I doubt that the core team will handle that ;)

-psy
User avatar
psyclonist
OGRE Expert User
OGRE Expert User
Posts: 286
Joined: Fri Nov 01, 2002 3:54 pm
Location: Berlin & Nuremberg, Germany
x 1

Post by psyclonist »

Are these projects [DSI] compatible with Ogre 0.15.2?
After having taken a quick glance at DSI, I think, it's compatible to the HEAD revision but not to the Hastur maintenance branch, i.e. 0.15.x.

So either wait for 1.0 or get the HEAD revision from CVS.

-psy

PS: The "old" DotSceneViewer should still have worked, I think. Then again, it has been removed for a reason.