New PixelMachine
Pages: [1], 2
|
|
Shitty Truck Dump
|
|
|
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.
|
|
|
|
|
SolidKAYOS
Count Adelaide


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 
|
|
|
|
|
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.
|
|
|
|
|
Down Rodeo
Cap'n Moth of the Firehouse


2007 Oct 19 • 5328
57,583 ₧
|
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
SRAW
Rocket Man

2007 Nov 6 • 2146
601 ₧
|
bump
edit: but it was top, so i call it a more news bump
|
|
|
|
|
(Edited 2009 Sep 25 at 03:42)
2009 Sep 25 at 03:42
|
|
|
Down Rodeo
Cap'n Moth of the Firehouse


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....
|
|
|
|
|
superjer
superjer

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


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....
|
|
|
|
|
sprinkles


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.
|
|
|
|
|
Down Rodeo
Cap'n Moth of the Firehouse


2007 Oct 19 • 5328
57,583 ₧
|
|
|
|
|
|
sprinkles


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


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.
|
|
|
|
|
Down Rodeo
Cap'n Moth of the Firehouse


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....
|
|
|
|
|
phoenix_r

2009 May 13 • 625
17 ₧
|
That was a fun weekend.
|
|
|
|
|
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.
|
|
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
Down Rodeo
Cap'n Moth of the Firehouse


2007 Oct 19 • 5328
57,583 ₧
|
|
|
|
|
|
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.
|
|
|
|
|
|
|