Ok, well this probably isn't the right place, but I have a question:
OGRE's resource system is giving me a headache. When I want to save a system, I need to know all the names of current loaded systems, to make sure that duplicates names are not created. Finding these is easy, but if the one you specify already exists, I want to allow the option to overwrite it. The problem here is that I can't get the file that the system is declared in. I can get the filename, but not the full path, which I need. My options seem to be:
a) Search the entire hard disk. Not on.
b) Assume all particle scripts reside in the same directory. Not idiotproof.
c) Allow duplicate systems to be created. Bad, can crash the editor on load.
d) Search the declared resource locations for the file. Must save particle scripts to resource location directories. Not idiotproof.
e) Change OGRE. Again, not on.
Of course, if I've missed a simple 'get particle system's full path' function, then that solves it, but getOrigin only returns the filename. Can anyone who's had to deal with similar OGRE resource management issues suggest anything? I'm currently using method b).
Fakamaz wrote:Is it possible to make an assignment of different materials to different emitters in a single particle maybe?
No. Ogre's particle systems do not support this. Presumably because it's faster to use two separate systems.
kneeride wrote:It would be cool if you could have a number of common or useful samples. eg, a flame, a fire missile/commet, an explosion, a smoke cloud, etc.
I'm making a set of random particle textures to get people started, if I have time I'll make some sample systems. There are some good ones included with the CEGUI editor, by the way.
Would also be cool if a database was managed where others could upload their own effects. ie allow the community to build a database of effects.
I think the wiki is the best place. I can't see much point in adding any database management to the editor.