Japanese | English | Korean

Samples

M3G 1.0/1.1 ( JSR184 )

Samples are available for M3G 1.0/1.1 (JSR184). M3G 1.0/1.1 is one of the MascotCapsule V4 API sets.
Sample data is downloadable from the following links:

Basic rendering

Title Summary
What is a scene graph? What is a scene graph? Brief summary of a scene graph Details
Rendering 3D graphics (Retained mode) Rendering 3D graphics
( Retained mode )
How to render basic 3D graphics using M3G Details
Obtaining a node from the scene graph Obtaining a node from the scene graph How to obtain a node from the scene graph Details
3Rendering 3D graphics (Immediate mode) Rendering 3D graphics
( Immediate mode )
How to render 3D graphics using the Immediate mode Details
Building a scene graph Building a scene graph How to build a scene graph Details
Using the Transformable class Using the Transformable class How to operate the Transformable class Details
Coordinate systems and the camera Coordinate systems and the camera M3G coordinate systems, transformation, and the camera setting Details
Projection methods Projection methods How to use parallel projection and perspective projection Details
Lighting Lighting How to use the light Details
Blending mode Blending mode How to render a model semi-transparently Details
Fog Fog How to render the effect similar to a foggy atmosphere Details
Controlling the animation Controlling the animation How to control the animation using the AnimationController class Details
Replacing the texture Replacing the texture How to directly replace a texture in the model data Details
Perspective correction Perspective correction How to render with the consideration of not only the width and height of textures, but also the three-dimensional depth Details
Rendering the primitives Rendering the primitives How to render primitives by specifying the vertices of each polygon Details
LookAt (Immediate mode)) LookAt ( Immediate mode ) How to obtain a view transformation matrix using the camera position and lookat-point, in the Immediate mode Details
LookAt (Retained mode) LookAt ( Retained mode ) How to obtain a view transformation matrix using the camera position and lookat-point, in the Retained mode Details