POV-Ray : Newsgroups : povray.binaries.images : Persian carpet Server Time
29 Jul 2024 22:21:44 EDT (-0400)
  Persian carpet (Message 11 to 20 of 28)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 8 Messages >>>
From: LanuHum
Subject: Re: Persian carpet
Date: 3 Feb 2014 11:00:01
Message: <web.52efbba9fb8343ed7a3e03fe0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 3-2-2014 15:44, Paolo Gibellini wrote:
> > Both the carpets seem realistic and fluffy.
> > Very nice works!
>
> Thanks! Different techniques of course, but without LanuHum's work I
> would not have thought of this possibility while it was so very obvious ;-)
>
> Thomas

Thomas, very good works!
But washing would be better if I applied a pigment image of high resolution and
I
reduced random particles a little.
Now there is no time for experiment :)


Post a reply to this message

From: Paolo Gibellini
Subject: Re: Persian carpet
Date: 3 Feb 2014 11:39:03
Message: <52efc627$1@news.povray.org>
>Thomas de Groot  on date 03/02/2014 16.04 wrote:
> This version is better as the proportions of the original carpet have
> now been respected.
>
> Not really an issue, but an even better version would be obtained with
> an uv_mapped image_map on the height_field. However distortions from the
> folds of the height_field are hardly or not visible in the present image.
>
> Thomas
A flying carpet will soon be sold at Gancaloon's court...
;-)
Paolo


Post a reply to this message

From: Samuel Benge
Subject: Re: Persian carpet
Date: 3 Feb 2014 14:50:00
Message: <web.52eff279fb8343ed8cb76ff30@news.povray.org>
Cool stuff LanuHum, Thomas.

Thomas de Groot <tho### [at] degrootorg> wrote:
> height_field + image_map + trace() + eval_pigment() + 500k cylinders
> placed randomly.
>
> Much slower of course: about 16 minutes, of which 15.5 minutes for
> parsing. Writing results to file would make subsequent renders much
> faster of course.

POV-Ray is notoriously slow when it comes to accessing macros from #include
files. Try placing the eval_pigment macro into your main scene file; the parse
time should be significantly reduced by doing so :)

Sam


Post a reply to this message

From: Thomas de Groot
Subject: Re: Persian carpet
Date: 4 Feb 2014 04:20:32
Message: <52f0b0e0@news.povray.org>
On 3-2-2014 20:48, Samuel Benge wrote:
> POV-Ray is notoriously slow when it comes to accessing macros from #include
> files. Try placing the eval_pigment macro into your main scene file; the parse
> time should be significantly reduced by doing so :)

Absolutely. About twice as fast.

Here is a close up of the carpet (using cones by the way).

Thomas


Post a reply to this message


Attachments:
Download 'eval_pigmenttest.png' (1078 KB)

Preview of image 'eval_pigmenttest.png'
eval_pigmenttest.png


 

From: LanuHum
Subject: Re: Persian carpet
Date: 4 Feb 2014 11:55:01
Message: <web.52f11a6ffb8343ed7a3e03fe0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:

>
> Absolutely. About twice as fast.
>
> Here is a close up of the carpet (using cones by the way).
>
> Thomas

Very good! Excellently! :)


Post a reply to this message

From: Samuel Benge
Subject: Re: Persian carpet
Date: 4 Feb 2014 13:30:01
Message: <web.52f13106fb8343edbcc7b3280@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 3-2-2014 20:48, Samuel Benge wrote:
> > POV-Ray is notoriously slow when it comes to accessing macros from #include
> > files. Try placing the eval_pigment macro into your main scene file; the parse
> > time should be significantly reduced by doing so :)
>
> Absolutely. About twice as fast.
>
> Here is a close up of the carpet (using cones by the way).

Nice :)

You might be able to speed up the parse time even more. Since eval_pigment()
evaluates the RGB channels of a pigment, you might get a speed increase if you
make a function that samples only one channel, adding color after the fact. A
linear spline could be used in lieu of a color_map...

Sam


Post a reply to this message

From: Thomas de Groot
Subject: Re: Persian carpet
Date: 5 Feb 2014 03:03:07
Message: <52f1f03b$1@news.povray.org>
On 4-2-2014 17:50, LanuHum wrote:
> Very good! Excellently! :)

Thanks!

Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Persian carpet
Date: 5 Feb 2014 03:05:18
Message: <52f1f0be$1@news.povray.org>
On 4-2-2014 19:27, Samuel Benge wrote:
> Nice :)
>
> You might be able to speed up the parse time even more. Since eval_pigment()
> evaluates the RGB channels of a pigment, you might get a speed increase if you
> make a function that samples only one channel, adding color after the fact. A
> linear spline could be used in lieu of a color_map...

I am afraid that this is beyond my understanding :-)

Thomas


Post a reply to this message

From: LanuHum
Subject: Re: Persian carpet
Date: 5 Feb 2014 12:05:01
Message: <web.52f26f27fb8343ed7a3e03fe0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 4-2-2014 19:27, Samuel Benge wrote:
> > Nice :)
> >
> > You might be able to speed up the parse time even more. Since eval_pigment()
> > evaluates the RGB channels of a pigment, you might get a speed increase if you
> > make a function that samples only one channel, adding color after the fact. A
> > linear spline could be used in lieu of a color_map...
>
> I am afraid that this is beyond my understanding :-)
>
> Thomas

For me it is secret too :)


Post a reply to this message

From: Thomas de Groot
Subject: Re: Persian carpet
Date: 7 Feb 2014 10:59:24
Message: <52f502dc$1@news.povray.org>
On 3-2-2014 16:04, Thomas de Groot wrote:
> Not really an issue, but an even better version would be obtained with
> an uv_mapped image_map on the height_field.

...however, as was concluded in the thread:
http://news.povray.org/povray.newusers/thread/%3Cweb.4f943e8d8677299d5d50475e0%40news.povray.org%3E/?ttop=390889&toff=50
this is not possible to do. A pity.

Thomas


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 8 Messages >>>

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