POV-Ray : Newsgroups : povray.binaries.images : DF3 Proximity Macros - test image Server Time
31 Jul 2024 18:18:27 EDT (-0400)
  DF3 Proximity Macros - test image (Message 4 to 13 of 13)  
<<< Previous 3 Messages Goto Initial 10 Messages
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

From: Thomas de Groot
Subject: Re: DF3 Proximity Macros - orientation?
Date: 31 Aug 2009 10:03:48
Message: <4a9bd844$1@news.povray.org>
"Edouard" <pov### [at] edouardinfo> schreef in bericht 
news:web.4a9b91f361fec964e45f5ea40@news.povray.org...
> 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...

I assume (but I may be wrong) that the macro calculates the proximity equaly 
in all three spatial directions. What you see on the image are the three 
used pigments in the pigment_map distributed by the macro more or less 
laterally from lower left of the building to upper right, which I find 
strange for a symmetrical object.

Thomas


Post a reply to this message

From: Edouard
Subject: Re: DF3 Proximity Macros - orientation?
Date: 31 Aug 2009 23:05:00
Message: <web.4a9c8e8561fec964e45f5ea40@news.povray.org>
"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote:
> "Edouard" <pov### [at] edouardinfo> schreef in bericht
> news:web.4a9b91f361fec964e45f5ea40@news.povray.org...
> > 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...
>
> I assume (but I may be wrong) that the macro calculates the proximity equaly
> in all three spatial directions. What you see on the image are the three
> used pigments in the pigment_map distributed by the macro more or less
> laterally from lower left of the building to upper right, which I find
> strange for a symmetrical object.
>
> Thomas

Try the 0.91 version of the macros I just posted to p.b.scene-files - hopefully
they will fix most of the problems you are seeing!

Cheers,
Edouard.


Post a reply to this message

From: Thomas de Groot
Subject: Re: DF3 Proximity Macros - orientation?
Date: 1 Sep 2009 05:36:53
Message: <4a9ceb35$1@news.povray.org>
"Edouard" <pov### [at] edouardinfo> schreef in bericht 
news:web.4a9c8e8561fec964e45f5ea40@news.povray.org...
> Try the 0.91 version of the macros I just posted to p.b.scene-files - 
> hopefully
> they will fix most of the problems you are seeing!

Edouard, Thanks indeed!

Now the macro works as it should. I have to play a bit now with the extra 
parameters to get what I want. I shall post results in due time, along with 
examples from other proximity macros I test to see which one gives best 
results for my particular project.

Thomas


Post a reply to this message

<<< Previous 3 Messages Goto Initial 10 Messages

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