• Skip to site navigation
  • Skip to blog entries
  • Skip to archive page
  • Skip to left sidebar
  • Skip to right sidebar

Fork Particle Blog

Tuesday, May 15. 2012

Particle System Rendering: Using Triangle Strips

Posted by
Noor Khawaja
in Particle System
Particle effects geometry quads may be rendered with Point Sprites, Triangles, Quads, and Tri-Strips render primitive types. Each primitive type can be indexed or non-indexed. There is a benefit to using indexed primitives for particle geometry quads – the vertex index buffer needs to be filled only once provided the index buffer is not destroy or recreated.

The Tri-Strips primitive method requires that each quad is disjointed after every quad. So after every four vertices, a degenerate triangle is inserted between two quads. The degenerate triangle is automatically dropped during rendering. Here is some DirectX source code snippet to setup the indices:


// Fill indices (index buffer)
WORD* pIndices = NULL;
int nNumVerts, i;
m_pIBDxQuad->Lock (0, nIBSize, (void**)&pIndices, D3DLOCK_NOOVERWRITE);
nNumVerts = 0;
for (i = 0; i < MAX_PS_PARTICLES; i++) {
*pIndices++ = nNumVerts;
*pIndices++ = nNumVerts++;
*pIndices++ = nNumVerts++;
*pIndices++ = nNumVerts++;
*pIndices++ = nNumVerts++;
*pIndices++ = nNumVerts-1;
}
m_pIBDxQuad->Unlock();

Filling particle geometry quad vertex data is reduced to 4 vertices per quad. Assuming the particle vertex is setup with position, diffuse, and texture coordinates, here is code snippet for filling the vertex data for a single particle quad:

// Fill vertex data (vertex buffer)
pVertex->Pos = (D3DXVECTOR3) V0;
pVertex->Color = DxColor;
pVertex->UV.x = pTextCoord1->x;
pVertex->UV.y = pTextCoord1->y;
pVertex++;

pVertex->Pos = (D3DXVECTOR3) V1;
pVertex->Color = DxColor;
pVertex->UV.x = pTextCoord1->x;
pVertex->UV.y = pTextCoord2->y;
pVertex++;

pVertex->Pos = (D3DXVECTOR3) V2;
pVertex->Color = DxColor;
pVertex->UV.x = pTextCoord2->x;
pVertex->UV.y = pTextCoord1->y;
pVertex++;

pVertex->Pos = (D3DXVECTOR3) V3;
pVertex->Color = DxColor;
pVertex->UV.x = pTextCoord2->x;
pVertex->UV.y = pTextCoord2->y;
pVertex++;

m_nNumIndices += 6;
m_nNumVerts += 4;

Note that index count is incremented by 6. The indices 1 through 4 make the displayed particle quad and index 4, 5, and 6 make up the degenerate triangle which is not displayed.

Monday, May 14. 2012

Cutting Edge Products for Video Game Development Companies

Posted by
Cindy Smith
in Video Game Development
Fork Particle offers cutting edge and high quality products and tools for video game development companies which are proven for achieving spectacular advanced visual and special effects. Our professional and complete solution covers the entire particle system effects pipeline to save valuable effects production time. We are a globally trusted name in particle engine and particle effects software and one of the best providers of essential video game development tools.

Fork Particle is a dedicated, experienced and highly professional outfit providing services and solutions to companies all over the world. Some of the best and leading video game development names like Microsoft, Trickstar, Firaxis, THQ and Electronic Arts are amongst our clients. Try Fork Particle products today and take your game’s graphics to the next level.

Saturday, May 12. 2012

Use of Fork Particle Products in Video Game Engine

Posted by
Cindy Smith
in Video Game Engine
Use of Fork Particle’s products in your video game engine will significantly enhance the quality of your video games graphics with spectacular and real time special effects. Our products and solutions can not only streamline your visual effects production but also enable you to create and simulate advanced particle effects that will enhance graphics realism and quality of your game title.

Fork Particle Inc. offers three products which are Fork Particle Ultimate™, Fork Particle Complete™ and Fork Particle Casual™. Gaming industry giants like Microsoft, Trickstar, Firaxis, THQ and Electronic Arts are using our products to good effect in their games and our clients list is growing all the time. Contact Fork Particle today for more details about our products and solutions.

Friday, May 11. 2012

High Quality Visual Effects and VFX Software Solutions

Posted by
Cindy Smith
in Visual Effects Software
Fork Particle offers high quality visual effects and VFX software solutions which deliver breathtaking real time special effects and take you video game’s graphics to the next level. Our professional solution covers the entire particle system effects pipeline to save valuable effects production time. Our three products are, Fork Particle Ultimate™, Fork Particle Complete™ and Fork Particle Casual™. You can choose any product as per your need and size of your project.

Today there is a growing demand in video game designs for better, high quality and real time special effects to match the large game content while project development durations remain the same. Fork Particle’s professional solution will give you powerful authoring capability which will enable you to create spectacular and high quality visual effects in no time. Our solution will not only save you time but also give you more control in development process.

Thursday, May 10. 2012

Fork Particle Offers Reliable Video Game Development Software

Posted by
Cindy Smith
in Video Game Development
Fork Particle offers video game development software which will give you powerful authoring capability so you can focus more on your creative energies. In today’s highly competitive gaming industry, quality graphics is a key factor in sale of any game title. Fork Particle’s products and services will improve the quality of your video games graphics with spectacular, advanced and real time special effects while giving you more control.

Fork Particle’s products are easy to integrate and work with, extendable, and fast. By making good use of our years of industry experience and expertise, we have taken the specialized route to enhance graphics in video games by focusing our products and solutions on real time particle system special effects. Have any question or specific need, feel free to contact Fork Particle today for an expert opinion.

Wednesday, May 9. 2012

Game Development Tool

Posted by
Cindy Smith
in Game Development Tool
Equip yourself with Fork Particle's advanced game development tools and products and feel the difference. Our products will not only enable you to create high quality special effects really quickly but also enable you to have more control over the development phase. We are well known name in the gaming industry and have many big names like Microsoft, Trickstar, Firaxis, THQ and Electronic Arts in our clients list.

Fork Particle products are available for PC, XBOX 360, PlayStation®3, PlayStation® Vita, Linux, Mac, iOS (coming soon) iPad and iPhone. Improve and enhance your games with our mature and field tested technology which has been integrated with many in-house and 3rd party game engines. Our products come with effects samples, tutorials, and help documentation.
(Page 1 of 5, totaling 28 entries) next page »

Links

  • Blog Home
  • Main Website

Archives

  • May 2012
  • April 2012
  • March 2012
  • Recent...
  • Older...

Copyright 2011 Fork Particle, Inc. All Rights Reserved. All trademarks are the property of their rightful owners.

Based on the s9y Bulletproof template framework
Powered by s9y – Template by Bulletproof development team.