Is this pure or Java

I was wonering if anyone can guess if this effect is done with pure java or using openGL or DirectX?

http://www.waterlogic.com.sg/smallmedia/gallery/volumetriclight4.html

same question here for another example

http://www.waterlogic.com.sg/smallmedia/gallery/volumetriclight2.html

these are examples taken from the site WaterLogic.com.sg

It’s got to be through Java2D, simply because there is no dialog popping up to ask me to grant permission to a signed jar.

edit: actually I think he’s doing this with 1.1

Yeah thats what i was thinking, vry impresive stuff. It oes say loading JavaFX before the applet starts so I was wonering is JavaFX something this guy wrote or is it a public API of some kind?

My volumetric light code won the contest at cfxweb.net

It is a bit odd and can probably be improved… but the source is available as per the contest rules.

This link should get you the zip:
http://www.cfxweb.net/modules.php?name=Downloads&d_op=getit&lid=278&ttitle=Contest%202%20entry%203

All pure Java.

I think the Waterlogic demos are written pretty much completely by “that guy”. He might be using a very thin rendering class like TinyPCT

What do you mean by very thin rendering class? What is TinyTCP? Im still relativle novice at this.

TinyPTC makes a very simple animation loop based on a MemoryImageSource… Basically you extend it and override one method to create the image you want for the next frame in an array. The painting of the image and looping around for the next frame are done be the base class. It is basically designed for special effects that tend to run as fast as they can.

Just take a look at it and you will quickly see what it is all about. I say it is ‘thin’ because the code to do the rendering loop based on a MemoryImageSource is only a few lines. You might as well roll your own rendering class if you are trying to learn.

Thanx I get it now.