Hallo,

I am writing a RTS game in Java with Java 3D. I have two questions:

The player discovers the map through the game. Getting the terrain
coordinates where the user clicked is for already discovered parts not a
problem, as I can use default Java 3D picking methods. But how do I discover
where the user clicked, if this part is undiscovered?

To get a nicer landscape I want blend the textures so the terrain overlaps. My
original idea was to create a BufferdImage for each grid and add this as a
texture to the geometry. But this would result into an OutOfMemory Exception.
Currently I am adding the complete known map to the scene-graph. Would it
work if I only add the currently visible area and remove the invisible?

Thanks,

--
Andreas Bauer
[EMAIL PROTECTED]

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to