Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (523)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (592)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Terrain Rendering  (Read 7659 times)
0 Members and 1 Guest are viewing this topic.
Offline arne

Senior Devvie




money is the worst drug- we should not let it rule


« Reply #30 - Posted 2005-10-16 13:23:36 »

how? aren't we getting a bit offtopic here?
yup
Quote
on the 'non-core' topic:
a: the terrain package ( and some others ) were moved to the toolkit
ahh that's reasonable - it moved then with the other loaders. I already wondered.
Quote
b: i'm ( and i guess arne isnt either ) by no means a core developer just some guy who came along and thought i'd contribute something to xith ...
actually nobody here is a core developer, most code the stuff, what they need for their game, and contribute that. Will might be the only exception (because he's the project owner - but don't expect him to do all that stuff - he also got loads to do!) + About myself - I haven't actually got a developer status yet - mmh I really should have one for the xith-tk, when Goliat has finished his code, so we can use the cvs
Quote
as of the progress:
i externalized the loading to modules .... at the moment there is a 'load from image', a 'load from binary file' and a loader that loads a plane terrain that can be modified afterwards ... the modules implement an interface ... so everybody can implement an own loader
Nice  Cheesy
I am dying to test it. Cheesy

Arne

:: JOODE :: Xith3d :: OdeJava ::
Offline Goliat

Junior Devvie





« Reply #31 - Posted 2005-10-24 17:11:49 »

just another progress report:

the heightmap editor is more or less functional ( not a beauty ... but it works ) to be honest the interface is very clumsy but you can create, modify and view bezier heightmaps with much less hazzle than to do it by hand Wink
i'd like to post another screeny ... but this time i really got no one here ...
there are some few things left to iron out ( like some little scaling problems ) but it hope by the end of the week i'm able to give you a little 'demo' version to play around with Wink

next things on my shedule:
- get some sleep
- work ...
- get some more sleep
- try to find a new apartment
- etc ...

no serious:
now that i have a working heightmap editor i'll concentrate on the terrain itself again and there a lot things have to be done ... Wink

Florian, the forever restless ...
Offline arne

Senior Devvie




money is the worst drug- we should not let it rule


« Reply #32 - Posted 2005-11-17 20:20:20 »

So, how has been progress?

Maybe you'll simply add that what you've done to the xith-tk and let the community do the rest, if you haven't got enough time for it.

Arne

:: JOODE :: Xith3d :: OdeJava ::
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Goliat

Junior Devvie





« Reply #33 - Posted 2005-11-28 17:19:14 »

hmm... now that i see i've got much too less time i'd just do that ... but my pc's at my girlfriends home with (almost) no internet

progress:
have a nice terrain with 5 resolution levels per patch, with multiple texture layers ( currently just two types: baselayer and additional texture layer )

now i have to find a way to set the right resolution per patch ... i would like to use some kind of screen error check ( meaning there is a error in the 'up' direction which is projected on the screen where it is compared to a given max error )
i have the error per patch ... but i have no idea how to do the projection part ... any hints?
Offline Goliat

Junior Devvie





« Reply #34 - Posted 2005-12-04 22:12:07 »

just as i promised ( to arne ) and without a lot of words
my terrain code for everyone to play around

just one node: this is not the final thing ... i just havn't got that much time at the moment so i'll give you the current code
i'll do some more writing tomorrow ... and'll go to bed now

[edit] should attach the code right? Wink - just remove the .jpg at the end of the filename [/edit]
Offline cylab

JGO Ninja


Medals: 55



« Reply #35 - Posted 2005-12-05 10:55:49 »

To answer you question for the error-projection:

In my terrain, I determine the height-error of every detail-level in respect to the most detailed one by calculating ray plane intersections from each vertex in the latter to the triangles of the less detailed patch. In the rendering, I set up a vector like [0,0,<heightError>] for every detail level patch (starting with the less detailed one) and multiplicate this vector with the current ModelView Matrix. The first detail level patch is choosen for rendering, for which the length (or squaredLength for performance reason) of this vector is less than the maximum allowed error.

Mathias - I Know What [you] Did Last Summer!
Offline arne

Senior Devvie




money is the worst drug- we should not let it rule


« Reply #36 - Posted 2005-12-05 11:27:43 »

hmm.. I get an error with (TerPath.java L.17)
1  
import org.xith3d.geometry.Patch;

:: JOODE :: Xith3d :: OdeJava ::
Offline Goliat

Junior Devvie





« Reply #37 - Posted 2005-12-05 20:40:58 »

oh ... jup .. just another class i forgot to upload Wink
Offline arne

Senior Devvie




money is the worst drug- we should not let it rule


« Reply #38 - Posted 2006-01-14 13:14:53 »

ok I haven't still tested your code - hrrg - I really should do this

a nice topic about this, I found here at the forum (for everybody who missed):

http://www.java-gaming.org/forums/index.php?topic=12102.0

EDIT: woot, woot I finally managed to have some time to test it (I had to write an test-case is that correct, or did I simply miss something?) And then it wasn't able to find all the resources (images and .gsgl files)

:: JOODE :: Xith3d :: OdeJava ::
Offline Goliat

Junior Devvie





« Reply #39 - Posted 2006-01-18 15:51:15 »

arg .... slap me, hit me, beat me ... whatever ... i'm depending on to many external files ... i guess i'll include the gsgl stuff 'inline' ( which was in my mind before as i like to use a dynamic number of texture states )

what else is missing? i guess you xith build doesn't handle Branch-/TransformGroups which implement NodeUpdater ... there was another topic started by me some time ago ... but i don't think anything got changed in the xith core

  [person related babbeling: i'm currently offline ... just around 20 days to go ... am at seminar for this week and have inet here ... but that doesn't help me ... right?  ]

Greetz Florian
Pages: 1 [2]
  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.

SHC (24 views)
2014-11-25 12:00:59

SHC (23 views)
2014-11-25 11:53:45

Norakomi (19 views)
2014-11-25 11:26:43

Gibbo3771 (22 views)
2014-11-24 19:59:16

trollwarrior1 (36 views)
2014-11-22 12:13:56

xFryIx (74 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (41 views)
2014-11-12 21:09:33

kovacsa (68 views)
2014-11-07 19:57:14
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!