Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 161 162 [163] 164 165 ... 200
  ignore  |  Print  
  What I did today  (Read 2655408 times)
0 Members and 2 Guests are viewing this topic.
Offline lcass
« Reply #4860 - Posted 2016-10-11 21:27:14 »

UCAS for Oxbridge is so damn early.
I wasn't planning to apply until about 3 weeks before , really was quite pressured. Have to sit the MAT in a few weeks aswell , that is going to be interesting...
Offline Icecore
« Reply #4861 - Posted 2016-10-12 22:17:47 »

Hope tomorrow sort all my HDD Data and finally move it To VHD
Because Window f**k up Disk with 500 gb all over the time (especially git folder XD)
first I even think its problem with my HDD – but no, I test it on bad sectors in DOS and
it find only 1 bad sector
I have 70 gb free space NTFS but once i fill 499 GB and it was start of all problems
now Windows can't defragment it in background
(manual I even don't want try - it's take 5 or even 10+ hrs)
today hi finally kill my patience when I try copy 1 gb file on same disk(500 gb-70 gb free)
and hi give me 500 kb/s write speed

Why VHD? because its easy to backup – copy 1 file, faster read write, even may have dynamic grow Size, but need separate important data to different VHDs to not copy all, one big piece.

but VHD have 1 problem if Win f**k up this 1 big file - chances that hi restore it almost 0 ^^
but i use VHD for backup - it easy to do copy, so even if this happen data can be restored from copy
or maybe google how restore broken VHD =)
Logical copy better then hope in win chkdsk:
that maybe hi restore all broken files
- no he don't – I check many time in 50% cases hi simple lost files

p.s Reminder for self – Never-ever do Logical disk with 100 gb's+ on old file system like NTFS
except maybe Windows Sys – because it writes all crap without asking - at same disk

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Journey began Now)
Offline Roquen

JGO Kernel


Medals: 517



« Reply #4862 - Posted 2016-10-13 11:06:01 »

Just read: JEP 295 - Ahead-of-Time Compilation
http://openjdk.java.net/jeps/295
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

« JGO Spiffy Duke »


Medals: 1033
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #4863 - Posted 2016-10-13 14:03:50 »

I watched a presentation about JEP295 and the plans they've got for AOT compilation a while ago. I can't help but think that they're just sort of barking up the wrong tree and they should have just bought Excelsior, which does exactly what everyone wants.

Cas Smiley

Offline KaiHH

JGO Kernel


Medals: 520



« Reply #4864 - Posted 2016-10-13 19:01:21 »

Is anyone studying at the Technical University of Cologne, Germany and applying for the Computer Graphics course? (I didn't)
Found this video tutorial (in German) about basic linear algebra using JOML, and... log4j. (wonder how they go together) Smiley
Offline J0
« Reply #4865 - Posted 2016-10-13 19:20:37 »

Found this video tutorial (in German)
I always had extremely bad marks in German classes. I understood (most of) the 5 minutes of that video that I watched. I feel like a genius.

Offline Icecore
« Reply #4866 - Posted 2016-10-13 22:30:36 »

Why VHD? because its easy to backup – copy 1 file, faster read write, even may have dynamic grow Size, but need separate important data to different VHDs to not copy all, one big piece.
Microsoft:  'Do you really think you can run away so easily - Wink
VHD – dynamic have 25% performance and creating static takes eternityyyy 2 Gb created in 2 min or so

Yes it definitely faster to copy-paste - especially full Git rep – 1 file

But this not save you from nightmare of defragmentation
(because inside VHD you still have same Logic disk =))

P.s IMO Best way to copy Git is: -bundle or git -archive for only data – but VHD Faster XD
pp.s try Deferment disk 8 gb it take 2 hrs Wink no I event don't want try it on 500 gb

IMHO: Best way defragment disk is – copy all important data to another disk – and let it BURN
Recreate Disk Volume – with full format XDDDDD

Up:
Recreate 500 gb partition - separate it
- all backs to normal Write speed 20-50 mb/s on big file =)
not bad for 7 year old HDD in everyday Use XD

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Journey began Now)
Offline ThePhotonicPizza

Senior Newbie


Medals: 4
Exp: 3 years



« Reply #4867 - Posted 2016-10-13 23:16:31 »

Went back to programming after a long break, got my old 80's radio working, and I'm going to get my gramophone repaired. Yay!
Offline Longarmx
« Reply #4868 - Posted 2016-10-14 21:11:25 »

Updated my fractal generator to use color schemes! (original post: here)

It's also much faster and utilizes OpenGL.

<a href="http://www.youtube.com/v/Or1sjXI9708?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/Or1sjXI9708?version=3&amp;hl=en_US&amp;start=</a>

Next steps??? (I'm thinking of trying to get past the zoom level inhibited by the precision of a double).

Offline Riven
Administrator

« JGO Overlord »


Medals: 1341
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #4869 - Posted 2016-10-14 21:35:10 »

I'm thinking of trying to get past the zoom level inhibited by the precision of a double.

Are you sure? That's quite a trip down the rabbit hole persecutioncomplex

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SkyAphid
« Reply #4870 - Posted 2016-10-14 22:53:07 »



The last of the art we need is rolling in and the game is starting to look "real." It's pretty exciting.

I think the especially cool thing about this game is that it runs on the same engine that We Shall Wake does, and performs exceedingly well at both styles of development.

it just werks
Offline Longarmx
« Reply #4871 - Posted 2016-10-15 02:40:59 »

I'm thinking of trying to get past the zoom level inhibited by the precision of a double.

Are you sure? That's quite a trip down the rabbit hole persecutioncomplex

I'm sure it is quite a lot to consider. I still have to research more about a few methods I am considering and whether it is really feasible with my current approach. Problem is, I am restricted to whatever features glsl has to offer...

Edit: The main reason I proposed this idea is because I am at a loss for what to work on next  Huh

Offline Archive
« Reply #4872 - Posted 2016-10-15 04:56:46 »

Ahh, it feels good to have completed BSP tree collision Smiley

Also spent the past few days abstracting the whole process:


Currently supporting AABB, spheres, and ellipsoids.
This collision includes sliding along the collided surface, stepping up stairs, jumping, and gravity Smiley

Offline lcass
« Reply #4873 - Posted 2016-10-15 14:58:36 »

Updated my lighting system to produce a nice inverse square type spread , came up with this equation to model it where k is the range of the light and p is the power. This functions so that it doesn't require a square root calculation and that y<1 when x = k.
Offline Icecore
« Reply #4874 - Posted 2016-10-15 19:56:19 »

Can someone explain me this?

http://pastebin.java-gaming.org/baee259814e1d

Up: Caution MAY freeze System on couple min's (it create only 2 gb)
but it may lags on not clean Disk!!!!! - because of fragmentation or other background IO operations

(sorry for code it's very raw example)
It create and write 2 GB Data
for 3.1679208 sec its 631 mb/s

p.s if you have same results and it not some trick (that i don't understand at this point)
pp.s maybe i made some mistakes in code that can explain such result)

Up Solved: Trying create 5 files for 2 gb with 4 Gb Ram - And its freezes after Write 3.5 Gb =)
and write next very slow == it's some system(Java) cache that give only illusion of such cool speed Wink
(Yes-Yes MappedByteBuffer.force() - but it freezes whole system for me on couple min's Sad )
Most interesting is: this Write IO is in - some low Core Sys
- because none of Sys profilers(and external profilers) not show any IO activity at all but all lags as Hell untill All IO ends

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Journey began Now)
Offline Slyth2727
« Reply #4875 - Posted 2016-10-16 04:53:42 »

Submitted my very first college application - Early Admission to Georgia Tech. 15 minutes before the deadline. Here's to a smoother and more timely process for future apps. Cheers.
Offline J0
« Reply #4876 - Posted 2016-10-16 15:09:52 »

Been trying to start learning libGDX. Setting everything up for the first time is... definitely not easy.

Offline bornander
« Reply #4877 - Posted 2016-10-17 16:49:34 »

Been trying to start learning libGDX. Setting everything up for the first time is... definitely not easy.
It gets better, when you're on your second project it starts to make sense.

Try my Android games: Grapple | Hovercraft | Lala
Offline lcass
« Reply #4878 - Posted 2016-10-17 18:29:56 »

Updated my algorithm a little bit , gives a nicer result with light regions getting larger on the darker colours. with range being defined as plnp + p.
This produces the nice result shown below.

It would be nice to make this faster , as lighting calculations don't need to be exact is there any decent and rapid approximation to ln p , of course p^2 ln p can be approximated but the only implementations I have found don't have much explanation.
Offline J0
« Reply #4879 - Posted 2016-10-17 21:25:58 »


I don't know if this makes sense but I always try to keep as little divisions as possible, so I'd multiply everything by p/p, to give something like p(plnp)² / (px² + (plnp)² )

As for a fast way to deal with ln, I guess you could try the usual series lnx ~ x-1 - 0.5(x-1)(x-1) + 0.33(x-1)(x-1)(x-1) - ... and shorten it to the smallest number of terms that would still produce acceptable results..

Ps: not gonna use latex sorry not sorry

Offline Longarmx
« Reply #4880 - Posted 2016-10-17 22:30:34 »

As for a fast way to deal with ln, I guess you could try the usual series lnx ~ x-1 - 0.5(x-1)(x-1) + 0.33(x-1)(x-1)(x-1) - ... and shorten it to the smallest number of terms that would still produce acceptable results..

Just be warned that this will only produce a 'valid' approximation for about 0 < x < 2.

Edit: Since
(plnp)^2 / p
and
(plnp)^2
should both be calculated per light (correct, or am I thinking of this variable wrong?), this optimization matters less than the optimization of the equation
y=s/(x^2+t)
where
s=(plnp)^2
and
t=(plnp)^2/p
.

Ps: also not gonna use latex sorry not sorry

Offline SkyAphid
« Reply #4881 - Posted 2016-10-18 08:29:13 »



I taught myself how to rig last night. Fully functional base rig + IK rig. Now, time to rig our giant robots.

it just werks
Offline lcass
« Reply #4882 - Posted 2016-10-18 09:56:53 »

As for a fast way to deal with ln, I guess you could try the usual series lnx ~ x-1 - 0.5(x-1)(x-1) + 0.33(x-1)(x-1)(x-1) - ... and shorten it to the smallest number of terms that would still produce acceptable results..

Just be warned that this will only produce a 'valid' approximation for about 0 < x < 2.

Edit: Since
(plnp)^2 / p
and
(plnp)^2
should both be calculated per light (correct, or am I thinking of this variable wrong?), this optimization matters less than the optimization of the equation
y=s/(x^2+t)
where
s=(plnp)^2
and
t=(plnp)^2/p
.

Ps: also not gonna use latex sorry not sorry
Genius coder I forgot this was only happening once per light  Roll Eyes , i'll fix that.  The divisions cannot be optimised easily as that equation cannot be simplified much further than it already is however by precalculating p and lnp then using them when neccessary it can be made much faster.
Offline Major_Sauce

Senior Newbie


Medals: 5
Exp: 5 years



« Reply #4883 - Posted 2016-10-18 16:27:06 »

I did nothing and I´m proud of it, the only problem is that I always think "I´ll go on working on my project tomorrow" and the next day I think "I´ll go on working on my project tomorrow" and the next day I...

Still proud of not doing anything  Grin
Offline philfrei
« Reply #4884 - Posted 2016-10-18 22:19:48 »

Had some fun Saturday while at work, on my break, tweaking settings using a new SF/X tool I wrote. I was working on a bird tweet sound (thinking the sounds were quiet and wouldn't carry), and the store Manager poked her head into the break room. She said she thought a bird had gotten stuck in the attic or something. Success!

It took a few more days to track down some bugs in the system pertaining to using the Java file-choosing code (used in save/load of xml and export of wav). I found out, for example, that I didn't handle the case where one "cancels" the action and it was leading to the app hanging. Finally posted in WIP thread today. Fingers crossed, am hoping it is stable now.

music and music apps: http://adonax.com
Offline matt_p
« Reply #4885 - Posted 2016-10-19 07:36:17 »

tinkered around again with my action system, made it now finally possible to correctly chain them, leading to the first math 'unit' test:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
    @Test
    public void mathScriptTest() {
        final MathAction m = new MathAction();
        final GameContext context = GameContext.getContext();

        context.setNumber("a", 9f);
        context.setNumber("b", 8f);

        m.parseFromScriptString("MATH res = (5 + MATH(MATH(a/2)*b))");

        assertTrue(m.getResult() == 41f);
    }


As this is an action I could also execute its perform method, the result would then be set to a number with the name res.
It looks a bit odd that the string contains several math elements, but there could be other nested function calls - I currently don't rely on the operation sign alone...
Will update my projects thread once I actually include this in a new version with new more exciting examples Wink
Offline orange451

JGO Kernel


Medals: 390
Projects: 6
Exp: 7 years


Your face? Your ass? What's the difference?


« Reply #4886 - Posted 2016-10-19 21:22:56 »

I sold all my gun skins in Counter Strike for just over $1000
Turned out to be a profitable investment.

First Recon. A java made online first person shooter!
Offline SkyAphid
« Reply #4887 - Posted 2016-10-20 04:20:04 »



Thumbs up!

Rigged the robot last night. We still have some tweaking to make it perfect, but I'm getting excited about animating it for some really fun shenanigans.

it just werks
Offline Icecore
« Reply #4888 - Posted 2016-10-20 09:02:43 »

I sold all my gun skins in Counter Strike for just over $1000
Turned out to be a profitable investment.
I have only one question:
And how many money you spend on keys to unlock them? Wink

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Journey began Now)
Offline lcass
« Reply #4889 - Posted 2016-10-20 09:38:18 »

I sold all my gun skins in Counter Strike for just over $1000
Turned out to be a profitable investment.
I have only one question:
And how many money you spend on keys to unlock them? Wink
Depends on how long it took , a KWH of power is an extremely cheap amount of power only a few cents , most computers run at less than a KWH often at a third of that so I would assume he would have made atleast $500 profit with power costs included.  This of course makes it a better short term investment than bit coin
Pages: 1 ... 161 162 [163] 164 165 ... 200
  ignore  |  Print  
 
 

 
EgonOlsen (77 views)
2018-06-10 19:43:48

EgonOlsen (57 views)
2018-06-10 19:43:44

EgonOlsen (77 views)
2018-06-10 19:43:20

DesertCoockie (259 views)
2018-05-13 18:23:11

nelsongames (157 views)
2018-04-24 18:15:36

nelsongames (156 views)
2018-04-24 18:14:32

ivj94 (897 views)
2018-03-24 14:47:39

ivj94 (161 views)
2018-03-24 14:46:31

ivj94 (810 views)
2018-03-24 14:43:53

Solater (174 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05
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!