Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
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  
  Heightmap tesselation online Applet sample  (Read 2462 times)
0 Members and 1 Guest are viewing this topic.
Offline DzzD
« Posted 2007-11-23 15:32:53 »

Long time without any Applets!

So as I love applets and because I found an old sources code while I was looking for a file in my computer, I decided to share it.

Sample applet that show tesselation of an heightmap in realtime, source code can be downloaded from the given link.

http://dzzd.net/demo/ROAMSample/

PS: I tried to clean source code but it can still appear a bit messy.

PS2: would be great to be able to include Applet (I mean unsigned ofcourse) as we can include Image on JGO forum, no ?



Offline SimonH
« Reply #1 - Posted 2007-11-23 17:56:23 »

would be great to be able to include Applet (I mean unsigned ofcourse) as we can include Image on JGO forum, no ?

What a cool idea! How about a competition for the best mini-game or graphics effect?

Heroes' Keep is in development.
Meanwhile try Bloodridge
Offline DzzD
« Reply #2 - Posted 2007-11-24 06:27:34 »

What a cool idea! How about a competition for the best mini-game or graphics effect?

yep, that's would be cool too, but i was more talking to something that I found annoying, the forum only allow displaying images on posts, it would be great to be able to display dynamic content as Applets, it is sometime usefull and so people doesn't have to go to another Web site to understand you post ? may be the abylity to add a link to an applet (that display the applet in the post) as we can already link to an image that is displayed in the post would be great.

PS: I fortgot to mention that the given applet only show the dynamic LOD engine in action in 2D fo simplicity but the class provided in source code zip file works and is made for 3D use.

Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline cylab

JGO Knight


Medals: 30



« Reply #3 - Posted 2007-11-24 12:05:54 »

I am against applets in forums in general. Unfortunately there are still cases, applets do freeze the browser or take a huge amount of time for loading. Just think about "Hey, I've made this applet that's having a deadlock - could you please test it on your system?" ;P. Linking to an external page containing the applet is good enough imho.

Maybe when the next java plugin version (which afaik runs in a separate process and uses the "java kernel") is wide spread enough, we could think about this.

Mathias - I Know What [you] Did Last Summer!
Offline DzzD
« Reply #4 - Posted 2007-11-25 01:23:56 »

yup I understand what you mean.

But a frozing applet can be removed by moderators as well as an image link that would be too big ?

also even when the next java plugin will be on many platforms, they will still be a lot of with old one.

EDIT:

maybe displaying an image sized to target applet size that show a simple text click to run applet would do the job ? once you click applet start. so the forum reader will choose or not to run applet. also ability to provide image that is shown instead of the applet would be great, it could be a snapshot of the applet running.

Offline SimonH
« Reply #5 - Posted 2007-11-25 04:22:13 »

I am against applets in forums in general. Unfortunately there are still cases, applets do freeze the browser or take a huge amount of time for loading. Just think about "Hey, I've made this applet that's having a deadlock - could you please test it on your system?" ;P. Linking to an external page containing the applet is good enough imho.

Maybe when the next java plugin version (which afaik runs in a separate process and uses the "java kernel") is wide spread enough, we could think about this.

I'm happy with the good sense in this - but you gotta admit it would've been fun!

@ Dzzd - that tesselation code is pretty handy - I'm trying to get a software-rendering 'boundless' 3D landscape engine together and this may help! thx

Heroes' Keep is in development.
Meanwhile try Bloodridge
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (132 views)
2013-05-17 21:29:12

alaslipknot (141 views)
2013-05-16 21:24:48

gouessej (171 views)
2013-05-16 00:53:38

gouessej (165 views)
2013-05-16 00:17:58

theagentd (175 views)
2013-05-15 15:01:13

theagentd (160 views)
2013-05-15 15:00:54

StreetDoggy (204 views)
2013-05-14 15:56:26

kutucuk (228 views)
2013-05-12 17:10:36

kutucuk (228 views)
2013-05-12 15:36:09

UnluckyDevil (231 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.073 seconds with 20 queries.