POV-Ray : Newsgroups : povray.binaries.images : The ghost of a box Server Time
9 Oct 2026 04:36:25 EDT (-0400)
  The ghost of a box (Message 1 to 21 of 21)  
From: Thomas de Groot
Subject: The ghost of a box
Date: 29 Jul 2023 08:34:35
Message: <64c5075b@news.povray.org>
Some time ago and entirely by chance, I came across this site/image: 
https://www.printables.com/model/431413-illusion-cube

I thought this was an interesting shape and I built my own version in 
POV-Ray code:

//==========================================================
#declare BaseBox =
box {
   <-1.00, -1.00, -1.00>,< 1.00, 1.00, 1.00>
}

#declare InsideHollow =
union {
   box {< 0.00, -0.899, -0.70>,< 1.01, 0.70, 0.899>}//+x
   box {<-1.01, -0.70, -0.899>,< 0.00, 0.899, 0.70>}//-x

   box {<-0.70, -0.70,  0.00>,< 0.899, 0.899, 1.01>}//+z
   box {<-0.899, -0.899, -1.01>,< 0.70, 0.70, 0.00>}//-z

   box {<-0.899,  0.00, -0.70>,< 0.70, 1.01, 0.899>}//+y
   box {<-0.70, -1.01, -0.899>,< 0.899, 0.00, 0.70>}//-y

   box {<-0.90, -0.90, -0.90>,< 0.90, 0.90, 0.90> }
}

#declare EdgeHollow = box {<-1.01, -0.2, -0.2>,< 1.01, 0.2, 0.2>}

#declare EdgeHollowsTop =
union {
   object {EdgeHollow translate <0.00, 1.00,-1.00>}
   object {EdgeHollow rotate 90*y translate < 1.00, 1.00, 0.00>}
}

#declare EdgeHollowsBase =
union {
   object {EdgeHollow translate <0.00, -1.00, 1.00>}
   object {EdgeHollow rotate 90*y translate <-1.00, -1.00, 0.00>}
}

#declare EdgeHollowsSides =
union {
   object {EdgeHollow rotate 90*z translate <-1.00, 0.00, 1.00>}
   object {EdgeHollow rotate 90*z translate <1.00, 0.00,-1.00>}
}

#declare IllusionBox =
difference {
   object {BaseBox}
   object {InsideHollow /*pigment {rgb <0,1,0>}*/}
   object {EdgeHollowsTop /*pigment {rgb <1,0,0>}*/}
   object {EdgeHollowsBase /*pigment {rgb <1,0,0>}*/}
   object {EdgeHollowsSides /*pigment {rgb <1,0,0>}*/}

   pigment {rgb 0.9}
}

object {IllusionBox}
//==========================================================

Adding a spaceship I built years ago using Silo, and a media (portal?) I 
composed the present scene.

-- 
Thomas


Post a reply to this message


Attachments:
Download 'tdg_illusion box_final.jpg' (213 KB)

Preview of image 'tdg_illusion box_final.jpg'
tdg_illusion box_final.jpg


 

From: Cousin Ricky
Subject: Re: The ghost of a box
Date: 29 Jul 2023 13:31:11
Message: <64c54cdf$1@news.povray.org>
On 2023-07-29 08:34 (-4), Thomas de Groot wrote:
> [snip]
> 
> Adding a spaceship I built years ago using Silo, and a media (portal?) I
> composed the present scene.

That's a nice star field!  It looks more convincing than most CGI star
fields I've seen for which diffraction spikes were attempted.


Post a reply to this message

From: jr
Subject: Re: The ghost of a box
Date: 29 Jul 2023 15:00:00
Message: <web.64c560c5a9f3bc0a80c03e9d6cde94f1@news.povray.org>
hi,

Thomas de Groot <tho### [at] degrootorg> wrote:
> Some time ago and entirely by chance, I came across this site/image:
> ...
> I thought this was an interesting shape and I built my own version in
> POV-Ray code:

thanks, hope to look at this closer soon-ish.

(wondering if it could be drawn with a 3D L-system ? :-))


> Adding a spaceship I built years ago using Silo, and a media (portal?) I
> composed the present scene.

don't know much about spaceships (or star fields :-)), but the scene has that
"Twilight Zone" kind of feel.  very pleasing.


regards, jr.


Post a reply to this message

From: Mike Miller
Subject: Re: The ghost of a box
Date: 29 Jul 2023 21:20:00
Message: <web.64c5ba29a9f3bc0ab5177e91dabc9342@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Some time ago and entirely by chance, I came across this site/image:
> https://www.printables.com/model/431413-illusion-cube
>
> I thought this was an interesting shape and I built my own version in
> POV-Ray code:
>
> //==========================================================
> #declare BaseBox =
> box {
>    <-1.00, -1.00, -1.00>,< 1.00, 1.00, 1.00>
> }
>
> #declare InsideHollow =
> union {
>    box {< 0.00, -0.899, -0.70>,< 1.01, 0.70, 0.899>}//+x
>    box {<-1.01, -0.70, -0.899>,< 0.00, 0.899, 0.70>}//-x
>
>    box {<-0.70, -0.70,  0.00>,< 0.899, 0.899, 1.01>}//+z
>    box {<-0.899, -0.899, -1.01>,< 0.70, 0.70, 0.00>}//-z
>
>    box {<-0.899,  0.00, -0.70>,< 0.70, 1.01, 0.899>}//+y
>    box {<-0.70, -1.01, -0.899>,< 0.899, 0.00, 0.70>}//-y
>
>    box {<-0.90, -0.90, -0.90>,< 0.90, 0.90, 0.90> }
> }
>
> #declare EdgeHollow = box {<-1.01, -0.2, -0.2>,< 1.01, 0.2, 0.2>}
>
> #declare EdgeHollowsTop =
> union {
>    object {EdgeHollow translate <0.00, 1.00,-1.00>}
>    object {EdgeHollow rotate 90*y translate < 1.00, 1.00, 0.00>}
> }
>
> #declare EdgeHollowsBase =
> union {
>    object {EdgeHollow translate <0.00, -1.00, 1.00>}
>    object {EdgeHollow rotate 90*y translate <-1.00, -1.00, 0.00>}
> }
>
> #declare EdgeHollowsSides =
> union {
>    object {EdgeHollow rotate 90*z translate <-1.00, 0.00, 1.00>}
>    object {EdgeHollow rotate 90*z translate <1.00, 0.00,-1.00>}
> }
>
> #declare IllusionBox =
> difference {
>    object {BaseBox}
>    object {InsideHollow /*pigment {rgb <0,1,0>}*/}
>    object {EdgeHollowsTop /*pigment {rgb <1,0,0>}*/}
>    object {EdgeHollowsBase /*pigment {rgb <1,0,0>}*/}
>    object {EdgeHollowsSides /*pigment {rgb <1,0,0>}*/}
>
>    pigment {rgb 0.9}
> }
>
> object {IllusionBox}
> //==========================================================
>
> Adding a spaceship I built years ago using Silo, and a media (portal?) I
> composed the present scene.
>
> --
> Thomas

Very cool. Love the look.
Miller


Post a reply to this message

From: Thomas de Groot
Subject: Re: The ghost of a box
Date: 30 Jul 2023 07:40:03
Message: <64c64c13$1@news.povray.org>
Op 29-7-2023 om 19:31 schreef Cousin Ricky:
> On 2023-07-29 08:34 (-4), Thomas de Groot wrote:
>> [snip]
>>
>> Adding a spaceship I built years ago using Silo, and a media (portal?) I
>> composed the present scene.
> 
> That's a nice star field!  It looks more convincing than most CGI star
> fields I've seen for which diffraction spikes were attempted.
> 

Thanks. The star field is Milkyway_BG.exr which I found a year ago... 
somewhere. Typically, I failed to note its exact origin :-(

I have not used it much yet but I also like it.

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: The ghost of a box
Date: 30 Jul 2023 07:43:44
Message: <64c64cf0$1@news.povray.org>
Op 29-7-2023 om 20:56 schreef jr:
> hi,
> 
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> Some time ago and entirely by chance, I came across this site/image:
>> ...
>> I thought this was an interesting shape and I built my own version in
>> POV-Ray code:
> 
> thanks, hope to look at this closer soon-ish.
> 
> (wondering if it could be drawn with a 3D L-system ? :-))
> 
Ha! Who knows? I'll leave that to the L-system gang which is haunting 
these ng's lately... ;-)

> 
>> Adding a spaceship I built years ago using Silo, and a media (portal?) I
>> composed the present scene.
> 
> don't know much about spaceships (or star fields :-)), but the scene has that
> "Twilight Zone" kind of feel.  very pleasing.
> 
Thanks, jr. I didn't think about the "Twilight Zone" when I worked on 
this, but I agree.

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: The ghost of a box
Date: 30 Jul 2023 07:44:44
Message: <64c64d2c$1@news.povray.org>
Op 30-7-2023 om 03:17 schreef Mike Miller:
> Very cool. Love the look.
> Miller
> 
Thanks Mike

-- 
Thomas


Post a reply to this message

From: Bald Eagle
Subject: Re: The ghost of a box
Date: 30 Jul 2023 07:45:00
Message: <web.64c64c3da9f3bc0a1f9dae3025979125@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Some time ago and entirely by chance, I came across this site/image:
> https://www.printables.com/model/431413-illusion-cube
>
> I thought this was an interesting shape and I built my own version in
> POV-Ray code:

Nice.  :)

I would have been tempted to do it as a union, probably trying to be (too)
clever and using some kind of algorithm to use +/- <x, y, z>, etc.

It _does_ kind of scream ... 3D L-system, now doesn't it?   :D

This IS very well done - it has a very nice overall space fields, where all of
the elements come together and blend into a nicely composed space scene.

- BW


Post a reply to this message

From: Thomas de Groot
Subject: Re: The ghost of a box
Date: 30 Jul 2023 07:56:16
Message: <64c64fe0@news.povray.org>
Op 30-7-2023 om 13:40 schreef Bald Eagle:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> Some time ago and entirely by chance, I came across this site/image:
>> https://www.printables.com/model/431413-illusion-cube
>>
>> I thought this was an interesting shape and I built my own version in
>> POV-Ray code:
> 
> Nice.  :)
> 
> I would have been tempted to do it as a union, probably trying to be (too)
> clever and using some kind of algorithm to use +/- <x, y, z>, etc.
> 
Oh, I am sure there are better ways; I just did a quick-and-dirty 
modelling without thinking too deeply about other options. ;-)

> It _does_ kind of scream ... 3D L-system, now doesn't it?   :D
> 
Now, you are the second one here to mention that. I have not paid much 
attention to the L_system discussion here however.

> This IS very well done - it has a very nice overall space fields, where all of
> the elements come together and blend into a nicely composed space scene.
> 
Thanks indeed. It was a good occasion to use that Milkyway star field 
together with my old spaceship. Always nice dig into the old dusty 
coffers with discarded and forgotten models... :-)

-- 
Thomas


Post a reply to this message

From: Droj
Subject: Re: The ghost of a box
Date: 31 Jul 2023 14:55:00
Message: <web.64c80202a9f3bc0a2064eda13b2af915@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:

>
> Adding a spaceship I built years ago using Silo, and a media (portal?) I
> composed the present scene.
>

Hi,

that's a wonderful piece of art.
(Might be interesting to test it with Chris Colefax' Galaxy plugin.)

It reminds me of a SciFi series called 'Andromeda' and there it was a portal to
a different universe.

And yes, it's a form of a Hilbert curve and it was used as logo for SGI.

Cheers, Droj
(one of the Lsystem gang)


Post a reply to this message


Attachments:
Download 'ls_hilb_0a.png' (320 KB)

Preview of image 'ls_hilb_0a.png'
ls_hilb_0a.png


 

From: Thomas de Groot
Subject: Re: The ghost of a box
Date: 1 Aug 2023 02:44:55
Message: <64c8a9e7@news.povray.org>
Op 31/07/2023 om 20:50 schreef Droj:
> Thomas de Groot <tho### [at] degrootorg> wrote:
> 
>>
>> Adding a spaceship I built years ago using Silo, and a media (portal?) I
>> composed the present scene.
>>
> 
> Hi,
> 
> that's a wonderful piece of art.
> (Might be interesting to test it with Chris Colefax' Galaxy plugin.)
> 
Thank you indeed. Correct, I forgot about CC's plugin. When I have some 
time I shall dig that one up. Thanks for reminding me.

> It reminds me of a SciFi series called 'Andromeda' and there it was a portal to
> a different universe.
> 
> And yes, it's a form of a Hilbert curve and it was used as logo for SGI.
> 
Ah! A Hilbert curve. Appropriate for the scene ;-)

> Cheers, Droj
> (one of the Lsystem gang)
>
Keep up the good work, gang!


-- 
Thomas


Post a reply to this message

From: Samuel B 
Subject: Re: The ghost of a box
Date: 7 Aug 2023 17:35:00
Message: <web.64d162f2a9f3bc0af8c47d526e741498@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Some time ago and entirely by chance, I came across this site/image:
> https://www.printables.com/model/431413-illusion-cube
>
> I thought this was an interesting shape and I built my own version in
> POV-Ray code:
>
> [code]
>
> Adding a spaceship I built years ago using Silo, and a media (portal?) I
> composed the present scene.
>
> --
> Thomas

Cool scene, Thomas!

It's an intriguing shape to be sure, and I can't help but wonder if it's
possible to make it work for other Platonic solids (tetrahedron, octahedron,
etc.)

> [...] The star field is Milkyway_BG.exr which I found a year ago...
> somewhere. Typically, I failed to note its exact origin :-(

Are you familiar with tineye.com? You can upload an image or give it an image
link, and it will try to find other images on the web. It fails sometimes but,
when successful, it will find even higher-resolution images.

Sam


Post a reply to this message

From: Thomas de Groot
Subject: Re: The ghost of a box
Date: 8 Aug 2023 02:48:09
Message: <64d1e529$1@news.povray.org>
Op 07/08/2023 om 23:32 schreef Samuel B.:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> I thought this was an interesting shape and I built my own version in
>> POV-Ray code:
>>
>> [code]
>>
>> Adding a spaceship I built years ago using Silo, and a media (portal?) I
>> composed the present scene.
>>
> 
> Cool scene, Thomas!

Thanks Sam!

> 
> It's an intriguing shape to be sure, and I can't help but wonder if it's
> possible to make it work for other Platonic solids (tetrahedron, octahedron,
> etc.)
Possibly yes; a hint for the L-systems gang? ;-)

> 
>> [...] The star field is Milkyway_BG.exr which I found a year ago...
>> somewhere. Typically, I failed to note its exact origin :-(
> 
> Are you familiar with tineye.com? You can upload an image or give it an image
> link, and it will try to find other images on the web. It fails sometimes but,
> when successful, it will find even higher-resolution images.
> 
Yes I am familiar with it but in this case it failed. Very strange...

-- 
Thomas


Post a reply to this message

From: Paolo Gibellini
Subject: Re: The ghost of a box
Date: 3 Oct 2023 17:42:48
Message: <651c8ad8$1@news.povray.org>
Il 29/07/2023 14:34, Thomas de Groot ha scritto:
> Some time ago and entirely by chance, I came across this site/image: 
> https://www.printables.com/model/431413-illusion-cube
> 

Very interesting!

Paolo


Post a reply to this message

From: And
Subject: Re: The ghost of a box
Date: 13 Oct 2023 00:35:00
Message: <web.6528c802a9f3bc0a6f4facb0aa81652d@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Some time ago and entirely by chance, I came across this site/image:
> https://www.printables.com/model/431413-illusion-cube
>
> I thought this was an interesting shape and I built my own version in
> POV-Ray code:
>
> //==========================================================
> ............
>
> object {IllusionBox}
> //==========================================================
>
> --
> Thomas

It emits light.
Why ghost appears like that?

Maybe ghost looks more like a human...


Post a reply to this message

From: Thomas de Groot
Subject: Re: The ghost of a box
Date: 13 Oct 2023 02:14:54
Message: <6528e05e$1@news.povray.org>
Op 13/10/2023 om 06:31 schreef And:
> It emits light.
> Why ghost appears like that?
> 
> Maybe ghost looks more like a human...
> 
> 
I guess that it is a portal...

-- 
Thomas


Post a reply to this message

From: And
Subject: Re: The ghost of a box
Date: 13 Oct 2023 23:50:00
Message: <web.652a0fd0a9f3bc0a6f4facb0aa81652d@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Op 13/10/2023 om 06:31 schreef And:
> > It emits light.
> > Why ghost appears like that?
> >
> > Maybe ghost looks more like a human...
> >
> >
> I guess that it is a portal...
>
> --
> Thomas

Do you use facebook, Thomas?


Post a reply to this message

From: Thomas de Groot
Subject: Re: The ghost of a box
Date: 14 Oct 2023 02:18:42
Message: <652a32c2$1@news.povray.org>
Op 14/10/2023 om 05:49 schreef And:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> Op 13/10/2023 om 06:31 schreef And:
>>> It emits light.
>>> Why ghost appears like that?
>>>
>>> Maybe ghost looks more like a human...
>>>
>>>
>> I guess that it is a portal...
>>
>> --
>> Thomas
> 
> Do you use facebook, Thomas?
>

No.

-- 
Thomas


Post a reply to this message

From: And
Subject: Re: The ghost of a box
Date: 15 Oct 2023 01:50:00
Message: <web.652b7d71a9f3bc0a6f4facb0aa81652d@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Op 14/10/2023 om 05:49 schreef And:
> >>
> >> --
> >> Thomas
> >
> > Do you use facebook, Thomas?
> >
>
> No.
>
> --
> Thomas

Thank you.

I have found that it is hard to search.


Post a reply to this message

From: Thomas de Groot
Subject: Re: The ghost of a box
Date: 15 Oct 2023 07:53:18
Message: <652bd2ae$1@news.povray.org>
Op 15-10-2023 om 07:49 schreef And:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> Op 14/10/2023 om 05:49 schreef And:
>>>>
>>>> --
>>>> Thomas
>>>
>>> Do you use facebook, Thomas?
>>>
>>
>> No.
>>
>> --
>> Thomas
> 
> Thank you.
> 
> I have found that it is hard to search.
> 
To be more specific about the "ghost": it is not so much the media 
inside the structure which I named so in the subject's title, but rather 
the box-like structure itself which is a kind of 'non-box' which only 
'suggests' where the 'real' box should be. Difficult to describe this in 
words indeed; just try to visualise this in your mind looking at the image.
-- 
Thomas


Post a reply to this message

From: And
Subject: Re: The ghost of a box
Date: 15 Oct 2023 10:50:00
Message: <web.652bfb0ca9f3bc0a6f4facb0aa81652d@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
>
> To be more specific about the "ghost": it is not so much the media
> inside the structure which I named so in the subject's title, but rather
> the box-like structure itself which is a kind of 'non-box' which only
> 'suggests' where the 'real' box should be. Difficult to describe this in
> words indeed; just try to visualise this in your mind looking at the image.
> --
> Thomas

Ha ha...
I can't feel the mathematics trick (shape) is an unusual thing now.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.