POV-Ray : Newsgroups : povray.general : DVD Case Server Time
31 Jul 2024 10:16:14 EDT (-0400)
  DVD Case (Message 1 to 4 of 4)  
From: Reuben Pearse
Subject: DVD Case
Date: 7 Aug 2007 09:10:52
Message: <46b86f5c$1@news.povray.org>
Hi guys,

Has anyone got some POV-code to render a DVD case. We're about to release a new 
software product and I want to render a graphic to stick on our website which 
makes it look like a "boxed" product.

For an example of what I mean, see the following link:
http://www.activestate.com/store/productdetail.aspx?prdGuid=81fbce82-6bd5-49bc-a915-08d58c2648ca

Thanks in advance.

Reuben
reu### [at] pslconnectcom


Post a reply to this message

From: Alain
Subject: Re: DVD Case
Date: 7 Aug 2007 16:49:11
Message: <46b8dac7$1@news.povray.org>
Reuben Pearse nous apporta ses lumieres en ce 2007/08/07 09:12:
> Hi guys,
> 
> Has anyone got some POV-code to render a DVD case. We're about to 
> release a new software product and I want to render a graphic to stick 
> on our website which makes it look like a "boxed" product.
> 
> For an example of what I mean, see the following link:
>
http://www.activestate.com/store/productdetail.aspx?prdGuid=81fbce82-6bd5-49bc-a915-08d58c2648ca

> 
> 
> Thanks in advance.
> 
> Reuben
> reu### [at] pslconnectcom
Basicaly, it's a box with rounded sides.
Start with a plain flat box, apply an image_map with what you want to apears on it.
Along the sides, place cylinders scaled to make them almost flat.
Place spheres on the corners scaled similary to the cylinders.
Place all in an union.
Give the union a blackish pigment with some reflection and highlights.

-- 
Alain
-------------------------------------------------
EVERYTHING HAS A GENDER

You may not know this but many nonliving things have a gender...

A Hot Air Balloon is Male, because, to get it to go anywhere, you have to light 
a fire under it, and of course, there's the hot air part.


Post a reply to this message

From: Sherry Shaw
Subject: Re: DVD Case
Date: 8 Aug 2007 11:34:16
Message: <46b9e278@news.povray.org>
Alain wrote:

> Basicaly, it's a box with rounded sides.


You could use the round_box from shapes.inc, provided the edges and 
corners are the same all around.

--Sherry Shaw

-- 
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}//                                   TenMoons


Post a reply to this message

From: Alain
Subject: Re: DVD Case
Date: 8 Aug 2007 17:50:06
Message: <46ba3a8e@news.povray.org>
Sherry Shaw nous apporta ses lumieres en ce 2007/08/08 11:33:
> Alain wrote:
> 
>> Basicaly, it's a box with rounded sides.
> 
> 
> You could use the round_box from shapes.inc, provided the edges and 
> corners are the same all around.
> 
> --Sherry Shaw
> 
In a DVD case, the curve is far from uniform from front to back. Relatively 
sharp near the front and back, broad in the middle. I initialy tough of using 
the Round_box() macro, then I've taken a look at an actual DVD case.

-- 
Alain
-------------------------------------------------
Eat, drink and be merry, for tomorrow they may make it illegal.


Post a reply to this message

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