In the game we (understand : MagicSpark.org team) are working on, we want to make a menu scene with scrolls (parchments, http://www.magicspark.org/forum/index.php?action=dlattach;topic=470.0;attach=367;image) that are arranged in a sortof bookcase, and they are unfolded and screen-aligned when you click on them (each scroll is a menu item). Some Cal3D models will do the trick for scrolls, and an OBJ for the bookcase, so no problems for that.
Now the trickier part is lighting and materials… We want to have a candle which enlighten the scrolls. So far, a pretty candle model has been realized (http://www.magicspark.org/forum/index.php?action=dlattach;topic=470.0;attach=369;image).
But we could 1. use a particle system to simulate a flame or 2. use a transparent 2D animated texture…
I don’t know what would give the best result but for 1, I’d have to digg JavaCoolDude’s work and clean it up (as I said I would do so a long time ago, isn’t it DP? ).
For 2, is the work you (Yuri) intended to do (copy-to-texture) concerning this issue ? As far as I know I could either :
- Create several shapes with the candle geometry and corresponding textures and alternate them in a Group (group.setChild(shapes.get(i)); i++ each frame)
- One shape with several appearances alterned
- One shape, one appearance, different Texture2D objects
- Modify the Texture2D object directly… maybe a 3D-array of bytes would be used to store image data (2D for pixels + 1D for time)
What do you think ? Maybe you find there are not so much questions here but 1. you know what I/we (MK team) am/are working about, and 2. you can criticize my weird coder practices (so I get less hackerish) and 3. huh… maybe it gives motivations to core developers to know that actually there are users and they’re trying to do great things with Xith3D (it’s long, I admit but that’s just my fault).