POV-Ray : Newsgroups : povray.binaries.images : DF3 Proximity Macros - test image Server Time
14 Nov 2024 08:23:10 EST (-0500)
  DF3 Proximity Macros - test image (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: Edouard
Subject: DF3 Proximity Macros - test image
Date: 27 Aug 2009 17:45:00
Message: <web.4a96fd2573b235b3e45f5ea40@news.povray.org>
Hey all. Seeing the discussion about proximity patterns again, I thought I'd get
my macros in shape for a 0.9 posting (they aren't really ready to call 1.0 yet).

The basic idea is to run a macro on an object that does the proximity detection,
and then to save the results in a DF3 file. The parse time is long, but the
render time is very short, and since you now have the DF3 file on disc, future
renders don't require the initial parse step again.

Here's the test scene that's bundled with the macros.

Cheers,
Edouard.


Post a reply to this message


Attachments:
Download 'proximity_test.jpg' (164 KB)

Preview of image 'proximity_test.jpg'
proximity_test.jpg


 

From: Paul Fuller
Subject: Re: DF3 Proximity Macros - test image
Date: 28 Aug 2009 09:37:15
Message: <4a97dd8b@news.povray.org>
Technically I can't comment but the result is superb!


Post a reply to this message

From: Edouard
Subject: Re: DF3 Proximity Macros - test image
Date: 29 Aug 2009 05:30:00
Message: <web.4a98f42b546ccc6be45f5ea40@news.povray.org>
"Edouard" <pov### [at] edouardinfo> wrote:
> Hey all. Seeing the discussion about proximity patterns again, I thought I'd get
> my macros in shape for a 0.9 posting (they aren't really ready to call 1.0 yet).

I've posted the source over on p.b.scene-files.

Cheers,
Edouard.


Post a reply to this message

From: Thomas de Groot
Subject: Re: DF3 Proximity Macros - orientation?
Date: 30 Aug 2009 08:21:43
Message: <4a9a6ed7@news.povray.org>
Hi Edouard!

I have tried your amcro with my cenotaph image. Works well and fast once the 
df3 file is created. Three pigments are used as a map in this image.

One question though: My object being built in Moray, its orientation is with 
the z-axis up and y-axis towards the far horizon away from the viewer. I 
suppose your macro is not y-axis up sensitive, but I am not sure. The image 
seems to show the three pigments with some kind of orientation along the 
x-axis (left to right) while I expected a more down-up repartition of the 
pigments. I have not yet tried to calculate the df3 file with building 
rotated towards y up, and then rotate it back. What do you suggest to do?

Thomas


Post a reply to this message


Attachments:
Download 'boullee_cenotaphe_adapted_01.jpg' (43 KB)

Preview of image 'boullee_cenotaphe_adapted_01.jpg'
boullee_cenotaphe_adapted_01.jpg


 

From: Stephen
Subject: Re: DF3 Proximity Macros - orientation?
Date: 30 Aug 2009 08:32:12
Message: <27sk95df3vkmtljhj2moalav3cto0ge1cl@4ax.com>
On Sun, 30 Aug 2009 14:21:41 +0200, "Thomas de Groot"
<tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:

>What do you suggest to do?

LOL Use Bishop3D ;)
It uses PovRay's coordinate system.
-- 

Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: DF3 Proximity Macros - orientation?
Date: 30 Aug 2009 10:35:44
Message: <4a9a8e40$1@news.povray.org>
"Stephen" <mcavoysAT@aolDOTcom> schreef in bericht 
news:27sk95df3vkmtljhj2moalav3cto0ge1cl@4ax.com...
>
> LOL Use Bishop3D ;)
> It uses PovRay's coordinate system.

Yeah... I am so used to Moray that I hardly feel the inconvenience. I switch 
and mix between the two without any problems. And sure, I shall use Bishop3D 
one day... :-)

Well, I just tested with switched coordinates, the results are exactly the 
same, so I think Edouard's macro is coordinates-independent. However, that 
means something else is at stake.

Thomas


Post a reply to this message

From: Stephen
Subject: Re: DF3 Proximity Macros - orientation?
Date: 30 Aug 2009 11:22:03
Message: <0p5l95939aup59libh7n472f287fs29s6r@4ax.com>
On Sun, 30 Aug 2009 16:35:43 +0200, "Thomas de Groot"
<tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:

>
>"Stephen" <mcavoysAT@aolDOTcom> schreef in bericht 
>news:27sk95df3vkmtljhj2moalav3cto0ge1cl@4ax.com...
>>
>> LOL Use Bishop3D ;)
>> It uses PovRay's coordinate system.
>
>Yeah... I am so used to Moray that I hardly feel the inconvenience. I switch 
>and mix between the two without any problems. 

It was forever tripping me up when I was modifying the generated script :D

>And sure, I shall use Bishop3D one day... :-)

It has gotten better especially now it lets you write SDL in the file. The way
it handles meshes could do with some work but that is offset by just including
the mesh. I'll post a still WIP for the animations where almost everything in
the room is a mesh. 
>
>Well, I just tested with switched coordinates, the results are exactly the 
>same, so I think Edouard's macro is coordinates-independent. However, that 
>means something else is at stake.
>

Go to it :D
-- 

Regards
     Stephen


Post a reply to this message

From: Edouard
Subject: Re: DF3 Proximity Macros - orientation?
Date: 31 Aug 2009 05:05:01
Message: <web.4a9b91f361fec964e45f5ea40@news.povray.org>
"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:

> Well, I just tested with switched coordinates, the results are exactly the
> same, so I think Edouard's macro is coordinates-independent. However, that
> means something else is at stake.

Thanks for trying it out!

Can you explain again what the problem you are seeing looks like? There are a
few things that can contribute to the quality, and I still suspect that the DF3
interpolation code is POV has some odd quirks...

Cheers,
Edouard.


Post a reply to this message

From: Edouard
Subject: Re: DF3 Proximity Macros - orientation?
Date: 31 Aug 2009 05:40:00
Message: <web.4a9b9a3a61fec964e45f5ea40@news.povray.org>
"Edouard" <pov### [at] edouardinfo> wrote:
> "Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
>
> > Well, I just tested with switched coordinates, the results are exactly the
> > same, so I think Edouard's macro is coordinates-independent. However, that
> > means something else is at stake.
>
> Thanks for trying it out!

Ahh, OK - I've found the first bug. Or, more accurately, misunderstanding of how
the interpolation works in POV by myself.

I've been trying really hard to avoid having the Proximity_LoadMap() code having
to know what the resolution of the DF3 file is, but I think I'll have to change
it so it does know in order to work around some issues to do with sampling
positions and df3 texture wrapping.

Q: Does anyone know if you can find out the resolution of a DF3 file from within
the SDL? I can't recall anything like that, but then theres a lot I don't
know...

Cheers,
Edouard.


Post a reply to this message

From: clipka
Subject: Re: DF3 Proximity Macros - orientation?
Date: 31 Aug 2009 06:23:08
Message: <4a9ba48c$1@news.povray.org>
Edouard schrieb:
> Q: Does anyone know if you can find out the resolution of a DF3 file from within
> the SDL? I can't recall anything like that, but then theres a lot I don't
> know...

Yes, someone knows.

No, it's currently not possible.


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

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