vutle / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Ogre Particle System Lua Interface #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Current Lua does not support Ogre Particles 

What is the expected output? What do you see instead?
Developers should be able to access Ogre Particle System through Lua.

What version of the product are you using? On what operating system?
gamekit svn version 812 on Ubuntu 10.10 64 bits.

Please provide any additional information below.
The attachement is diff files computed by svn diff.

The patch allows developers to access basic particle system usages through Lua 
interface, such as the Momo.particle file within Logic Demo.

The attachment includes a blend files that incorporates the sample .particle 
file from Momo.particle to demonstrate basic usage.

The blend files also demonstrate physic particle system by using AddObject in 
EditObject Actuator.

Readme files have more information.

Thank you guys very much.

Sincerely,
Danil Ko

Original issue reported on code.google.com by CHRISTYH...@gmail.com on 21 Jan 2011 at 4:50

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for your patch. I will check it soon.

Original comment by harkon...@gmail.com on 24 Jan 2011 at 12:12

GoogleCodeExporter commented 9 years ago
I have reviewed your patch. I think, we should make gkParticles class that is 
child of gkGameObject and the wrapper gsParticles should be child of 
gsGameObject. 

Also, it will be nice, if Blender particle parameter is supported. 
I will looking for Gamekit particle support features soon.

Original comment by harkon...@gmail.com on 26 Jan 2011 at 12:39

GoogleCodeExporter commented 9 years ago
harkon.kr,

Thank for your comment. Sorry, because I am still not familiar with Gamekit 
codes and I am not expert in c++ so I did not integrate the particle codes very 
well. And you may also realized that most codes are based gkParticleNodes... I 
would try to improve myself before I make other contributions. 

I would look forward for the Gamekit particle support. ^_^

Thank you guys very much.

Original comment by CHRISTYH...@gmail.com on 26 Jan 2011 at 7:22

GoogleCodeExporter commented 9 years ago
Hi, Danil.

Blender particle generation is complicated than I expected.
So, it will take time before commit to trunk.
I uploaded current working copy patch on r814.
If you interesting, you can check the particle related interfaces.

http://www.youtube.com/watch?v=NrZbfZeS3MM

Original comment by harkon...@gmail.com on 1 Feb 2011 at 11:27

Attachments:

GoogleCodeExporter commented 9 years ago
It looks great. I will definitely check it out.

Thank you very much for implementing these functions so quickly.

Original comment by CHRISTYH...@gmail.com on 9 Feb 2011 at 2:03

GoogleCodeExporter commented 9 years ago
Particle support patch is applied to trunk. Check r815.

Original comment by harkon...@gmail.com on 10 Feb 2011 at 10:37

GoogleCodeExporter commented 9 years ago
harkon.kr

Thank you for the amazing job. The integration between blender particle and the 
gamekit works very well for my usage.

Original comment by CHRISTYH...@gmail.com on 11 Feb 2011 at 8:20

GoogleCodeExporter commented 9 years ago
I do not know if I should consider it a bug or it is intended to do this way.

But object with particle does not seem to be able to be added by 
EditObjectAcutator

What steps will reproduce the problem?
Make one object objParticle with particle in Blender.
Use EditObjectAcutator to add another objParticle.
Another objParticle adds in, but it jsut has mesh without particle effect.

What is the expected output? What do you see instead?
New add in objParticle should also has particle effect.
The new add in objParticle just has mesh without particle effect.

What version of the product are you using? On what operating system?
gamekit svn version 815 on Ubuntu 10.10 64 bits.

Another question is should I open this kind of question on new post or just 
keep going with original post?

Please ignore it if this is intended. 

Thank you guys very much.

Original comment by CHRISTYH...@gmail.com on 11 Feb 2011 at 7:02

GoogleCodeExporter commented 9 years ago
Spawning particle object isn't implemented yet.
Thanks for feedback, I will try to do this soon.

Let's use this page about particle issues for a while. 

Original comment by harkon...@gmail.com on 12 Feb 2011 at 1:42

GoogleCodeExporter commented 9 years ago
You guys respond so quickly.

Thank you for maintaining it.

Original comment by CHRISTYH...@gmail.com on 12 Feb 2011 at 4:29

GoogleCodeExporter commented 9 years ago
Update to r820 for particle object copying.

http://www.youtube.com/watch?v=lvnn1c-LAn0

Original comment by harkon...@gmail.com on 12 Feb 2011 at 2:45

GoogleCodeExporter commented 9 years ago
It works well. Thanks.

Original comment by CHRISTYH...@gmail.com on 12 Feb 2011 at 11:43

GoogleCodeExporter commented 9 years ago

Original comment by harkon...@gmail.com on 14 Mar 2011 at 7:18

GoogleCodeExporter commented 9 years ago
 Hi, harkon.kr

 First, Thanks for your contributtion.  But I can not get this patch via SVN,http://gamekit.googlecode.com/svn/trunk,  this SVN url is not same server as you provide?  Looking forward to your reply! thanks!

Original comment by barbecue...@gmail.com on 14 Oct 2011 at 7:38

GoogleCodeExporter commented 9 years ago
It was applied to trunk. (http://gamekit.googlecode.com/svn/trunk)
Did you enabled CMake OGREKIT_USE_PARTICLE build option?
It is need to use particle.

Original comment by harkon...@gmail.com on 14 Oct 2011 at 7:51

GoogleCodeExporter commented 9 years ago
Thanks for your response so quickly, I have checked head Revision from 
(http://gamekit.googlecode.com/svn/trunk). But it did not contain your patch.
For example, gsParticles.cpp contain nothing except comment.  

Original comment by barbecue...@gmail.com on 14 Oct 2011 at 8:06

GoogleCodeExporter commented 9 years ago
Previous commit comment is my mistake.
Particle patch was applied to r815.
 - http://code.google.com/p/gamekit/source/detail?r=815

Also, check a particle demo blend file.
 - http://code.google.com/p/gamekit/source/browse/trunk/Samples/Runtime/Regression/ParticleTest.blend

Currently, gsParticle is same as gsObject, so gsParitlce.h/cpp file is empty.

Original comment by harkon...@gmail.com on 14 Oct 2011 at 8:22

GoogleCodeExporter commented 9 years ago
Thanks for your response.  Maybe I need feature that you regard mistake. I will 
implement it refer your comment.  Thanks very much!

Original comment by barbecue...@gmail.com on 14 Oct 2011 at 8:49