Java-Gaming.org Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (649)
Games in Android Showcase (181)
games submitted by our members
Games in WIP (699)
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 ... 111
1  Game Development / Newbie & Debugging Questions / Re: How to make the camera move in the direction of the roatation? on: 2016-01-31 09:35:14
The ortho matrix contains the local coordinate frame.  1st row or column (by chosen convention) is local X, Y is second and Z is third.  So forward, up, right, etc. can be directly yanked out based on that chosen convention as well.
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-29 18:21:48
Have I ever mentioned that I despise self-righteous piracy? 

http://www.gamesindustry.biz/articles/2016-01-29-the-witness-is-being-heavily-pirated
3  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-28 10:28:37
It's only interesting if your zooming in or out enough to be noticeable and it looks bad.
4  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-28 08:28:22
@theagentd: one distance per sample?  What's interesting to see is close in at (what should be)  sharp angles and very small...assuming either will happen.
5  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-28 08:20:38
Returned from the dead, which is to say my new computer finally arrived.
Hey!  Me too.  One of my RAID drives decided to explode so I took the opportunity to just replace everything.  Getting a new machine these days is tough.  Now on day 5 of setting the damn thing up.  (sigh)
6  Game Development / Game Mechanics / Re: Best data structure for triangle collision meshes on: 2016-01-26 21:26:24
You don't need to traverse interior nodes of spatial data-structures except in rare cases.  Leaves need to know how to access neighbor leaves.
7  Game Development / Newbie & Debugging Questions / Re: design pattern to avoid exponential number of extensions on: 2016-01-25 21:29:31
I'm skimming on cell.  This sounds like a good place to use a functionalinterface
8  Game Development / Shared Code / Re: 3D ray-box intersection (right rectangular cuboid) on: 2016-01-19 12:25:32
There are a fair number of methods similar to the ray slope paper.  Classifing a ray by direction has been around forever.
9  Game Development / Shared Code / Re: 3D ray-box intersection (right rectangular cuboid) on: 2016-01-19 10:11:14
My computer has exploded.  Search for ray slope.
10  Java Game APIs & Engines / OpenGL Development / Re: Global Illumination via Voxel Cone Tracing in LWJGL on: 2016-01-12 12:21:28
The second image isn't loading, but... Damn! Looks good!
What's strange for me is that none of these pictures are showing up and there isn't even any indication that there's anything I'm missing (no empty box or anything...just whitespace like a text only post)
11  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-11 13:09:41
AND...since alot of people are interested in 2D (or pseudo 3D that's 2D rendered):

Sean Barrett: http://www.nothings.org/gamedev/compositing_tree/
12  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-11 08:24:35
Wow if Eric Hines didn't know this, then let's mention it again:  Always premultiply alpha...everything else sucks.

Eric's post which links a fair number of others:  http://www.realtimerendering.com/blog/gpus-prefer-premultiplication/

13  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-10 14:00:30
Wait!  People write...like on paper?  Neat.
14  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-09 09:37:49
@CopyableCougar4 & @Icecore:  For java 8 you can just define the signature of the method, make matching methods and pass them around.
15  Discussions / Miscellaneous Topics / Re: Realistic graphics -- how can it be achieved? on: 2016-01-07 09:32:28
I should have said this in the previous.  Go to shadertoy.  All things rendered are implicitly defined and many are way more complex than a teapot.  As a single example: https://www.shadertoy.com/view/ld3Gz2
16  Discussions / Miscellaneous Topics / Re: Realistic graphics -- how can it be achieved? on: 2016-01-07 09:19:20
Raytracing is a red-herring for realtime for the foreseeable future.  In fact raytracing alone doesn't produce very good results.  WRT to complex objects..you can define arbitrarily complex object implicitly in the same way you can simple objects.
17  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-06 09:06:45
<a href="http://www.youtube.com/v/b91j2JMyRhY?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/b91j2JMyRhY?version=3&amp;hl=en_US&amp;start=</a>

http://cg.cs.uni-bonn.de/de/publikationen/paper-details/peters-2016-msm-applications/
18  Game Development / Newbie & Debugging Questions / Re: Learn to make game engine from scratch or learn existing game engine? on: 2016-01-06 08:09:44
It really depends on what you want to focus on learning. 

Personally I think using an engine and/or pre-existing libraries is a good way to start.  That way you can focus on learning how to build game mechanics, story lines, etc.  rather than getting bogged down in the huge amount of work that's required to build the low level support functionality.

Going the other route then you should try creating something you "think" should be very easy given your programming skills.
19  Discussions / General Discussions / Re: Android moving to Java 8? on: 2016-01-04 12:18:31
Function pointers alone are a pretty good reason.
20  Games Center / WIP games, tools & toy projects / Re: Synthclipse - GLSL demo development environment based on Eclipse IDE. on: 2016-01-02 21:10:44
(my newborn is taking almost all of it)

Congrats.  Free time will be virtually not exist for the foreseeable future.
21  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-28 13:34:44
I'm shellshocked!  Springer has made a bunch of books older than 10 years available for free downloads:

http://link.springer.com/search?facet-series=%22136%22&facet-content-type=%22Book%22&showAll=false
22  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-28 10:47:24
Agner Fog's newest blog post and link to updated CPU manuals: http://www.agner.org/optimize/blog/read.php?i=415
23  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-25 21:10:58
Major opps for steam (and steam users) : http://www.neogaf.com/forum/showthread.php?t=1162196
24  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-23 14:17:34
I git you a merry x-mas:

25  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-21 19:48:08
Here's some light x-mas reading for ya'll: https://gist.github.com/AbstractAlgorithm/d0194f477adf829822ff
26  Game Development / Performance Tuning / Re: Float Division vs Multiplication on: 2015-12-21 12:24:59
Latency on division is about 40, multiply about 2.
27  Game Development / Performance Tuning / Re: Using the sun.misc.Unsafe class to do crazy stuff with the JVM on: 2015-12-21 09:40:50
Yeah, I didn't say "how" because it's fragile.  In theory a compiler can remove anything which doesn't change the meaning of the program...so it's possible that some compiler might be able to determine that the try block with allocate really big memory doesn't do anything and remove the whole thing.  So (again) in theory the try block would need to be written in such a way that it's difficult for the compiler to see that it has no side-effect.  The ideal situation would be for Java to acknowledge that programmers actually sometimes know what they are doing and expose a method to force a full-gc.
28  Game Development / Performance Tuning / Re: Using the sun.misc.Unsafe class to do crazy stuff with the JVM on: 2015-12-21 08:24:05
Quote
forcing the garbage collection is a bad idea <snip> You can use the pauses in your game to make the most impacting cleanup.
The way to "use the pause" is to force the GC to run.  Otherwise it's outside of the programmer's control.  These are contradictory statements.

Note that
System.gc()
really isn't the way to force a full GC.
29  Game Development / Performance Tuning / Re: Using the sun.misc.Unsafe class to do crazy stuff with the JVM on: 2015-12-19 18:19:20
Exactly my point.  At any natural pause in gameplay, ideally one could say "Do full GC...NOW!".
30  Game Development / Performance Tuning / Re: Using the sun.misc.Unsafe class to do crazy stuff with the JVM on: 2015-12-19 13:10:16
You shouldnt need to call System.gc(); ever.
So program should ever want to to perform a full GC at a time of it's choosing and should always let it happen at some unknowable point in the future outside of its control?  For games, say at points where there's a natural pause in gameplay anyway?

Quote
... you have to manually delete the memory you allocate using Unsafe,
Not allocate once, keep forever memory.  A common use-case.

The "real" problem with unsafe usage is:  behavior may change across release (distribute a specific VM with program solves this one).  Undocumented, so you have to be very careful.  And you can put yourself into untested (another be very careful) cases of VM behavior.

Quote
this means, you need to add deconstructors like methods to every Java class you use,
In addition the above "not necessarily", there's allocations naturally dominated by a container.

Quote
..if you simply let a reference to an object go, the GC will never clean it up, meaning you got a memory leak.
GCed objects can memory leak as well.  In either case poor design will bite you.

Quote
I will stand by my "If you are starting to require memory management in Java, you should change languages".
Possibly...depends on a person's knowledge of, comparative productivity in the languages in question and the overall "problem space" of the program.  Many factors here.

Quote
You are probably going to be limited by something else before memory management in java is your concern.
Problem space and programmer's understanding of it.  On the whole, you're way overgeneralizing.

There are things you can't do without Unsafe.
Pages: [1] 2 3 ... 111
 
KaiHH (83 views)
2016-01-31 23:15:29

sci4me (110 views)
2016-01-23 21:47:05

sci4me (96 views)
2016-01-23 21:46:58

KaiHH (130 views)
2016-01-19 13:26:42

theagentd (215 views)
2016-01-05 17:10:00

ClaasJG (231 views)
2016-01-03 16:58:36

chrisdalke (220 views)
2015-12-28 06:31:21

Guerra2442 (240 views)
2015-12-25 03:42:55

Guerra2442 (236 views)
2015-12-25 03:27:21

theagentd (287 views)
2015-12-21 14:43:24
List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48
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!