|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hi,
on Dec 5th Chris Thomasson posted some code in comp.lang.c to render a set of
images forming an "Experimental Power Stack Mandelbulb". converted and imported
those into a df3, and rendered a view revolving around Y.
enjoy, jr.
Post a reply to this message
Attachments:
Download 'ctdata.mp4.mpg' (2158 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> converted and imported those into a df3,
I'll bet that would look cool as an isosurface
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hi,
"Bald Eagle" <cre### [at] netscapenet> wrote:
> > converted and imported those into a df3,
> I'll bet that would look cool as an isosurface
can post the code used if you want to take a gander.
regards, jr.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"jr" <cre### [at] gmailcom> wrote:
> can post the code used if you want to take a gander.
Is it like an adjustable mandelbulb thing where the result can be animated, or
does it just make a single DF3? I can take a look at the DF3, and maybe
someone can suggest a texture / uv map to use. I would imagine a proximity
pattern would be the closest to what people do with raymarching / signed
distance functions.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 12/16/19 9:55 AM, also sprach jr:
> hi,
>
> on Dec 5th Chris Thomasson posted some code in comp.lang.c to render a set of
> images forming an "Experimental Power Stack Mandelbulb". converted and imported
> those into a df3, and rendered a view revolving around Y.
>
>
> enjoy, jr.
>
It looks like the bad guy in a cheesy action movie.
"Pink Ranger, I am your father!"
--
dik
Rendered 49,882,521,600 of 49,882,521,600 pixels (100%)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hi,
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > can post the code used if you want to take a gander.
>
> Is it like an adjustable mandelbulb thing where the result can be animated, or
> does it just make a single DF3?
a c program which outputs 256 frames/images.
there's not much by way of parameters, <x,y,z> dims and iteration count, I've
attached a source which is formatted (and slightly modified from the original),
compile with:
$ cc -std=c99 ct.c -lm
the author recommends doubling the resolution.
> I can take a look at the DF3, and maybe
> someone can suggest a texture / uv map to use.
the df3 is 256^3, build your own?! :-)
fwiw, this is the BASH to do it:
# mkdf3-sh
for i in $(seq 0 255)
do
ppmtogif -nolzw ct_anime_$(printf %03d $i).ppm |
giftopnm |
pnmtopng > frm_$(printf %03d $i).png;
sync
done
df3util create 256,256,256 1 ctdata && sync
for i in $(seq 0 255)
do
df3util -w import ctdata y:$i frm_$(printf %03d $i).png
done
> I would imagine a proximity
> pattern would be the closest to what people do with raymarching / signed
> distance functions.
I'd be interested in the program writing more than just a single value
("colour"), but haven't the maths to divine where to .. interfere.
> It looks like the bad guy in a cheesy action movie.
> "Pink Ranger, I am your father!"
> --
> dik
> Rendered 49,882,521,600 of 49,882,521,600 pixels (100%)
</grin> (although the reference is straight over my head)
regards, jr.
Post a reply to this message
Attachments:
Download 'ct.c.txt' (11 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 12/16/19 7:54 PM, also sprach jr:
> # mkdf3-sh
> for i in $(seq 0 255)
> do
> ppmtogif -nolzw ct_anime_$(printf %03d $i).ppm |
> giftopnm |
> pnmtopng > frm_$(printf %03d $i).png;
> sync
> done
Why do you convert to gif first? pnmtopng will read any of the netpbm
formats.
--
dik
Rendered 49,882,521,600 of 49,882,521,600 pixels (100%)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hi,
Dick Balaska <dic### [at] buckosoftcom> wrote:
> Am 12/16/19 7:54 PM, also sprach jr:
> > ppmtogif -nolzw ct_anime_$(printf %03d $i).ppm |
> > giftopnm |
> > pnmtopng > frm_$(printf %03d $i).png;
>
> Why do you convert to gif first? pnmtopng will read any of the netpbm
> formats.
heh, ignorance? made me read the man page again, to be fair, it does say "reads
a portable pixmap" in the first sentence. :-) and, re-reading, I see there's an
option to include a text chunk. thanks!
regards, jr.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"jr" <cre### [at] gmailcom> wrote:
> on Dec 5th Chris Thomasson posted some code in comp.lang.c to render a set of
> images forming an "Experimental Power Stack Mandelbulb". ...
also posted a strangely beguiling animation of (related) code:
<https://www.youtube.com/watch?v=XpbPzrSXOgk>
enjoy, jr.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |