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
>
Game Development
>
Game Play & Game Design
>
Rendering a sun.
Pages: [
1
]
Print
Rendering a sun.
(Read 1026 times)
0 Members and 1 Guest are viewing this topic.
NiHal
JGO n00b
Posts: 1
Rendering a sun.
«
on:
2011-08-01 20:30:08
»
Hi,
I am trying to render a sun ( star ) in space. But the results I am getting using a particle system are a bit disapointing.. The sun appears transparent and quite fake - I can make it look slightly more realistic by adding a few hundred particles, but that is not really an option..
Does anyone know a good method to render a sun? I think I am approaching this wrong...
NiHal
Eli Delventhal
« League of Dukes »
JGO Kernel
Posts: 3575
Medals: 44
Game Engineer
Re: Rendering a sun.
«
Reply #1 on:
2011-08-01 20:49:36
»
Get a sun image from Nasa and put it on the screen.
Google Image Search
Images from NASA are royalty free and public domain.
See my work:
OTC Software
<br />
Currently Working On:
Secret project...
Quote from: _Riven
I edit JGO in production, because I simply don't waste time writing bugs
lhkbob
JGO Neuromancer
Posts: 1174
Medals: 35
Re: Rendering a sun.
«
Reply #2 on:
2011-08-02 11:40:56
»
To do bright suns well you need to use HDR rendering, or fake it and render a big glow or halo around it so it looks blindingly bright.
Ferox -
http://bitbucket.org/mludwig/ferox
Entreri -
http://bitbucket.org/mludwig/entreri
Games published by our own members! Go get 'em!
ra4king
JGO Kernel
Posts: 3160
Medals: 196
I'm the King!
Re: Rendering a sun.
«
Reply #3 on:
2011-08-02 17:38:14
»
Quote from: Eli Delventhal on
2011-08-01 20:49:36
Get a sun image from Nasa and put it on the screen.
http://www.google.com/search?client=safari&rls=en&q=NASA+images+sun&oe=UTF-8&um=1&ie=UTF-8&tbm=isch&source=og&sa=N&hl=en&tab=wi&biw=1588&bih=934
Images from NASA are royalty free and public domain.
wrong link
-Roi
Doodle Jump online!
Follow me on Twitter!
Riven
« League of Dukes »
JGO Kernel
Posts: 5871
Medals: 255
Hand over your head.
Re: Rendering a sun.
«
Reply #4 on:
2011-08-02 17:40:26
»
He just flipped the HREF and the label. Easy enough.
Hi, appreciate more people! Σ ♥ = ¾
Learn how to
award
medals... and work your way up the
social rankings
Skarion
Jr. Member
Posts: 82
Medals: 2
Re: Rendering a sun.
«
Reply #5 on:
2011-08-16 05:41:23
»
Would love to know this as well.
Currently the stars I do are created by a general algorithm of calculating the distance from the center of the star (creating a ball which get darker the farer out you go) and then considering the distance less considerable if near any 90 degrees or 45 degrees * n of circle considering from center.
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...