New PixelMachine

New PixelMachine

The Bin Chute — Page [1] 2
SuperJer
Websiteman

2005 Mar 21 • 6666
Well I was up all night putting the last coat of turtle wax on PixelMachine, and now:

github.com/superjer/pixelmachine/

Enjoy!

If you forgot what it is:
superjer.com/pixelmachine/
 
 
 
2009 Jul 17 at 18:28 UTC
the_cloud_system
polly pushy pants

2008 Aug 1 • 3081
-6 ₧
is that a patch?
I drink to forget but I always remember.
 
 
 
2009 Jul 17 at 20:31 UTC
SolidKAYOS
Count Adelaide

Roar Of The Tigress Medal
2007 Jun 24 • 84
68 ₧
Its a fucking machine.
Make awkward sexual advances, not war.
Down Rodeo said:
Dammit, this was the one place that didn't have this, but noooooo, molkman pisses all over that
 
 
 
2009 Jul 17 at 23:08 UTC
the_cloud_system
polly pushy pants

2008 Aug 1 • 3081
-6 ₧
the_cloud_system said:
is that a patch?


to the actual thing
I drink to forget but I always remember.
 
 
 
2009 Jul 18 at 01:22 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
 
 
 
2009 Jul 18 at 13:10 UTC
SuperJer
Websiteman

2005 Mar 21 • 6666
I've made some more updates. It renders a low-res preview on startup now.

Also, the photon scene is different -- see generate_objects() in the source.

Same link.
 
 
 
2009 Jul 20 at 21:11 UTC
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
Cool! Now make a new McDiddy's. Puhleashe.
...and that's the bottom line because Mate de Vita said so.
 
 
 
2009 Jul 31 at 09:18 UTC
SRAW
Rocket Man

2007 Nov 6 • 2525
601 ₧
bump

edit: but it was top, so i call it a more news bump
Free Steam Games
 
 
 
2009 Sep 25 at 10:42 UTC — Ed. 2009 Sep 25 at 10:42 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
I was going to try to modify the 2007 source to do area lights for the sun, but really it seems not worth the bother. No offence but it's a bit hard to follow. So I looked at your GitHub stuff and it's virtually the same in that section (no point changing what already works I suppose) and it seems that doing this would be more trouble than it is in fact worth. Because your shading is in some sense cheaty.
 
 
 
2010 Jan 11 at 15:08 UTC
SuperJer
Websiteman

2005 Mar 21 • 6666
Yeah. The github code is a lot better but it is still pretty ugly. It's quick, though!
 
 
 
2010 Jan 12 at 02:01 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
It is fast. My plan had been to take an additional #DEFINE for the number of sun samples and one for the sun size (which I was probably going to have to ask you about, i.e. what's a good value) then approximate like crazy. I was going to assume that the sun could be approximated by a plane normal to the direction between the actual sun position and the hit point on the heightmap surface. I'd then split this plane into the number of sun-sample sections squared (i.e. along the x and y planes), jitter them to introduce a bit of smoothness into the shadow, then trace each one individually to change the shading. Of course because I don't know exactly how you do the shading I gave up, but had I known that it should have been easy enough to do, I think. It would fit nicely in the shadow-test loop as far as I can see.

And yes, it is crazy-fast.
 
 
 
2010 Jan 12 at 12:35 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Why only the source code?

Why can't we download the executable (yes copying the code and compiling it is too much work )?
 
 
 
2010 Feb 2 at 06:37 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
There are binaries, actually. Which is good for me because to be honest, I hate trying to set up 'projects' in Visual Studio. I just want a command-line application!
 
 
 
2010 Feb 2 at 09:14 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Down Rodeo said:
What?

 
 
 
2010 Feb 2 at 10:15 UTC — Ed. 2010 Feb 2 at 10:16 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
How does ray tracing work again? It has something to do with shooting rays of light at pictures or something.

Broken?
 
 
 
2010 Nov 9 at 21:43 UTC — Ed. 2010 Nov 9 at 21:48 UTC
Rockbomb
Dog fucker (but in a good way now)

2009 Nov 14 • 2045
I think ray tracing = sends a ray out, it reflects back to the camera and is recorded... I think thats what it is.
 
 
 
2010 Nov 9 at 21:54 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
Wikipedia is the place to be, but essentially you fire a ray from a virtual camera in a certain direction. The program the calculates what colour that spot should be based on whether the ray hits anything, what light is shining on it, the surface properties and all that...
 
 
 
2010 Nov 10 at 00:52 UTC
phoenix_r

2009 May 13 • 905
17 ₧
That was a fun weekend.
BOO
 
 
 
2010 Nov 10 at 01:45 UTC
the_cloud_system
polly pushy pants

2008 Aug 1 • 3081
-6 ₧
phoenix_r said:
That was a fun weekend.



i remember my first beer...
I drink to forget but I always remember.
 
 
 
2010 Nov 10 at 03:17 UTC
phoenix_r

2009 May 13 • 905
17 ₧
Urkel'd.
BOO
 
 
 
2010 Dec 8 at 02:37 UTC
buq25

2008 Jul 5 • 583
295 ₧
Let's zombie-up this truck.

The README file says that to change height and width, that you should add -wNUM for width, and hNUM for height and to replace NUM with the size you want. I don't understand where to put it though.

The most similar I have found is in the Makefile under either FLAGS, LIBS or LIBSWIN, is it in there? If it is, do I have to download MinGW (make) and SDL-devel (MinGW) and then create the exe myself that way? I would really like to know.
Today's post brought to you by the letter: "heck".
 
 
 
2011 Dec 13 at 22:20 UTC
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
buq25 said:
Let's zombie-up this truck.

The README file says that to change height and width, that you should add -wNUM for width, and hNUM for height and to replace NUM with the size you want. I don't understand where to put it though.

The most similar I have found is in the Makefile under either FLAGS, LIBS or LIBSWIN, is it in there? If it is, do I have to download MinGW (make) and SDL-devel (MinGW) and then create the exe myself that way? I would really like to know.

If those are flags, you should probably use the command prompt with something like pixelmachine -w324 -h234
...and that's the bottom line because Mate de Vita said so.
 
 
 
2011 Dec 13 at 22:23 UTC
buq25

2008 Jul 5 • 583
295 ₧
Mate de Vita said:
buq25 said:
Let's zombie-up this truck.

The README file says that to change height and width, that you should add -wNUM for width, and hNUM for height and to replace NUM with the size you want. I don't understand where to put it though.

The most similar I have found is in the Makefile under either FLAGS, LIBS or LIBSWIN, is it in there? If it is, do I have to download MinGW (make) and SDL-devel (MinGW) and then create the exe myself that way? I would really like to know.

If those are flags, you should probably use the command prompt with something like pixelmachine -w324 -h234

Yeah, I understand that, but I don't know what to do afterwards. Just typing it in does not do anything. I might have to do as the README says and download 2 programs and create the exe instead of using the already existing one.
Today's post brought to you by the letter: "heck".
 
 
 
2011 Dec 14 at 10:44 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
Uh, that's pretty much it. Perhaps it is not working? The executable provided ought to be good enough, I think.

Also: why was this truck dump'd!? Pixelmachine is awesome.
 
 
 
2011 Dec 14 at 20:22 UTC
buq25

2008 Jul 5 • 583
295 ₧
The exe available after downloading works fine, except that I can't seem to change the resolution of the pictures. I'll try creating a new executable via the programs requested later, if I manage to figure it out.
Today's post brought to you by the letter: "heck".
 
 
 
2011 Dec 14 at 21:30 UTC
Page [1] 2