Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (494)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / OpenGL Development / Re: Textures on: 2012-04-04 03:09:28
Yea that was on C++ not sure if the same methods apply. Thanks for the help though.
2  Java Game APIs & Engines / OpenGL Development / Textures on: 2012-04-04 02:44:52
Alright so i need help applying my texture to my terrain.

I finally got it to load correctly and its drawing my texture to each of the Quads. The whole image is on one quad, im sure this is simple but heres a pic.

3  Java Game APIs & Engines / OpenGL Development / Re: Terrain Question on: 2012-04-02 00:41:49
Thank you for this and i will study hard.
4  Java Game APIs & Engines / OpenGL Development / Re: Terrain Question on: 2012-04-02 00:38:27
No i havent, i got that piece of code from a tutorial which i have analyzed well. I am really despirate for this, is it possible we can communicate via a messenger?
5  Java Game APIs & Engines / OpenGL Development / Re: Terrain Question on: 2012-04-02 00:31:06
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
floorDisplayList = glGenLists(1);
        glNewList(floorDisplayList, GL_COMPILE);
           glBegin(GL_QUADS);
              glTexCoord2f(0, 0);
                 glVertex3f(-gridSize, floorHeight, -gridSize);
              glTexCoord2f(0, gridSize * 10 * tileSize);
                 glVertex3f(-gridSize, floorHeight, gridSize);
              glTexCoord2f(gridSize * 10 * tileSize, gridSize * 10 * tileSize);
                 glVertex3f(gridSize, floorHeight, gridSize);
              glTexCoord2f(gridSize * 10 * tileSize, 0);
                 glVertex3f(gridSize, floorHeight, -gridSize);
           glEnd();
        glEndList();


Is what im using.
6  Java Game APIs & Engines / OpenGL Development / Re: Terrain Question on: 2012-04-02 00:24:53
Its a 3D heightmap, what would be the commands for this. This is why i wanted an open source, i cant really find anything for heightmaps open source.
7  Java Game APIs & Engines / OpenGL Development / Re: Terrain Question on: 2012-04-02 00:17:33
So... what bit are you having problems with?
I am having problems with getting the heightmap/terrain loaded.

Are you loading from an existing heightmap file format, or do you want to make your own?
I think i have my own, is a heightmap a 2d image? If not i can easily make a heightmap through a program.

Have you managed to get a flat terrain grid drawing (without loading any heights)?
Yes, i have a 3d system with a flat floor with 8x8 textures.

What kind of terrain are you aiming for?
Just a simple one for now with a few hills so i can test with it an later make a real one that will be used.
3D terrain i meant to add.
8  Java Game APIs & Engines / OpenGL Development / Terrain Question on: 2012-04-02 00:06:23
So i have spent 3 days looking for open source for heightmap/landscape/terrain loaders and cant find anything besides engines like Xith3D or JmonkeyEngine to load these. However i wish to create my own.

I need help with loading a the heightmap, if i could have a little help with this i would be forever grateful. This is one of my only problems i have had along the way.
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

Dwinin (21 views)
2014-09-12 09:08:26

Norakomi (55 views)
2014-09-10 13:57:51

TehJavaDev (66 views)
2014-09-10 06:39:09

Tekkerue (33 views)
2014-09-09 02:24:56

mitcheeb (54 views)
2014-09-08 06:06:29

BurntPizza (38 views)
2014-09-07 01:13:42

Longarmx (24 views)
2014-09-07 01:12:14

Longarmx (30 views)
2014-09-07 01:11:22

Longarmx (28 views)
2014-09-07 01:10:19

mitcheeb (37 views)
2014-09-04 23:08:59
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!