Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (690)
Games in Android Showcase (201)
games submitted by our members
Games in WIP (764)
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] 2 3 ... 114
1  Game Development / Game Mechanics / Re: The Rendering Equation on: 2016-09-30 11:38:29
Adding up an infinite number of small pieces.
2  Game Development / Game Mechanics / Re: The Rendering Equation on: 2016-09-30 10:52:35
The super short answer is conservation of energy.  Now relook at the linked equation.

By conservation of energy, are you referring to the law the a surface cannot reflect more light than it absorbs?

1st term:  Light being emitted from the surface that reaches the eye.
2nd term: Sum up all the light hitting the surface that reflects to the eye.  It's a product of terms to get a how much of that part.

If the light is hitting a surface significantly larger than it's wavelength, then the surface can be modeled as a plane.  The hemisphere is everything outside of the material. 
3  Game Development / Game Mechanics / Re: The Rendering Equation on: 2016-09-30 09:33:45
The super short answer is conservation of energy.  Now relook at the linked equation.
4  Game Development / Game Mechanics / Re: The Rendering Equation on: 2016-09-30 08:50:27
http://www.java-gaming.org/topics/rendering-resources/36535/view.html
5  Game Development / Shared Code / Re: Converting floats/doubles to 10/11/16/N bit floats on: 2016-09-24 11:04:40
The only out here is some unforeseen engineering miracle.

This paper has an old graph of the gap: http://gec.di.uminho.pt/discip/minf/ac0102/1000gap_proc-mem_speed.pdf

Related: https://fgiesen.wordpress.com/2016/08/07/why-do-cpus-have-multiple-cache-levels/
6  Game Development / Shared Code / Re: Converting floats/doubles to 10/11/16/N bit floats on: 2016-09-23 12:23:21
princec: memory footprint.
7  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-09-22 18:12:54
Today IBM announced open sourcing their JDK.
8  Discussions / General Discussions / Re: Programmer jokes on: 2016-09-20 03:40:40
Oh my:

9  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-09-14 09:27:43
People believe what there told to believe...esp when it's convenient and relieves them of any responsibility.
10  Java Game APIs & Engines / OpenGL Development / Re: Vertex cache shenanigans on: 2016-09-13 07:48:22
http://www.joshbarczak.com/blog/?p=1231
11  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-09-12 20:28:26
I got depressed a bit.

http://xkcd.com/1732
12  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-09-11 19:00:46
functional
13  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-09-11 05:58:47
speaking of cubes:  a functional language based causal game http://david-peter.de/cube-composer/
14  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-09-06 07:46:23
Nathan Reed did a little mile-high overview of lighting: http://computergraphics.stackexchange.com/questions/3955/physically-based-shading-ambient-indirect-lighting/3959#3959
15  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-08-24 13:32:21
Speaking of normals.  http://blog.selfshadow.com/publications/blending-in-detail/
16  Discussions / Java Gaming Wiki / Re: Quasi random number (low-discrepancy sequences) on: 2016-08-15 08:04:03
and it works for me
17  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Status of Riven's LibStruct? on: 2016-08-13 20:54:18
I'd say you're chances of him running across this post are quite high (probability approaching 1).
18  Game Development / Shared Code / Re: Fast sRGB conversion GLSL snippet on: 2016-07-18 14:14:49
And for setting-up photoshop properly: https://docs.google.com/presentation/d/1vS5nAAnXbZ8Pt6-dXxy-xEXDkjfjXTmNnthNGccorl0/edit#slide=id.g14b3e28660_0_8
19  Discussions / General Discussions / Re: What does your dream language look like? on: 2016-07-06 08:21:13
If you have time at some point play around with something different.  Java and C++ are more or less the same from a high-level viewpoint.  A real meta-programming or functional language is a different viewpoint.
20  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-06-30 21:13:03
Ran across a pixel art program: https://dunin.itch.io/ptop
21  Discussions / General Discussions / Re: Question: Bit-exact floats on different computers? on: 2016-06-18 05:24:47
Yeah StrictMath is bit-exact, but so is rolling your own approx defed with strictfp.  The compiler is aware of many of these functions and sqrt is an intrinsic.  The rule is the function must be "properly rounded", "correctly rounded" isn't good enough to insure bit-exact.
22  Discussions / General Discussions / Re: Question: Bit-exact floats on different computers? on: 2016-06-17 18:57:24
Looking quickly, the follow should all be good of the fp routines:
sqrt,ceil,floor,rint,round,abs,min,max,ulp,signum,copySign,next{Up,Down,After},scalb
23  Discussions / General Discussions / Re: Question: Bit-exact floats on different computers? on: 2016-06-17 11:34:59
yeap, but you have to take care with things like "java.Math" functions.
24  Discussions / General Discussions / Re: Question: Bit-exact floats on different computers? on: 2016-06-16 20:37:01
Although I generally agree with the first sentence, everything past that is incorrect.

"compilers can and do change the order of calculations":  with specifically known set of rules which are language specific and may depend on programmer specs in code and/or compiler settings.

"in ways that are permitted by the normal laws of arithmetic": if you mean Z/Zn integers and IEEE spec FP then okay, otherwise no.  The only tricky part is FP functions that are not required to be properly rounded.  You have to know what they are and not use them for exact computation everywhere.

"but which no floating point implementation can actually follow."  IEEE FP rules aren't black magic and if you don't use variable ULP functions and disallow any compiler transforms that change error bound then all computations are bit-exact.  That's one of the main points of the spec in the first place.
25  Discussions / General Discussions / Re: Question: Bit-exact floats on different computers? on: 2016-06-16 09:57:59
I'd suggest to avoid the problem.  Make your life easier.  The server is always right.  Mostly send relative information and have client side smoothing.  Periodically send absolute information, but not in the same packet for every object.  Then you don't have to care about any compounding of errors due to FP results...it will go away at the next abs-update and it mostly will be unnoticed due to client side smoothing.  This also allows different versions of the game to work together as long as the net datamodel hasn't changed (barring other breaking changes of course).
26  Discussions / Java Gaming Wiki / Re: Java Data structures on: 2016-06-15 08:52:25
Prebuilt jar URL is a 404... Murr murr
Huh.  Me too.  You can look at the output without jitwatch but it kinda sucks.
27  Discussions / Java Gaming Wiki / Re: Java Data structures on: 2016-06-14 17:39:11
https://github.com/AdoptOpenJDK/jitwatch/wiki

Getting it for windows can be tricky.
28  Discussions / Java Gaming Wiki / Re: Java Data structures on: 2016-06-14 12:11:06
On hotspot these seem to be removed regularly the little I've looked.  No need for a debug VM, release VM with hsdis-{amd64,i386}.{dll/so} is all you need.
29  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-06-10 16:50:59
Have I mentioned this game looks really cool?  Yes I have.
Holy... I WANT TO PLAY THIS, RIGHT NOW.
If you haven't check out the run-and-gun videos...they look much more fun to me than the platform parts.
30  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-06-10 15:44:49
Have I mentioned this game looks really cool?  Yes I have.

<a href="http://www.youtube.com/v/xy0bpSyeCuQ?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/xy0bpSyeCuQ?version=3&amp;hl=en_US&amp;start=</a>
Pages: [1] 2 3 ... 114
 
xTheGamerPlayz (205 views)
2016-09-26 21:26:27

Wave Propagation (405 views)
2016-09-20 13:29:55

steveyg90 (512 views)
2016-09-15 20:41:23

steveyg90 (509 views)
2016-09-15 20:13:52

steveyg90 (552 views)
2016-09-14 14:44:42

steveyg90 (575 views)
2016-09-14 14:42:13

theagentd (532 views)
2016-09-12 16:57:14

theagentd (459 views)
2016-09-12 14:18:31

theagentd (316 views)
2016-09-12 14:14:46

Nihilhis (749 views)
2016-09-01 13:36:54
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21
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!