POV-Ray : Newsgroups : povray.newusers : mipmapping Server Time
28 Nov 2026 13:50:27 EST (-0500)
  mipmapping (Message 1 to 31 of 31)  
From: tahoma
Subject: mipmapping
Date: 11 May 2005 14:06:07
Message: <opsqmhwj1tbx3aaw@leningrad>
When using image_maps i could not manage to get really nice visual resul
ts  

because of high sampling frequencies.
Is there a way to specify mipmaps in povray or can povray do it by itsel
f?  

The only interpolation schemes i found are 'bilinear' and 'normalized  

distance'.
My realtime images look still better than the ones rendered with povray.

I just started with it, so i still probably miss a lot of things.

Regards,
Jan


Post a reply to this message

From: Tim Nikias
Subject: Re: mipmapping
Date: 11 May 2005 14:22:11
Message: <42824d53$1@news.povray.org>
POV-Ray doesn't support mipmaps. What you normally do to avoid aliasing is
use (*tadaa*) antialiasing.

There are two methods in POV-Ray, I tend to use the adaptive one to make use
of higher but more controlled sampling. Aside of that, there'll sure be a
way to script your own kind of mipmapping (switching the texture dependant
on distance to the camera, for example), but I don't have a script "off the
shelf" for that.

That aside, once you switch on arealights, radiosity, reflections,
refractions and media, I doubt that your realtime images look better (or
that they're even realtime then). ;-P

Regards,
Tim

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message

From: tahoma
Subject: Re: mipmapping
Date: 11 May 2005 14:29:35
Message: <opsqmizllqx5erxw@leningrad>
> POV-Ray doesn't support mipmaps. What you normally do to avoid aliasin
g  

> is
> use (*tadaa*) antialiasing.
>
> There are two methods in POV-Ray, I tend to use the adaptive one to ma
ke  

> use
> of higher but more controlled sampling. Aside of that, there'll sure b
e a
> way to script your own kind of mipmapping (switching the texture  

> dependant
> on distance to the camera, for example), but I don't have a script "of
f  

> the
> shelf" for that.
>
> That aside, once you switch on arealights, radiosity, reflections,
> refractions and media, I doubt that your realtime images look better (
or
> that they're even realtime then). ;-P

You are right, of course :)
I described my current state, when i tried to export my realtime scenes 
 

into
povray without doing fancy things you mentioned.

What is the other antialising method? If you could post some settings
i can play with it would be great.


Post a reply to this message

From: Christoph Hormann
Subject: Re: mipmapping
Date: 11 May 2005 14:30:02
Message: <d5tiqg$8pd$1@chho.imagico.de>
tahoma wrote:
> When using image_maps i could not manage to get really nice visual 
> results  because of high sampling frequencies.
> Is there a way to specify mipmaps in povray or can povray do it by 
> itself?  The only interpolation schemes i found are 'bilinear' and 
> 'normalized  distance'.

Sorry but the fact you write this shows that you have absolutely no idea 
how raytracing works and what mip-mapping is.

I don't want to appear brusk but you should think about things and 
inform yourself a bit better before posting something like this.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 03 May. 2005 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: tahoma
Subject: Re: mipmapping
Date: 11 May 2005 14:40:22
Message: <opsqmjhjlqx5erxw@leningrad>
>> When using image_maps i could not manage to get really nice visual  

>> results  because of high sampling frequencies.
>> Is there a way to specify mipmaps in povray or can povray do it by  

>> itself?  The only interpolation schemes i found are 'bilinear' and  

>> 'normalized  distance'.
>
> Sorry but the fact you write this shows that you have absolutely no id
ea  

> how raytracing works and what mip-mapping is.

Exactly what does imply your opinion? Because i did ask for a feature
that seems to be nonsense in you eyes?

> I don't want to appear brusk but you should think about things and  

> inform yourself a bit better before posting something like this.

You do not appear brusk. I know that i just started to understand
raytracing (especially povray). That is a long way.
I read documentations and so on. Nevertheless it is
useful to share one's thoughts with others even when they appear to be
dumb. Thats how learning works in my opinion. If you dont want to answer

to my questions, no problem. I know i am an 'alien' at this place, but
to discourage me is maybe the wrong way.


Post a reply to this message

From: Warp
Subject: Re: mipmapping
Date: 11 May 2005 15:01:47
Message: <4282569b@news.povray.org>
tahoma <tah### [at] gmxde> wrote:
> Is there a way to specify mipmaps in povray or can povray do it by itself?  

  You probably don't want mipmapping alone, because all by itself it's
pretty useless (well, not useless, but it causes a very visible abrupt
change at the places where the mipmap level changes). What you want
is trilinear interpolation.
  Unfortunately POV-Ray does not support that. There are a couple of
problems implementing trilinear interpolation in a raytracer. They can
probably be solved, but it's not as trivial as in a scanline renderer.

-- 
                                                          - Warp


Post a reply to this message

From: Warp
Subject: Re: mipmapping
Date: 11 May 2005 15:03:21
Message: <428256f9@news.povray.org>
Tim Nikias <JUSTTHELOWERCASE:timISNOTnikias(at)gmx.netWARE> wrote:
> POV-Ray doesn't support mipmaps. What you normally do to avoid aliasing is
> use (*tadaa*) antialiasing.

  Antialiasing doesn't help too much when there are dozens of imagemap
pixels in one result image pixel. It helps a bit, but does not give
such a good result as trilinear interpolation.

-- 
                                                          - Warp


Post a reply to this message

From: Warp
Subject: Re: mipmapping
Date: 11 May 2005 15:04:42
Message: <4282574a@news.povray.org>
Christoph Hormann <chr### [at] gmxde> wrote:
> Sorry but the fact you write this shows that you have absolutely no idea 
> how raytracing works and what mip-mapping is.

  How so?

  I don't see why mipmapping, and better yet trilinear interpolation
of image maps could not be implemented in a raytracer. There are a
couple of twists, but they can be probably solved.

-- 
                                                          - Warp


Post a reply to this message

From: Tim Nikias
Subject: Re: mipmapping
Date: 11 May 2005 15:10:53
Message: <428258bd@news.povray.org>
> What is the other antialising method? If you could post some
> settings i can play with it would be great.

Both settings can be set via the commandline. If you're using POV-Ray for
Windows, there's a small box on the top where you can enter options. To
switch antialiasing on, add "+AM1" or "+AM2" (without the quotation marks)
into the box. That'll select antialiasing method 1 or 2 (2 is the adaptive
one). +A0.3 will set that the next samples are shot when the current ones
differ in color by that amount (I think the difference from black to white
is 3, 1 for each channel of rgb). You can lose lower values (+A0.01) for
more detailed settings, but it will only shoot up till the maximum amount of
samples you set, which are set with +R2. The value after R refers to the
level of sampling, not the actual amount of samples. On antialiasing method
1, +R2 sets 4 samples, whereas method 2 has 25. On level 5, method 1 has 25
samples, method 2 has 1089.

You might want to read section 3.1.2.8.4 of the docs (or just search for
"antialias") for more detailed information.

Regards,
Tim

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message

From: tahoma
Subject: Re: mipmapping
Date: 11 May 2005 15:13:19
Message: <opsqmk0kjpx5erxw@leningrad>
>> Is there a way to specify mipmaps in povray or can povray do it by  

>> itself?
>
>   You probably don't want mipmapping alone, because all by itself it's

> pretty useless (well, not useless, but it causes a very visible abrupt

> change at the places where the mipmap level changes). What you want
> is trilinear interpolation.
>   Unfortunately POV-Ray does not support that. There are a couple of
> problems implementing trilinear interpolation in a raytracer. They can

> probably be solved, but it's not as trivial as in a scanline renderer.


Trilinear filtering is what i asked for. Because of the depedency of
mipmapping i just mentioned this one. If povray would support mipmapping

then trilinear filtering would be naturally there i think.


Post a reply to this message

From: Tim Nikias
Subject: Re: mipmapping
Date: 11 May 2005 15:15:38
Message: <428259da@news.povray.org>
>   Antialiasing doesn't help too much when there are dozens of imagemap
> pixels in one result image pixel. It helps a bit, but does not give
> such a good result as trilinear interpolation.

Trilinear between what? The four corners of the pixel? You'll lose some
information then (just imagine: 4 black pixels on the texture with white in
between! *gosh* :-)

But seriously, what would you want to interpolate amongst? I guess,
depending on the detail of the texture and how much information you'd want
to place on a single pixel, downsampling it before using it (a la
mipmapping) is the best way to go. Generally though, like when you're
working with procedural textures, antialiasing is really the only way out,
unless script/program something new. Especially when we're talking about a
newbie. :-)

Regards,
Tim

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message

From: Slime
Subject: Re: mipmapping
Date: 11 May 2005 15:21:10
Message: <42825b26$1@news.povray.org>
> Trilinear between what? The four corners of the pixel? You'll lose some
> information then (just imagine: 4 black pixels on the texture with white
in
> between! *gosh* :-)

I think he means using mipmaps, and then taking the two nearest mipmaps for
the scale level of the current sample, bilinearly interpolating to get the
color for each of them at the sample position, and then linearly
interpolating between the two results to get the final value.

In my experience, this approach generates a little too much blurring, and
when I program with OpenGL, I often wish that I could have nice
anti-aliasing instead.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: Tim Nikias
Subject: Re: mipmapping
Date: 11 May 2005 15:27:08
Message: <42825c8c$1@news.povray.org>
> I think he means using mipmaps, and then taking the two nearest mipmaps
for
> the scale level of the current sample, bilinearly interpolating to get the
> color for each of them at the sample position, and then linearly
> interpolating between the two results to get the final value.
>
> In my experience, this approach generates a little too much blurring, and
> when I program with OpenGL, I often wish that I could have nice
> anti-aliasing instead.

As I just recently learned in a course at my university, the way you
describe it is the standard hardcoded way on older graphics cards. The new
ones (ATI Radeon 9800 and upwards, and I think the NVidias FX and upwards)
come with programmable Vertex and Fragment Shaders, and with fragment
shaders you can script some more elaborate way of interpolation. The guy
showed us some examples of the usual mipmap-fading to avoid jumps between
the different mipmaps, and one which interpolates amongst several
mipmap-levels, depending on the angle of the pixel (and thus the area it
would cover on the image-map). It looked real crisp.

However, we're drifting away from the topic at hand, being of help to tahoma
to get his images look good. :-)

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message

From: Christoph Hormann
Subject: Re: mipmapping
Date: 11 May 2005 15:45:01
Message: <d5tnad$9nm$1@chho.imagico.de>
Warp wrote:
> 
>   How so?
> 
>   I don't see why mipmapping, and better yet trilinear interpolation
> of image maps could not be implemented in a raytracer. There are a
> couple of twists, but they can be probably solved.

Good luck in doing so.  Note any such technique will have to modify the 
very basic concept of raytracing with additions like ray differentials 
and you will have a hard time making this work efficiently in arbitrary 
cases (i.e. non-standard camera types, reflections/refactions etc.).  In 
the end i doubt this will lead to better results in shorter time (but i 
will be happy to be proven wrong).

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 03 May. 2005 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Warp
Subject: Re: mipmapping
Date: 11 May 2005 17:50:29
Message: <42827e25@news.povray.org>
Tim Nikias <JUSTTHELOWERCASE:timISNOTnikias(at)gmx.netWARE> wrote:
> Trilinear between what? The four corners of the pixel? You'll lose some
> information then (just imagine: 4 black pixels on the texture with white in
> between! *gosh* :-)

  Perhaps you should look up what trilinear interpolation is.

-- 
                                                          - Warp


Post a reply to this message

From: Warp
Subject: Re: mipmapping
Date: 11 May 2005 17:55:09
Message: <42827f3d@news.povray.org>
Christoph Hormann <chr### [at] gmxde> wrote:
> Good luck in doing so.  Note any such technique will have to modify the 
> very basic concept of raytracing with additions like ray differentials 
> and you will have a hard time making this work efficiently in arbitrary 
> cases (i.e. non-standard camera types, reflections/refactions etc.).  In 
> the end i doubt this will lead to better results in shorter time (but i 
> will be happy to be proven wrong).

  For surfaces seen directly by the camera it's enough to know the length
of the ray and the scale of the image map.
  For surfaces seen indirectly an estimation will usually be more than
enough.
  Pathological cases exist, of course, but I'm pretty sure many people would
be very happy even with an estimated version.

-- 
                                                          - Warp


Post a reply to this message

From: Warp
Subject: Re: mipmapping
Date: 11 May 2005 17:57:54
Message: <42827fe2@news.povray.org>
tahoma <nomail@nomail> wrote:
> Trilinear filtering is what i asked for. Because of the depedency of
> mipmapping i just mentioned this one. If povray would support mipmapping
> then trilinear filtering would be naturally there i think.

  It's not all that obvious. Just adding support for mipmapping doesn't
automatically add trilinear filtering. That has to be added explicitly
as well. And it's not like trilinear filtering is the only option.
There could be anisotropic filtering instead, for example.

-- 
                                                          - Warp


Post a reply to this message

From: Tim Nikias
Subject: Re: mipmapping
Date: 11 May 2005 18:29:10
Message: <42828736$1@news.povray.org>
>   Perhaps you should look up what trilinear interpolation is.

Nope, I know what it is. :-) I was just wondering what you wanted to
interpolate, but it seems Slime got it right away. To make things worse, my
description was of course only bilinear, so that should have tipped me off
right away what you were getting at. But then again, it has been a long day
and I'm pretty tired. Sorry for the inconvenience caused. :-)

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message

From: Christoph Hormann
Subject: Re: mipmapping
Date: 11 May 2005 18:30:01
Message: <d5u0o9$bpd$1@chho.imagico.de>
Warp wrote:
> 
>   For surfaces seen directly by the camera it's enough to know the length
> of the ray and the scale of the image map.

Assuming:

- normal perspective camera
- No warps etc. being applied to the image map.

To sum it up - in all cases where you probably are faster using hardware 
accelerated scanline rendering anyway.

Again - if you implement something along these lines that is surely 
interesting from the technical standpoint but the practical use will be 
very limited.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 03 May. 2005 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: tahoma
Subject: Re: mipmapping
Date: 11 May 2005 18:33:48
Message: <opsqmualixx5erxw@leningrad>
On Wed, 11 May 2005 21:26:33 +0200, Tim Nikias  

<JUSTTHELOWERCASE:timISNOTnikias(at)gmx.netWARE> wrote:

>> I think he means using mipmaps, and then taking the two nearest mipma
ps
> for
>> the scale level of the current sample, bilinearly interpolating to ge
t  

>> the
>> color for each of them at the sample position, and then linearly
>> interpolating between the two results to get the final value.
>>
>> In my experience, this approach generates a little too much blurring,
  

>> and
>> when I program with OpenGL, I often wish that I could have nice
>> anti-aliasing instead.
>
> As I just recently learned in a course at my university, the way you
> describe it is the standard hardcoded way on older graphics cards. The
  

> new
> ones (ATI Radeon 9800 and upwards, and I think the NVidias FX and  

> upwards)
> come with programmable Vertex and Fragment Shaders, and with fragment
> shaders you can script some more elaborate way of interpolation. The g
uy
> showed us some examples of the usual mipmap-fading to avoid jumps betw
een
> the different mipmaps, and one which interpolates amongst several
> mipmap-levels, depending on the angle of the pixel (and thus the area 
it
> would cover on the image-map). It looked real crisp.

That way i was hoping to go with povray as well. To program the texture 
(or
pigment) stage to support different blending mode for example. But it is

another topic :) It's possible, but not like my mind is winded. So i hav
e
to rethink some stuff.

> However, we're drifting away from the topic at hand, being of help to 
 

> tahoma
> to get his images look good. :-)

I hope to get them look good when trying different antialiasing settings
.
More i cannot gain from this thread (mipmapping is not supported and
maybe useless). Adjusting materials is on the one hand an artist task an
d
on the other hand one of the translater from OpenGL materials to povray
one's.

But what i also get is, offline rendering (raytracing) does not really
differ from realtime rendering that much. The concepts are almost the sa
me,
the community is a little different :)

Thanks for you help


Post a reply to this message

From: tahoma
Subject: Re: mipmapping
Date: 11 May 2005 18:52:41
Message: <opsqmu53xxx5erxw@leningrad>
> In  the end i doubt this will lead to better results in shorter time  

> (but i will be happy to be proven wrong).

That's why mipmapping or trilinear filtering is common practice in realt
ime
graphics. Beside the fact that is decreases cache misses for gpu's to fe
tch
texels it gives better results without FSAA.
Nevertheless you can do fancy things with different textures. If you don
't  

use
just downsampled textures you can achieve some nice texturing effect  

depended
on the fragment distance. I don't know if there exists a pattern in povr
ay  

for
this.


Post a reply to this message

From: Warp
Subject: Re: mipmapping
Date: 11 May 2005 20:27:21
Message: <4282a2e9@news.povray.org>
Christoph Hormann <chr### [at] gmxde> wrote:
> - normal perspective camera

  Why would the camera type make trilinear interpolation difficult?
The program would just have to estimate the distance between pixels
projected on the surface of the object.
  Besides, I think that people would find it useful even if it would
be limited to the perspective camera. 99.9% of the images rendered
with povray use the perspective camera.

> - No warps etc. being applied to the image map.

  Even if trilinear interpolation was limited to triangle meshes without
texture modifiers I still think people would find it useful.

> To sum it up - in all cases where you probably are faster using hardware 
> accelerated scanline rendering anyway.

  I don't think speed is the issue here. The issue is that you can't
achieve trilinear interpolation of image maps with povray at all.

  Besides, how would you render povray scenes with hardware acceleration?

> Again - if you implement something along these lines that is surely 
> interesting from the technical standpoint but the practical use will be 
> very limited.

  Somehow people using scanline renderers manage to survive with
using only triangle meshes and image maps. Even if POV-Ray only
supported as much as scanline renderers it would be exactly as useful.

  It's not at all asimilar to uv-mapping.

-- 
                                                          - Warp


Post a reply to this message

From: Christoph Hormann
Subject: Re: mipmapping
Date: 12 May 2005 03:35:02
Message: <d5v0u8$2pg$1@chho.imagico.de>
I am not interested in theoretically discussing this - if you like to 
implement this either by reducing POV-Ray to the features of a scanline 
renderer or by applying estimations everywhere do so and show the 
results but don't try to argument on a theoretical basis how useful this 
would be and that it won't cause problems anywhere.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 03 May. 2005 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Christoph Hormann
Subject: Re: mipmapping
Date: 12 May 2005 03:50:02
Message: <d5v1kl$2v0$1@chho.imagico.de>
tahoma wrote:
>> In  the end i doubt this will lead to better results in shorter time  
>> (but i will be happy to be proven wrong).
> 
> That's why mipmapping or trilinear filtering is common practice in realtime
> graphics.

Do you think the reason for why it is commonly used is that it won't 
lead to better results in shorter time or that i will be proven wrong?

And it is not 'mipmapping or trilinear filtering' - mip-mapping can be 
used with trilinear filtering or with other filtering techniques.

> Beside the fact that is decreases cache misses for gpu's to fetch
> texels it gives better results without FSAA.
> Nevertheless you can do fancy things with different textures. If you 
> don't  use
> just downsampled textures you can achieve some nice texturing effect  
> depended
> on the fragment distance. I don't know if there exists a pattern in 
> povray  for
> this.

The distance of the surface from the camera is only one out of many 
factors that influence the size an image map appears in in POV-Ray.  You 
will only be able to estimate the size and this will only be accurate if 
you add some rather expensive calculations (like tracing additional rays).

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 03 May. 2005 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Warp
Subject: Re: mipmapping
Date: 12 May 2005 06:17:09
Message: <42832d25@news.povray.org>
Christoph Hormann <chr### [at] gmxde> wrote:
> I am not interested in theoretically discussing this - if you like to 
> implement this either by reducing POV-Ray to the features of a scanline 
> renderer or by applying estimations everywhere do so and show the 
> results but don't try to argument on a theoretical basis how useful this 
> would be and that it won't cause problems anywhere.

  I don't understand your attitude. First you are extremely rude and
impolite to the original poster, who made a perfectly valid and legit
question and now you are nitpicking about the "usefulness" of a limited
trilinear interpolation which is rather odd given that there's at least
one other scanline-rendering feature in povray which is equally limited,
namely uv-mapping, and you are not complaining about its "usefulness".

  Why is trilinear interpolation so much different from uv-mapping
(in the context of limitations and how useful it can be)?

-- 
                                                          - Warp


Post a reply to this message

From: Christoph Hormann
Subject: Re: mipmapping
Date: 12 May 2005 07:05:02
Message: <d5vd6f$p2c$1@chho.imagico.de>
Warp wrote:
> 
>   I don't understand your attitude. First you are extremely rude and
> impolite to the original poster, who made a perfectly valid and legit
> question 

The original statement i replied to was:

"Is there a way to specify mipmaps in povray or can povray do it by 
itself?  The only interpolation schemes i found are 'bilinear' and 
'normalized  distance'."

And if you think this is a perfectly valid and legit question i can only 
note we have a different view here.

The correct way to ask the question Tim gave the answer for would have 
been "rendering a scene with image maps gives unexpectedly bad results 
for me - what can be done about this?".  Instead wrong assumptions were 
made how the solution for the problem should look like.  My reply was 
clearly referring to the way the question was asked and not personally 
rude against the poster.

Note for a moment i considered an ironic reply - that next MegaPOV will 
support bicubic interpolation for image maps - but i refrained from 
doing so since it would have most likely been misunderstood.

> and now you are nitpicking about the "usefulness" of a limited
> trilinear interpolation which is rather odd given that there's at least
> one other scanline-rendering feature in povray which is equally limited,
> namely uv-mapping, and you are not complaining about its "usefulness".

I don't see anything that relates uv-mapping to scanline rendering 
except that uv-mapping is very common for meshes and meshes are at the 
same time the only geometry you can render with a scanline renderer. 
The only thing that is required to use uv-mapping in POV-Ray is a shape 
that defines uv-coordinates which has nothing to do with scanline 
rendering either.  It would not even need to be possible to describe the 
surface parametrically - you could even uv-map an isosurface (although 
this would be rather pointless).

I really don't understand why you want to force a controversy here.  I 
did not reject an implementation of the feature you are proposing nor 
did i say it won't be added to official POV-Ray when you implement it. 
I just stated by doubts about it.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 03 May. 2005 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: tahoma
Subject: Re: mipmapping
Date: 12 May 2005 07:31:47
Message: <opsqnunisgx5erxw@buddie.egoof>
> "Is there a way to specify mipmaps in povray or can povray do it by  
> itself?  The only interpolation schemes i found are 'bilinear' and  
> 'normalized  distance'."
>
> And if you think this is a perfectly valid and legit question i can only  
> note we have a different view here.
>
> The correct way to ask the question Tim gave the answer for would have  
> been "rendering a scene with image maps gives unexpectedly bad results  
> for me - what can be done about this?".  Instead wrong assumptions were  
> made how the solution for the problem should look like.

It is not possible to formulate a question regarding to the answer. Thats
paradox. As i said, i did not want to tell anyone, how the solution should
look like. I wanted to know whether povray support a technique or not. My
experiences (in realtime graphics) showed that trilinear filtering
improves the image quality with respect to rendering speed more that FSAA.
Maybe it was dumb or even respectless to the povray community to ask such
question, but it came to quite a huge discussion about mipmapping and
derived image filter techniques. Maybe you should listen to others and
merge their ideas with yours instead of just saying: no. When time comes
you will be lucky that someone will listen to you.


Post a reply to this message

From: Christoph Hormann
Subject: Re: mipmapping
Date: 12 May 2005 08:00:02
Message: <d5vgek$699$1@chho.imagico.de>
tahoma wrote:
> 
> It is not possible to formulate a question regarding to the answer. Thats
> paradox. As i said, i did not want to tell anyone, how the solution should
> look like. I wanted to know whether povray support a technique or not.

But you said "When using image_maps i could not manage to get really 
nice visual results  because of high sampling frequencies."

And this led Tim to mention antialiasing.  Was his reply useful to 
achieve 'nice visual results'?  Would it have helped you more to get a 
simple 'No' as the answer?

> Maybe it was dumb or even respectless to the povray community to ask such
> question, 

If the purpose of your question was to solve an actual problem in using 
POV-Ray (namely to get visually pleasing results) - which usually can be 
assumed of a posting in this newsgroup - your question was not 
formulated well.  This is what i tried to point out in my original reply.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 03 May. 2005 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Warp
Subject: Re: mipmapping
Date: 12 May 2005 08:08:47
Message: <4283474f@news.povray.org>
Christoph Hormann <chr### [at] gmxde> wrote:
> The original statement i replied to was:

> "Is there a way to specify mipmaps in povray or can povray do it by 
> itself?  The only interpolation schemes i found are 'bilinear' and 
> 'normalized  distance'."

> And if you think this is a perfectly valid and legit question i can only 
> note we have a different view here.

  That question is basically the same thing as "does povray support
mipmapping?". What's so terribly wrong about that question that it deserves
such a heated reply as yours?

> The correct way to ask the question Tim gave the answer for would have 
> been "rendering a scene with image maps gives unexpectedly bad results 
> for me - what can be done about this?".  Instead wrong assumptions were 
> made how the solution for the problem should look like.  My reply was 
> clearly referring to the way the question was asked and not personally 
> rude against the poster.

  I think it was. You told him directly that he doesn't know what he is
talking about and that he should study some raytracing theory before
asking stupid questions.
  Perhaps you didn't *intend* it to be rude, but it was nevertheless.

> > and now you are nitpicking about the "usefulness" of a limited
> > trilinear interpolation which is rather odd given that there's at least
> > one other scanline-rendering feature in povray which is equally limited,
> > namely uv-mapping, and you are not complaining about its "usefulness".

> I don't see anything that relates uv-mapping to scanline rendering 

  You are concentrating way too much on one term in my text which was
in no way the point I wanted to express. Add the word "typical" before
"scanline-rendering" if you want.
  My point was not about whether uv-mapping is a scanline-rendering
technique or not, but that uv-mapping is similar to the would-be
trilinear interpolation in that it would be possibly limited to
only certain objects or whatever. However, no-one is complaining about
the limitations of uv-mapping; thus why would limitations in
trilinear interpolation be any different? You are talking as if it
would be useless if it can't be used *everywhere* in all cases.

> I really don't understand why you want to force a controversy here.

  The controversy is that you quite clearly expressed that implementing
a trilinear interpolation of image maps which would work everywhere is
too difficult to be feasible and that a trilinear interpolation which
is limited to only certain cases would be mostly useless.
  I disagree with the latter opinion.

-- 
                                                          - Warp


Post a reply to this message

From: tahoma
Subject: Re: mipmapping
Date: 12 May 2005 09:20:38
Message: <opsqnzo1z2x5erxw@buddie.egoof>
>>  It is not possible to formulate a question regarding to the answer.  
>> Thats
>> paradox. As i said, i did not want to tell anyone, how the solution  
>> should
>> look like. I wanted to know whether povray support a technique or not.
>
> But you said "When using image_maps i could not manage to get really  
> nice visual results  because of high sampling frequencies."
>
> And this led Tim to mention antialiasing.  Was his reply useful to  
> achieve 'nice visual results'?  Would it have helped you more to get a  
> simple 'No' as the answer?

I presented my problem. I had a solution in my mind, but couldn't
find a way to do it with povray. So i was asking for that way.
The reason for posting the problem is to get other optinion about
reaching the goal.

Tim's answer was very helpful, yours wasn't. After reading your post
i was none the wiser.

>> Maybe it was dumb or even respectless to the povray community to ask  
>> such
>> question,
>
> If the purpose of your question was to solve an actual problem in using  
> POV-Ray (namely to get visually pleasing results) - which usually can be  
> assumed of a posting in this newsgroup - your question was not  
> formulated well.  This is what i tried to point out in my original reply.

You said: "Sorry but the fact you write this shows that you have  
absolutely no idea how
raytracing works and what mip-mapping is. I don't want to appear brusk but  
you should
think about things and inform yourself a bit better before posting  
something like this."

If that means, my question was not well formulated, i still have to learn  
a lot :)


Post a reply to this message

From: Ross
Subject: Re: mipmapping
Date: 13 May 2005 14:42:54
Message: <4284f52e$1@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:d5vd6f$p2c$1@chho.imagico.de...
> Warp wrote:
> >
> >   I don't understand your attitude. First you are extremely rude and
> > impolite to the original poster, who made a perfectly valid and legit
> > question
>
> The original statement i replied to was:
>
> "Is there a way to specify mipmaps in povray or can povray do it by
> itself?  The only interpolation schemes i found are 'bilinear' and
> 'normalized  distance'."
>
> And if you think this is a perfectly valid and legit question i can only
> note we have a different view here.
>

i just want to say that this is the newusers group. there is almost no
invalid question here as far as i'm concerned, if the topic is somehow
povray related.

-r


Post a reply to this message

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