Forum   Search   Register   Log in SUPERJER FORA
 

New PixelMachine

Pages: [1], 2
Shitty Truck Dump
superjer
superjer

2005 Mar 20 • 3767
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 11:28
the_cloud_system
polly pushy pants

2008 Aug 1 • 2834
-6 ₧
is that a patch?
I am on a journey that I hope I will never finish.
    2009 Jul 17 at 13:31
SolidKAYOS
Count Adelaide

Roar Of The Tigress Medal
2007 Jun 24 • 66
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 16:08
the_cloud_system
polly pushy pants

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


to the actual thing
I am on a journey that I hope I will never finish.
    2009 Jul 17 at 18:22
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5328
57,583 ₧
    2009 Jul 18 at 06:10
superjer
superjer

2005 Mar 20 • 3767
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 14:11
Mate de Vita
Kelli

2008 Oct 4 • 2414
159 ₧
Cool! Now make a new McDiddy's. Puhleashe.
...and that's the bottom line because Mate de Vita said so.

Who controls the past, controls the future. Who controls the present, controls the past.
    2009 Jul 31 at 02:18
SRAW
Rocket Man

2007 Nov 6 • 2146
601 ₧
bump

edit: but it was top, so i call it a more news bump
Free Steam Games
    (Edited 2009 Sep 25 at 03:42)     2009 Sep 25 at 03:42
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5328
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.
Everyone stares when you walk in the room, they stare when you go....
    2010 Jan 11 at 07:08
superjer
superjer

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

Find the Hole II Participation Medal
2007 Oct 19 • 5328
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.
Everyone stares when you walk in the room, they stare when you go....
    2010 Jan 12 at 04:35
sprinkles

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

Why can't we download the executable (yes copying the code and compiling it is too much work )?
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Feb 1 at 22:37
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5328
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!
Everyone stares when you walk in the room, they stare when you go....
    2010 Feb 2 at 01:14
sprinkles

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

...then I got some ap, and shot a big ass lazar at everyone.
    (Edited 2010 Feb 2 at 02:16)     2010 Feb 2 at 02:15
sprinkles

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

Broken?
...then I got some ap, and shot a big ass lazar at everyone.
    (Edited 2010 Nov 9 at 13:48)     2010 Nov 9 at 13:43
Rockbomb
Dog fucker

2009 Nov 13 • 1943
-190 ₧
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 13:54
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5328
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...
Everyone stares when you walk in the room, they stare when you go....
    2010 Nov 9 at 16:52
phoenix_r

2009 May 13 • 625
17 ₧
That was a fun weekend.
    2010 Nov 9 at 17:45
the_cloud_system
polly pushy pants

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



i remember my first beer...
I am on a journey that I hope I will never finish.
    2010 Nov 9 at 19:17
phoenix_r

2009 May 13 • 625
17 ₧
Urkel'd.
    2010 Dec 7 at 18:37
buq25

2008 Jul 5 • 471
95 ₧
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.
    2011 Dec 13 at 14:20
Mate de Vita
Kelli

2008 Oct 4 • 2414
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.

Who controls the past, controls the future. Who controls the present, controls the past.
    2011 Dec 13 at 14:23
buq25

2008 Jul 5 • 471
95 ₧
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.
    2011 Dec 14 at 02:44
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5328
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.
Everyone stares when you walk in the room, they stare when you go....
    2011 Dec 14 at 12:22
buq25

2008 Jul 5 • 471
95 ₧
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.
    2011 Dec 14 at 13:30

Pages: [1], 2
Forum and design copyright © 2008-2010 SuperJer.com