Java-Gaming.org
Java4K winners:
[
by our judges
|
by the community
]
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members
News
: Read the
Java Gaming Resources
, or peek at
the official Java tutorials
Home
Help
Search
Login
Register
Java-Gaming.org
>
Java Game APIs & Engines
>
OpenGL Development
>
JOGL Development
>
2 Questions on fog
Pages: [
1
]
Print
2 Questions on fog
(Read 495 times)
0 Members and 2 Guests are viewing this topic.
Supamagier
JGO n00b
Posts: 17
2 Questions on fog
«
on:
2009-09-06 11:39:41
»
I have two questions about fog. Please help me out, if you can.
1)
Is it possible to add 'more than 1 fog'? Like you can add light0, light1, etc, with light. Is the same possible for fog? So that you can create some kind of fog bank. If it isn't, how would I create such things otherwise?
2)
You only can set the fog start and end, right? how would I put fog on the sides, so that you have a rectangle around which the fog is. If that isn't possible, how would you make the fog look all around, so that you see fog wherever you place the camera. (I would give you an example, but the only example I can think of is
RuneScape HD
.)
Thanks,
~Matt
Riven
« League of Dukes »
JGO Kernel
Posts: 5862
Medals: 255
Hand over your head.
Re: 2 Questions on fog
«
Reply #1 on:
2009-09-06 11:50:50
»
OpenGL Fog is an operation that reads the depthbuffer and calculates a blending operation for it, using the fog color.
You cannot have volumetric fog out of the box, unless you code it yourself.
Hi, appreciate more people! Σ ♥ = ¾
Learn how to
award
medals... and work your way up the
social rankings
Supamagier
JGO n00b
Posts: 17
Re: 2 Questions on fog
«
Reply #2 on:
2009-09-06 12:09:35
»
Okay, thanks.
~Matt
Pages: [
1
]
Print
Jump to:
Please select a destination:
-----------------------------
Games Center
-----------------------------
=> Featured Games
=> Showcase
=> Contests
===> LWJGL16k - 2011
===> 4K Game Competition - 2012
===> JGO Comp Petite
===> Finished Contests
=====> 4K Game Competition - 2011
=====> 4K Game Competition - 2010
=====> 4K Game Competition - 2009
=====> 4K Game Competition - 2008
=====> 4K Game Competition - 2007
=====> 4K Game Competition - 2006
=====> 4K Game Competition - 2005
=====> Tiny Game 2010
=====> JGO Comp 2009
=====> 16K LWJGL Competition - 2005
=====> Java Technology Game Development Contest - 2004
-----------------------------
Discussions
-----------------------------
=> General Discussions
===> Suggestions
=> Business and Project Discussions
===> Jobs and Resumes
===> Community & Volunteer Projects
=> Miscellaneous Topics
-----------------------------
Game Development
-----------------------------
=> Newbie & Debugging Questions
=> Articles & tutorials
=> Game Play & Game Design
=> Game Mechanics
===> Artificial Intelligence
=> Networking & Multiplayer
=> Performance Tuning
=> Shared Code
-----------------------------
Java Game APIs & Engines
-----------------------------
=> Engines, Libraries and Tools
===> Java 3D
===> JInput
===> jMonkeyEngine
===> Xith3D Forums
===> Tools Discussion
=> Java 2D
===> JavaFX
=> OpenGL Development
===> JOGL Development
===> LWJGL Development
=> Java Sound & OpenAL
===> JOAL Development
=> Java on Mobile Devices
===> Android
===> J2ME
Loading...