Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (686)
Games in Android Showcase (198)
games submitted by our members
Games in WIP (758)
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  
  Texturing Terrain!!! (Help me save my keyboard)  (Read 897 times)
0 Members and 1 Guest are viewing this topic.

Junior Newbie

Java games rock!

« Posted 2004-11-15 16:36:14 »


This is my first post as I have only just found this board. Here goes:

I have written a program that generates a 3d representation of an image (landsat images etc) which kinda works fine. What I want to do is overlay the original image over the top to give a realistic look to the generated terrain but I do not seem to know how to do it. Please could some one suggest a way and point me in the right direction as my keyboard has teeth marks in it and I'm not sure how long its going to last. Huh

I hope  my request for help isn't too vague, but I am really very stuck on this which is a bit annoying as this really should be the simplest part.

ps. the image is 128 x 128 pixels, the generated terrain matches that size so in theory I should be able to stretch it across the image with little effort.
Offline Mike Jacobs

Junior Devvie

« Reply #1 - Posted 2004-11-16 12:34:23 »

You have two options.
1) If the resolution is low (128 x 128 sounds low) consider using vertex coloring.
2) Use texture mapping.  There is a good explanation in the J3D tutorial.

Special Effects for Java 3D games:

Junior Newbie

Java games rock!

« Reply #2 - Posted 2004-11-16 16:55:36 »

Cheers I managed to get the terrain textured earlier today. Decided to go right back to basics and start again so that almost seems to be sorted now, only problem remaining is that the texture comes through green. Ideas any one as I do not see a reason for this?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike

Junior Newbie

Java games rock!

« Reply #3 - Posted 2004-11-17 05:03:24 »

Ooops sorted that too!!! Grin

Makes you wonder doesn't it? Grin
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

roseslayer (462 views)
2016-08-06 11:43:29

roseslayer (421 views)
2016-08-06 09:43:11

xTheGamerCodes (496 views)
2016-08-04 15:40:59

xTheGamerCodes (488 views)
2016-08-04 15:40:24

orrenravid (837 views)
2016-07-16 03:57:23

theagentd (914 views)
2016-07-11 14:28:54

Hydroque (1010 views)
2016-07-06 05:56:57

Hydroque (1013 views)
2016-07-03 08:52:54

GrandCastle (826 views)
2016-07-01 09:13:47

GrandCastle (640 views)
2016-07-01 09:09:45
Rendering resources
by Roquen
2016-08-08 05:55:21

Rendering resources
by Roquen
2016-08-08 05:52:42

Rendering resources
by Roquen
2016-08-08 05:50:38

Rendering resources
by Roquen
2016-08-08 05:49:53

Rendering resources
by Roquen
2016-08-08 05:32:39

Making a Dynamic Plugin System
by Hydroque
2016-06-25 00:13:25

Java Data structures
by BinaryMonkL
2016-06-13 21:22:09

Java Data structures
by BinaryMonkL
2016-06-13 21:20:42 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‑
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!