New features

31.10.2008 Mikhail Fominykh

Mouse events
We’ve implemented mouse interactivity support for 3d objects. Now you can handle mouse events by attaching listeners to objects, surfaces and faces. Event objects contain all necessary information about the point in which an event has occurred: 3d-coordinates, uv-coordinates and affected elements of the scene.

Mouse events

Sprites
Now the engine includes sprites — objects that don’t have faces but only position in the scene and an image which is placed in that position. Sprites are useful for displaying various objects that do not need to be real 3d objects. Since sprites are built into BSP-tree, they are qualitatively sorted before rendering.

Sprites

Developer’s material
The purpose of this material is to give a visual representation of BSP-tree’s quality. With its help you can see, for example, how much fragments different faces have or how deep in the tree they are lying. Such information may help you to optimize your 3d-model for better performance.

Developer's material

Adjustable clipping
It is possible now to set clipping modes for cameras. This allows not to render objects that are too far or, if the entire scene is before the camera and never leaves viewport, you can turn off clipping thus increasing rendering speed.

Adjustable clipping

11 Responses to “New features”

  1. Mr.doob Says:

    Hats off. Really impressed.

  2. dVyper Says:

    Brilliant examples! Keep up the good work! Those smiley faces scare me a bit though…

  3. Yasu Says:

    Nice! I study alternativa3d lib just now. This article becomes reference very much.

  4. Ponce Says:

    incredible!!

  5. Farid Arzpeyma Says:

    Awesome!

  6. Vaclav Vancura Says:

    Wow! My jaw dropped! (another useless comment)

  7. Soff Says:

    Nice, the dev material is a great idea. I have a question about the BSP do you weight potential BSP tree? Whats the priority during generation, equally divided space or number of splits? Or mixed priority? Or you simply go brute force without weighting it at all, face by face just how you get it from the model data, so the BSP optimization is in the hand of model maker?

  8. Mikhail Fominykh Says:

    Soff, there are two properties in Scene3D class: splitAnalysis and splitBalance, which responsible for the way how splitters are being selected.

  9. Li Says:

    Congratulations guys, this stuff looks rock solid!!

  10. SBL-Clipping path services Says:

    Superb!!!!

  11. alex Says:

    Welcome to: http://www.flash-awards.lv

Leave a Reply