  | 
  | 
 
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
Note on 3.1, bug reports have gone from email to news,
so I am posting mine here.
The component operators don't work on 2-d vectors.  This
problem has existed 3.02 (at least).   A sample file :
----------------------------------------
light_source { 3 color rgb 1 }
camera { location 2 look_at 0 }
sphere { 0, 1 pigment { color rgb 1 } }
#declare uv = <1, 2>;
#debug concat("uv.u = ", str(uv.u, 0, -1), "\n")
#debug concat("uv.v = ", str(uv.v, 0, -1), "\n")
----------------------------------------
Dan Connelly
Version 3.1r1 W95
PII 128MB
-- 
http://www.flash.net/~djconnel/
 Post a reply to this message 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
In article <360BB6AC.99DFBFB6@flash.net> , Dan Connelly <djc### [at] flash net>  wrote:
>Note on 3.1, bug reports have gone from email to news,
>so I am posting mine here.
Of course I know you are talking about Windows, but this note is important:
As far as I know this only goes for the *Windows* version (only?), currently Eduard
and I accept bug reports for the Mac version via the regular (listed in the Mac docs!)
e-mail address pov### [at] compuserve com and of course via POVRAY forum (on CSi)
messages.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://www.povray.org
 
 Post a reply to this message 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
On Fri, 25 Sep 1998 10:28:44 -0500, Dan Connelly <djc### [at] flash net> wrote:
>Note on 3.1, bug reports have gone from email to news,
>so I am posting mine here.
Dan, you might want to get a new newsgroup list.  There's a 
newly-created newsgroup for bug reports.  Did nobody submit 
this bug by email to the official address for reporting bugs 
in the renderer, or what?
 
 Post a reply to this message 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
Ron Parker wrote:
> 
> On Fri, 25 Sep 1998 10:28:44 -0500, Dan Connelly <djc### [at] flash net> wrote:
> >Note on 3.1, bug reports have gone from email to news,
> >so I am posting mine here.
> 
> Dan, you might want to get a new newsgroup list.  There's a
> newly-created newsgroup for bug reports.
Thanks for the note!  I'll check it out.
>  Did nobody submit
> this bug by email to the official address for reporting bugs
> in the renderer, or what?
I submitted it during the beta period, but perhaps it got lost
in the shuffle.  Other bugs I submitted were handled promptly
and I received personal responses.
-- 
http://www.flash.net/~djconnel/
 
 Post a reply to this message 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
On Fri, 25 Sep 1998 11:41:49 -0500, Dan Connelly <djc### [at] flash net> wrote:
>Ron Parker wrote:
>>  Did nobody submit
>> this bug by email to the official address for reporting bugs
>> in the renderer, or what?
>
>I submitted it during the beta period, but perhaps it got lost
>in the shuffle.  Other bugs I submitted were handled promptly
>and I received personal responses.
Ditto.  Overall, I have to say I'm very pleased with the responses
I got to the bug reports I submitted.  I think the POV-Team did a
great job handling all of them.
 
 Post a reply to this message 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
Dan Connelly wrote:
> 
> Note on 3.1, bug reports have gone from email to news,
> so I am posting mine here.
> 
> The component operators don't work on 2-d vectors.  This
> problem has existed 3.02 (at least).   A sample file :
> 
> ----------------------------------------
> light_source { 3 color rgb 1 }
> camera { location 2 look_at 0 }
> sphere { 0, 1 pigment { color rgb 1 } }
> 
> #declare uv = <1, 2>;
> #debug concat("uv.u = ", str(uv.u, 0, -1), "\n")
> #debug concat("uv.v = ", str(uv.v, 0, -1), "\n")
The vector uv probably got promoted to a 3-dimensional vector.  When POV
expects a <u,v> vector and it is given an <x,y,z> vector, strange things
happen.  If you declare it this way:
  #declare uv= u + 2*v;
it might work differently.
Hope this helps,
John
-- 
"He has the power to rear-project major cities!" -- Mike Nelson
 Post a reply to this message 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
John VanSickle wrote:
> 
> Dan Connelly wrote:
> > ----------------------------------------
> > light_source { 3 color rgb 1 }
> > camera { location 2 look_at 0 }
> > sphere { 0, 1 pigment { color rgb 1 } }
> >
> > #declare uv = <1, 2>;
> > #debug concat("uv.u = ", str(uv.u, 0, -1), "\n")
> > #debug concat("uv.v = ", str(uv.v, 0, -1), "\n")
> 
> The vector uv probably got promoted to a 3-dimensional vector.  When POV
> expects a <u,v> vector and it is given an <x,y,z> vector, strange things
> happen.  If you declare it this way:
> 
>   #declare uv= u + 2*v;
> 
> it might work differently.
> 
> Hope this helps,
> John
> --
> "He has the power to rear-project major cities!" -- Mike Nelson
Actually, I see no difference.... if <1,2> would get promoted,
so would <u + 2*v>.... the expression parser would substitute
the values of u and v, then parse the result.
In any case, the suggested fix makes the same error.
But promotion shouldn't matter, since v works with 3-d vectors and
y fails on 2-d vectors.
The code fix for this bug has previously been reported by someone
else.  I will see if I can track it down in the source myself.
Dan
-- 
http://www.flash.net/~djconnel/
 Post a reply to this message 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 
 | 
  |