Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (577)
games submitted by our members
Games in WIP (498)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Is this pure or Java  (Read 1738 times)
0 Members and 1 Guest are viewing this topic.
Offline Kommi

Junior Member




All opinions will be lined up and shot!


« Posted 2003-01-22 03:47:17 »

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

Kommi
Offline markuskidd

Junior Member


Medals: 1



« Reply #1 - Posted 2003-01-22 03:51:03 »

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
Offline Kommi

Junior Member




All opinions will be lined up and shot!


« Reply #2 - Posted 2003-01-22 04:00:39 »

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?

Kommi
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #3 - Posted 2003-01-23 02:00:30 »

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

Offline Kommi

Junior Member




All opinions will be lined up and shot!


« Reply #4 - Posted 2003-01-24 17:09:17 »

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

Kommi
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #5 - Posted 2003-01-24 18:09:36 »

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.

Offline Kommi

Junior Member




All opinions will be lined up and shot!


« Reply #6 - Posted 2003-01-24 19:53:12 »

Thanx I get it now.

Kommi
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (23 views)
2014-04-15 18:08:23

BurntPizza (18 views)
2014-04-15 03:46:01

UprightPath (32 views)
2014-04-14 17:39:50

UprightPath (16 views)
2014-04-14 17:35:47

Porlus (32 views)
2014-04-14 15:48:38

tom_mai78101 (58 views)
2014-04-10 04:04:31

BurntPizza (116 views)
2014-04-08 23:06:04

tom_mai78101 (216 views)
2014-04-05 13:34:39

trollwarrior1 (183 views)
2014-04-04 12:06:45

CJLetsGame (190 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!