Page 8 of 8

Posted: Sun Oct 05, 2008 4:19 pm
by Oogst
Nope, there is no Ogre on Wii. I guess they used their own in-house stuff. :) It is a pitty that there is no Ogre for Wii, though, for now my own company has to buy an engine for a lot of money for our future 3D Wii games. And that while we got such expertise with Ogre now. :( But then again, there is little use for open source stuff on the Wii, as Wii community is so limited (i.e. licensed developers only).

Posted: Tue Oct 07, 2008 4:11 pm
by ArchAnemone
Just read the article on The Escapist and I'm now planning to buy it for my family for Christmas. Sounds really cool. : )

Posted: Tue Oct 07, 2008 6:37 pm
by Oogst
Hey, that is actually a really nice article! I did not know Blue Tongue enjoyed the project that much. :D

Posted: Tue Oct 07, 2008 6:55 pm
by Brocan
Can you reload the code of the decals? it seems to be down :(

Thank you !!!! :D

Posted: Tue Oct 07, 2008 8:33 pm
by Oogst
We sold all the rights to THQ, including the source code rights, so I am sorry, but I cannot put them online anymore.

Posted: Tue Oct 07, 2008 8:43 pm
by Brocan
Ohp, okei, no problem :)

Posted: Wed Oct 08, 2008 10:21 pm
by Nudel
I saw De Blob in a shop here today. Im surprised its already available in austria. :)

Re: The Blob

Posted: Fri Feb 20, 2009 9:43 am
by hangchon18
Hi,Oogst.
I played the Blob and very like it.
I want to do a effect of the Blob for studying.
When the ball collide the house,By degreesthe color of the house is changed.
Paintables.material:

Code: Select all

material BuildingsRed
{
	technique
	{
		pass
		{
			vertex_program_ref Cg_ColourTransitions_VP
			{
			}
			fragment_program_ref Cg_ColourTransitions_FP
			{
			}
			texture_unit
			{
				texture BuildingsRed.dds
			}
		}
	}
	technique
	{
		scheme Low
		pass
		{
			texture_unit
			{
				texture BuildingsRed.dds
			}
		}
	}
}
code:

Code: Select all

Ogre::MaterialPtr temMaterial = Ogre::MaterialManager::getSingleton().getByName("BuildingsRed");
temEntity->setMaterial(temMaterial);
Ogre::SubEntity* temSubEntity;
temSubEntity = temEntity->getSubEntity(0);
temSubEntity->setCustomParameter(0,Ogre::Vector4(10000,collisionPos.x,collisionPos.y,collisionPos.z));
I can't get the effect of changing bit by bit and Its changing is at once.
Why? :(

Re: The Blob

Posted: Fri Feb 20, 2009 10:41 am
by Oogst
To make the paint grow from the collision position, it should also evolve over time. To do that, the effect needs to know the radius in which the paint is right now. It should actually look like this:

Code: Select all

temSubEntity->setCustomParameter(0,Ogre::Vector4(collisionPos.x,collisionPos.y,collisionPos.z, radius));
The radius should start at zero and grow over time, until the entire object is within the radius.

At least, I think this is how it works: it's been almost three years since I coded this.

Re: The Blob

Posted: Fri Feb 20, 2009 6:10 pm
by trnrez
A little late on the congrats but this game was so much fun when I played with it a few years ago. I wasn't a part of the community then so I just wanted to say job well done!

Re: The Blob

Posted: Sat Feb 21, 2009 7:50 am
by hangchon18
thanks for your quick help.
When I set radius:0 or 20 or 40 or 100 or 1000 from your idea,the result is the same with former.
Its changing is at once.

Re: The Blob

Posted: Sat Feb 21, 2009 11:48 am
by calsmurf2904
it should start at 0...
so you should do something like this:

Code: Select all

int max_radius = 20;
int radius = 0;
while(radius <= max_radius)
{
temSubEntity->setCustomParameter(0,Ogre::Vector4(collisionPos.x,collisionPos.y,collisionPos.z, radius));
radius++;
}
this isn't working good because it will pause the whole program...

Re: The Blob

Posted: Sat Feb 21, 2009 1:03 pm
by Oogst
If I remember correctly, then you should see only the original colour at 0 and see the new colour grow at larger than 0. What do you see at 0?

Re: The Blob

Posted: Sat Feb 21, 2009 1:50 pm
by hangchon18

Code: Select all

temSubEntity->setCustomParameter(0,Ogre::Vector4(collisionPos.x,collisionPos.y,collisionPos.z,0));
I see changed color at 0.
It seems that setting "temSubEntity->setCustomParameter" is nothing.

Re: The Blob

Posted: Sat Feb 21, 2009 4:01 pm
by Oogst
Okay, I did a little check in my source code (hmm, that should be: "THQ's source code", because the whole thing is sold after all... ;)) and what you are doing looks correct. So the problem seems to be somewhere else. Do you get the exact same result with 0, 1, 10, 100 and 1000? Or does the colour change with these? If no difference is visible, then I doubt you correctly assigned the material to the object. Something like that. Are you sure you are handling all SubEntities, for example?

Re: The Blob

Posted: Sun Feb 22, 2009 12:11 pm
by hangchon18
my material is incorrect.
I fixed this problem.
Changing of the color is right now.
thanks a ton for your help.
:D

Re: The Blob

Posted: Sun Sep 01, 2013 11:31 am
by Oogst
I just wrote a blogpost comparing statistics from our various games, including this oldie here: De Blob! Quite interesting, I think/hope!

The statistics of our games, part 1

Image