POV-Ray : Newsgroups : povray.binaries.scene-files : Pumpkins Server Time
23 Nov 2024 20:18:18 EST (-0500)
  Pumpkins (Message 1 to 5 of 5)  
From: Allen
Subject: Pumpkins
Date: 17 Oct 2007 02:10:00
Message: <web.4715a7195abfc96a8150d13b0@news.povray.org>
Hey, I need some help locating either a free 3d pumpkin or (better) some
help in developing a pov macro.  I need something that looks quite a bit
like a real pumpkin... pumpkins aren't symmetrical.

Thanks,
Allen


Post a reply to this message

From: Chris B
Subject: Re: Pumpkins
Date: 17 Oct 2007 03:52:20
Message: <4715bf34$1@news.povray.org>
"Allen" <nomail@nomail> wrote in message 
news:web.4715a7195abfc96a8150d13b0@news.povray.org...
> Hey, I need some help locating either a free 3d pumpkin or (better) some
> help in developing a pov macro.  I need something that looks quite a bit
> like a real pumpkin... pumpkins aren't symmetrical.
>
> Thanks,
> Allen
>

Hi Allen,

By pure coincidence (not that big a coincidence as Halloween is just round 
the corner) I uploaded a pumpkin to the new object collection at 
http://lib.povray.org just last night. It's CSG and each segment position is 
randomised a little, but you could easily randomise it more. To get a less 
regular shape you could also replace the definition of Pumpkin_Segment, 
which is currently a squashed sphere, with a similar but less regular shape 
(e.g. Blobs with a degree of randomisation). If you need help on that I'd be 
happy to oblige.

If it's not for Halloween (making it quite a coincidence) and you want a 
whole pumpkin, rather than one with cut-outs for eyes, nose and mouth, you 
can simply delete the holes from the CSG.

Regards,
Chris B.


Post a reply to this message

From: Chris B
Subject: Re: Pumpkins
Date: 17 Oct 2007 11:22:17
Message: <471628a9@news.povray.org>
"Chris B" <c_b### [at] btconnectcomnospam> wrote in message 
news:4715bf34$1@news.povray.org...
>
> "Allen" <nomail@nomail> wrote in message 
> news:web.4715a7195abfc96a8150d13b0@news.povray.org...
>> Hey, I need some help locating either a free 3d pumpkin or (better) some
>> help in developing a pov macro.  I need something that looks quite a bit
>> like a real pumpkin... pumpkins aren't symmetrical.
>>
>> Thanks,
>> Allen
>>
>
Hi again Allen,

Inspired by your request, I've done a little more work on the pumpkin and 
published an enhanced version (still at http://lib.povray.org).

The new version generates the pumpkin from a macro with options for how 
regular the shape is, how many segments it's made of, whether to cut a 
Halloween face in it and whether or not it has lights in it. I've randomised 
a lot of stuff so you can call the macro multiple times within the same 
scene and get different pumpkins each time. I've added an HTML document to 
describe all of the optional settings available (which all have defaults).

Regards,
Chris B.


Post a reply to this message

From: Allen
Subject: Re: Pumpkins
Date: 18 Oct 2007 20:00:00
Message: <web.4717f2f948abbed747101aad0@news.povray.org>
That is awesome.  Thank you so much... I would have never been able to do
this.  And, I don't have a good enough 3d modeler to model a pumpkin.

Kudos!

"Chris B" <c_b### [at] btconnectcomnospam> wrote:
> "Chris B" <c_b### [at] btconnectcomnospam> wrote in message
> news:4715bf34$1@news.povray.org...
> >
> > "Allen" <nomail@nomail> wrote in message
> > news:web.4715a7195abfc96a8150d13b0@news.povray.org...
> >> Hey, I need some help locating either a free 3d pumpkin or (better) some
> >> help in developing a pov macro.  I need something that looks quite a bit
> >> like a real pumpkin... pumpkins aren't symmetrical.
> >>
> >> Thanks,
> >> Allen
> >>
> >
> Hi again Allen,
>
> Inspired by your request, I've done a little more work on the pumpkin and
> published an enhanced version (still at http://lib.povray.org).
>
> The new version generates the pumpkin from a macro with options for how
> regular the shape is, how many segments it's made of, whether to cut a
> Halloween face in it and whether or not it has lights in it. I've randomised
> a lot of stuff so you can call the macro multiple times within the same
> scene and get different pumpkins each time. I've added an HTML document to
> describe all of the optional settings available (which all have defaults).
>
> Regards,
> Chris B.


Post a reply to this message

From: Allen
Subject: Re: Pumpkins
Date: 19 Oct 2007 14:20:01
Message: <web.4718f41048abbed747101aad0@news.povray.org>
> Hi again Allen,
>
> Inspired by your request, I've done a little more work on the pumpkin and
> published an enhanced version (still at http://lib.povray.org).
>
> The new version generates the pumpkin from a macro with options for how
> regular the shape is, how many segments it's made of, whether to cut a
> Halloween face in it and whether or not it has lights in it. I've randomised
> a lot of stuff so you can call the macro multiple times within the same
> scene and get different pumpkins each time. I've added an HTML document to
> describe all of the optional settings available (which all have defaults).
>
> Regards,
> Chris B.

I have done a little work on this macro.  The code isn't cleaned up yet, but
It is at least a start on the idea.  First thing was just playing around
with the model to see what it could do.  Next I started to implement the
idea I have been thinking about for a while.  To change the carving on the
pumpkin, all you have to do is change the png file.

Make sure that the png is black and white, or it won't work.  Here's a
photoshop tut for making pumpkin carving patterns.
1) Open Image
2) Ctrl+Shift+U     De-saturates the image.
3) Image > Adjustments > Brightness/Contrast
    Contrast 100%... Brightness around -50
4) Ctrl+Shift+E     Flattens Image
5) Save as png

Enjoy!


Post a reply to this message


Attachments:
Download 'pumpkin_plutonicedit.zip' (88 KB)

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