This series of articles, presented by a game development group that operates in the field of 3D and CG content, will explore..
Through collaboration between the company's game content-related technologies and UC-win/Road's VR technology, we are embarking on new developments
We will introduce various content, including know-how related to planning and production by creators.

Suite Chidori Engine editor version update
CollisionSample: Release of video features for the iOS version

Suite Chidori Engine editor

The Suite Chidori Engine provides a dedicated editor. With the newly released customization features, users can now extend the existing functions of the Suite Chidori Engine editor and incorporate them into their applications.

This allows users to add time-based effects to scenes created in the editor, or incorporate interactive features such as changing colors when a texture is clicked. The app's functionality becomes more convenient because users can visually confirm these changes within the editor's tree view.

Furthermore, it is now possible to add new collision objects as child elements of existing objects, allowing for the simulation of physics such as a model falling due to gravity and collisions between models.

New features: Customization

You can create a framework to generate new classes that inherit from existing ones for each element within a scene created or loaded using the Suite Chidori Engine editor.

Within the project tree in the editor, right-clicking on an object (each element within a scene) will display a "Customize" menu item. By simply executing this menu and specifying the output location for the project, you can easily create a project for class generation.

Clicking on an image will display a larger version of the image

Figure 1: Customization features

The generated project includes empty function templates, so you can write the code for your desired functionality and create a DLL by building it, which can then be used in your application.

The customizable elements within a scene include the following:

  • Camera
  • ・Light
  • ・Model
  • ・Motion
  • ・Vertex buffer (2D/3D)
  • ・Particle effects
  • Bitmap fonts
  • ・Sound
  • ・Movie
  • • UI data
New feature: Collision detection

Within the project tree in the editor, right-clicking on an object (each element within a scene) will display the "Add" - "Collision" menu item. Clicking this adds collision to the object. Furthermore, by right-clicking on the collision itself, you can select the shape of the collision from options such as box, sphere, and capsule.

Clicking on an image will display a larger version of the image

Figure 2: Collision function

In the collision properties list, you can configure settings such as the position and orientation of the collision object, whether gravity is applied, and the collision state (STATIC, KINEMATIC, or DYNAMIC). You can also apply forces from arbitrary positions or set a torque to rotate the model.

Clicking on an image will display a larger version of the image

Figure 3: Collision Property List

Furthermore, in play mode, it becomes possible to reproduce physics simulations such as the falling and collision of models with added collision detection.

Clicking on an image will display a larger version of the image

Figure 4: Play mode buttons

Sample project: CollisionSample

The latest version of the Suite Chidori Engine includes a sample project called CollisionSample. CollisionSample is a sample project that allows you to test collision functionality. You can add collisions to models and change whether or not gravity is applied. Furthermore, by changing the collision state, you can run physics simulations to observe how models interact when they collide.

Clicking on an image will display a larger version of the image

Figure 5: CollisionSample screen

You can modify various properties of the collision mesh, such as its size, orientation, and color.

Clicking on an image will display a larger version of the image

Figure 6: Changing the radius of the capsule collision

Clicking on an image will display a larger version of the image

Figure 7: Changing the height of the capsule collision

Clicking on an image will display a larger version of the image

Figure 8: Changing the color of the capsule collision

Also, clicking on the screen displays a white line (ray). When the capsule collision is clicked, a hit detection occurs against the model, and a flame particle effect is played.

Clicking on an image will display a larger version of the image

Figure 9: Layer display for debugging purposes

Clicking on an image will display a larger version of the image

Figure 10: Ray casting

iOS video features

We have added video functionality to the iOS version of the Suite Chidori Engine, and also included a video conversion tool called "MJPEG Converter." The video functionality uses the MoviePlayer class to perform movie playback, stopping, pausing, and resuming. It supports Motion JPEG for video, PCM for audio, and AVI file format. The "MJPEG Converter" allows you to convert video data to various file formats, and also lets you specify the video resolution, video frame rate, and audio sampling rate after conversion.

Clicking on an image will display a larger version of the image

Figure 11: MJPEG Converter

(Featured in the New Year issue of Up&Coming '24)



Previous page
    
Index
    
Next page


Up&Coming

LOADING