|
|
|
|
|
|
| |
| |
|
|
From: Xplo Eristotle
Subject: Re: Test scene (was Re: Huh? Normal averaging bug?)
Date: 2 Mar 2003 12:22:05
Message: <3e623dbd@news.povray.org>
|
|
|
| |
| |
|
|
Kari Kivisalo wrote:
> The method of calculating the normal vector from the scalar
> field may not be precise. Averaging these vectors would leave
> a small residue or error. This is purely a guess based on the
> existence of accuracy keyword for normals.
Thank you, Kari.
I'm not sure I'd call the results of the averaging a "small residue",
though. There are some fairly deep bumps and pockmarks; it looks a
little like the surface of a wooden baseball bat that's been used to hit
rocks and pieces of metal junk.. like the dents normal, but messier.
I'll post a pic in p.b.i., since the usually-reasonable Warp seems to
think that my code is a nightmare. 9_9
-Xplo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3e62268d@news.povray.org>,
Xplo Eristotle <xpl### [at] infomagicnet> wrote:
> Yes! Argh! God forbid I should use MegaPOV, which probably reuses 99% of
> the official code. Quick, get the burning splints! 9_9;
That doesn't mean the normal code is exactly the same. It would only
take a very minor change to introduce a bug in MegaPOV. Besides, your
scene does not require MegaPOV as far as I can see...you should have
tested it in the official version and left that line out.
You included lots of other irrelevant stuff...#default, global_settings,
etc. The idea of a minimal scene is that it includes only what is
necessary. By breaking it down to the bare minimum, you not only keep
the message short, but ensure that the problem is at least in the area
you thought it was.
About the indentation issue, it is easier to copy and paste if the code
is "compacted", and your indentation style is just the opposite, it
can't get much longer or more spread out. It wasn't the real problem,
though.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Test scene (was Re: Huh? Normal averaging bug?)
Date: 2 Mar 2003 12:27:26
Message: <3e623efe@news.povray.org>
|
|
|
| |
| |
|
|
Xplo Eristotle <xpl### [at] infomagicnet> wrote:
> I'm sorry. Leaving out the top line in a block of text when making a
> selection must require more dexterity than I would have imagined.
Well, that's exactly what I'm talking about. You are cluttering your
scene with obsolete, unneeded definitions and assuming that the people
who want to look at your code will see the trouble to remove them because
you didn't want to do it yourself.
> And as we all know, whitespace exists to make code harder to read.
When they clutter the scene, making secondary features of it to stand
out more than necessary, then yes, they make it harder to read.
Did you even read what I said? The idea is that you should make the scene
minimal and help people concentrating on the *relevant* part of the code.
Making secondary, non-relevant parts of the code to exceedingly stand out
by making them to take lots of space does not help this task.
> The hell it isn't. My code's not unreadable.
Where did I say that your code is unreadable?
I said that you should *edit* your code before posting it. You should edit
it in such way that people don't need to edit it themselves if they want to
look at it. You should edit it in such way that the relevant part of the
code stands out and irrelevant secondary definitions don't.
> I guess copy and paste is too hard for you, Warp. I can only hope that
> someone who can demonstrate that they've mastered these most basic of
> text operations is willing to help explain this seeming bug.
> Good lord, man. I just wanted an answer, not a fucking editorial about
> how incredibly petty and lazy you can be. Next time I find some
> anomalous behavior in POV-Ray I'll just keep it to myself.
Why do you keep talking about copying and pasting?
And you are still showing the wrong attitude: You are expecting others
to edit your code and to interpret which parts are relevant and which aren't.
That was exactly my point: You should see the trouble yourself, not
expect others to do it for you. It's not as bad as it could be (like those
who post a code thoushands of lines long and expect people to find one
buggy line in it), but IMHO you still showed an attitude which is not the
best possible.
If you want answers, the correct attitude is not "here's some code I
quickly put together with a patched version and if you don't understand it
or can't edit it to work, then just fuck off".
I did not criticize your coding style. I did not criticize your indentation
scheme. I did not criticize your choise of patched POV-Ray. I did not claim
that your example is not readable. So please stop claiming I did.
I simply said that it's polite to see the trouble *yourself* in making
the scene as easy to use as possible, not expecting other people to do it
for you.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
From: Xplo Eristotle
Subject: Re: Test scene (was Re: Huh? Normal averaging bug?)
Date: 2 Mar 2003 14:14:37
Message: <3e62581d@news.povray.org>
|
|
|
| |
| |
|
|
Warp wrote:
>
> And you are still showing the wrong attitude: You are expecting others
> to edit your code and to interpret which parts are relevant and which aren't.
No, I'm not.
I gave you the relevant piece of code in the first place, as well as a
description of exactly what I was doing, and what the problem was. I
don't think I could have been more clear. You and others complained
about having to set up a test scene which might be different from mine,
and realizing that this was a valid objection, I cut down the scene that
had the problem to a viable test scene, and posted that.
It requires no editing, unless you wish to take out the version line
(which is easily done, and obvious), or the global settings, which I
seriously doubt are causing the "bug", and would not prevent the scene
from rendering anyway. You wanted something that could be rendered with
no thought or effort on your part, and I delivered.
> I simply said that it's polite to see the trouble *yourself* in making
> the scene as easy to use as possible, not expecting other people to do it
> for you.
The only thing I "expect" anyone to do is to tell me whether it's a bug
when two opposite normals are averaged together and produce a third,
clearly visible normal instead of cancelling each other out, and if not,
why not. The only reason I provided the code in the first place was so
you could see exactly what I'm doing, and thereby confirm that the
problem really exists and it's not just some incredibly stupid oversight
on my part.
If you can't be bothered to try to help, then DON'T REPLY. Waste your
free time on something else and let someone else take care of it. But
don't sit here and lecture me over such trivial shit.
Of the four people who have replied to this thread (not counting me),
only one has even TRIED to offer some useful explanation for my finding.
So, again, thank you Kari for trying to help. The rest of you ought to
be ashamed of yourselves.
-Xplo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3e61f64d@news.povray.org...
> Xplo Eristotle <xpl### [at] infomagicnet> wrote:
> > #version unofficial MegaPov 1.0;
>
> Argh!
>
> And why all the unneeded whitespace bloating the code?
> How about this:
Warp, I have to agree with xplo, his reposted code was fine in
any pov laymans' terms - I cut and pasted it and got the desired
render - no problem, it was simple.
I really don't see the problem with it, he did what was asked, and
as a user on this server, it was adequate for me, and that's sayin'
somethin'!
~Steve~
>
> --
> #macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N
color_map{[0rgb x]
> [1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end
M(-3<1.206434.28623>70,7)M(
> -1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)//
- Warp -
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Test scene (was Re: Huh? Normal averaging bug?)
Date: 2 Mar 2003 19:12:21
Message: <3e629de4@news.povray.org>
|
|
|
| |
| |
|
|
Xplo Eristotle <xpl### [at] infomagicnet> wrote:
> If you can't be bothered to try to help, then DON'T REPLY.
Do you really think you will get wholehearted help with that attitude?
> The rest of you ought to be ashamed of yourselves.
Why?
When I ask you to post a short, minimized and clean scene which shows
the phenomenon you are talking about, and then I explain myself what I
mean by minimal, you start insulting me.
You still refuse to understand (or admit you understand) what I'm talking
about, but instead you keep making more or less direct insinuations about
me being stupid.
I said that if you want help from people, it's good and polite to see
some trouble in making it the easiest possible for the people to study
your code and not expect people editing and understanding your code.
I also said that if you want help from people, you shouldn't start
depreciating their intelligence and insulting them. Your response to this
is basically "if you don't want to do it, fuck off".
And lastly, when I show you how I think the code is at its minimum and
most clear shape, you don't even bother to comment it, why it's good/bad
and whether I, in your opinion, am right or wrong about it. (Instead you
start attacking me.)
So why is it me who should be ashamed of myself?
It wasn't me who started insulting and name-calling.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Test scene (was Re: Huh? Normal averaging bug?)
Date: 2 Mar 2003 19:14:05
Message: <3e629e4d@news.povray.org>
|
|
|
| |
| |
|
|
St. <dot### [at] dotcom> wrote:
> Warp, I have to agree with xplo, his reposted code was fine in
> any pov laymans' terms - I cut and pasted it and got the desired
> render - no problem, it was simple.
It's not the code which is specially problematic. His attitude about my
comments is what made me lose my temper. He basically called me stupid.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
From: St
Subject: Re: Test scene (was Re: Huh? Normal averaging bug?)
Date: 2 Mar 2003 21:21:22
Message: <3e62bc22@news.povray.org>
|
|
|
| |
| |
|
|
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3e629e4d@news.povray.org...
> St. <dot### [at] dotcom> wrote:
> > Warp, I have to agree with xplo, his reposted code was fine
in
> > any pov laymans' terms - I cut and pasted it and got the desired
> > render - no problem, it was simple.
>
> It's not the code which is specially problematic. His attitude
about my
> comments is what made me lose my temper. He basically called me
stupid.
No, I don't think 'stupid' was intended. It could simply have been
because more bandwidth was wasted explaining what to do with the code
than should have originally been wasted. You give valuable advice many
times Warp, which is very much appreciated by myself and doubtless
others, but it was a molehill, and then a mountain for no real reason.
Let's all have a cup of hot chocolate... ;)
~Steve~
>
> --
> #macro N(D)#if(D>99)cylinder{M()#local
D=div(D,104);M().5,2pigment{rgb M()}}
> N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
>
(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// -
Warp -
Post a reply to this message
|
|
| |
| |
|
|
From: Xplo Eristotle
Subject: Re: Test scene (was Re: Huh? Normal averaging bug?)
Date: 3 Mar 2003 01:27:54
Message: <3e62f5ea@news.povray.org>
|
|
|
| |
| |
|
|
Warp wrote:
>
> When I ask you to post a short, minimized and clean scene which shows
> the phenomenon you are talking about, and then I explain myself what I
> mean by minimal, you start insulting me.
Let me recap for you. I know it's hard to understand what's happening
with your head up your ass.
Xplo: "I decided to see what would happen if I averaged two opposed
normals together." (example code follows) "I assumed that they would
completely cancel out.. but instead, they produced a weird, not exactly
granite-like normal that's quite noticible. Why is this?"
Warp: "Btw, it would be nice if you would make a complete rendable (sic)
scene showing the phenomenon so that people can simply copy-paste it to
povray, render it and quickly see what you are talking about instead of
having to set up a scene."
This is a reasonable request, so I provide exactly what you asked for: a
complete renderable scene showing the phenomenon so that people can
simply copy-paste it to povray, render it and quickly see what I'm
talking about.
The smart and reasonable thing for you to do, at this point, would be to
answer my question, if your knowledge makes you capable of doing so. I
have provided everything you could possibly need to understand what I'm
talking about, including a complete test scene that shows exactly what
I'm talking about in considerable detail.
You didn't do the smart and reasonable thing.
I didn't ask you to fix my code, I didn't need you to fix my code, I
didn't *want* you to fix my code, and I found your condescending and
totally useless response insulting. I had absolutely no interest in
comparing and discussing our coding styles, which, despite your denials,
is essentially what you were talking about. What I wanted was an answer
to my question.. something you made no attempt to provide.
> I said that if you want help from people, it's good and polite to see
> some trouble in making it the easiest possible for the people to study
> your code and not expect people editing and understanding your code.
Warp, there's like 30 lines there.. and that's with my generous use of
whitespace. There are POV-Ray tutorials which are more difficult to
understand than my code, and it renders AS WRITTEN. I gave you exactly
what you asked for. Not only that, but my original post explained
*exactly* what was going on.
I find it strange that you object to my insults, considering the lengths
you've gone to to deserve them.
-Xplo
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Test scene (was Re: Huh? Normal averaging bug?)
Date: 3 Mar 2003 08:02:48
Message: <3e635278@news.povray.org>
|
|
|
| |
| |
|
|
Xplo Eristotle <xpl### [at] infomagicnet> wrote:
> What I wanted was an answer
> to my question.. something you made no attempt to provide.
You still don't get it, do you?
You want an answer, but with that attitude of yours it's less likely that
you are going to get one. Insulting people who are trying to help you is
not the right way of getting answers.
Compare it to this: Someone asks a question with a really bad English
grammar. Someone corrects his grammar errors and says that if he uses
proper English it's more likely that people will understand him and give
a proper answer. Now, two things may follow:
1. The original poster thanks this person and learns something useful.
2. The original poster tells this person to fuck off and mind his own
business.
Which one of these two things is more likely to help the original poster
to get a proper answer?
Some people might find it insulting if someone corrects their grammatical
errors. However, getting pissed off and starting insulting is not the correct
way of getting what they want.
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|