POV-Ray : Newsgroups : povray.bugreports : Bug with clipped_by and matrix (beta 26) Server Time
22 Nov 2024 05:36:11 EST (-0500)
  Bug with clipped_by and matrix (beta 26) (Message 1 to 4 of 4)  
From: SharkD
Subject: Bug with clipped_by and matrix (beta 26)
Date: 5 Dec 2008 13:20:01
Message: <web.493970781a6ad3438ab7c9350@news.povray.org>
Compare this scene in 3.6 and 3.7:

// Persistence of Vision Ray Tracer Scene Description File
// File: ?.pov
// Vers: 3.6
// Desc: Basic Scene Example
// Date: mm/dd/yy
// Auth: ?
//

#include "colors.inc"

global_settings {
  assumed_gamma 1.0
}

// ----------------------------------------

camera {
  location  <0.0, 2, -4.0>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0.0, 0.0,  0.0>
  scale 12
}

sky_sphere {
  pigment {
    gradient y
    color_map {
      [0.0 rgb <0.6,0.7,1.0>]
      [0.7 rgb <0.0,0.1,0.8>]
    }
  }
}

light_source {
  <0, 0, 0>            // light's position (translated below)
  color rgb <1, 1, 1>  // light's color
  translate <-30, 30, -30>
}

// ----------------------------------------

plane {
  y, -1
  pigment { color rgb <0.7,0.5,0.3> }
}

//// Primitive t04o6250.dat
#ifndef (t04o6250_dot_dat)
#declare t04o6250_dot_dat = torus {
 1, 6250/9999
 clipped_by {
  difference {
   box { <0,0,0>, <2,1,2> }
   cylinder { <0,0,0>, <0,1,0>, 1 open }
  }
 }
}
#end // ifndef (t04o6250_dot_dat)

//// Part 3626bps3.dat
#ifndef (_3626bps3_dot_dat)
#declare _3626bps3_dot_dat = union {
 object { t04o6250_dot_dat matrix <0,0,8,0,-6.4,0,8,0,0,0,4,0> }
 object { t04o6250_dot_dat matrix <-8,0,0,0,-6.4,0,0,0,8,0,4,0> }
 object { t04o6250_dot_dat matrix <0,0,8,0,6.4,0,-8,0,0,0,17,0> }
 object { t04o6250_dot_dat matrix <8,0,0,0,6.4,0,0,0,8,0,17,0> }
 object { t04o6250_dot_dat matrix <0,0,-8,0,-6.4,0,-8,0,0,0,4,0> }
 object { t04o6250_dot_dat matrix <8,0,0,0,-6.4,0,0,0,-8,0,4,0> }
 object { t04o6250_dot_dat matrix <0,0,-8,0,6.4,0,8,0,0,0,17,0> }
 object { t04o6250_dot_dat matrix <-8,0,0,0,6.4,0,0,0,-8,0,17,0> }
}
#end // ifndef (_3626bps3_dot_dat)

//// Model hair_test_2.ldr
#ifndef (hair__test__2_dot_ldr)
#declare hair__test__2_dot_ldr = object {
// Untitled
// Name: hair_test_2.ldr
// Author: Michael Horvath
// Unofficial Model
// ROTATION CENTER 0 0 0 1 "Custom"
// ROTATION CONFIG 0 0
 // 1 4  -20 0 0  1 0 0  0 1 0  0 0 1 3626bps3.dat
 object {
  _3626bps3_dot_dat
//  matrix <1-L3SW/26.001,0,0,0,1-L3SW/28,0,0,0,1-L3SW/26.001,0,L3SW/2.8,0>
  matrix <1,0,0,0,1,0,0,0,1,-20,0,0>
//  material { L3Color4 }
 }
}
#end // ifndef (hair__test__2_dot_ldr)

object {
 hair__test__2_dot_ldr
 pigment {color Red}
}


Post a reply to this message

From: Le Forgeron
Subject: Re: Bug with clipped_by and matrix (beta 26)
Date: 5 Dec 2008 17:18:13
Message: <4939a8a5$1@news.povray.org>
Le Fri, 05 Dec 2008 13:18:32 -0500, SharkD a modifié des petits morceaux
de l'univers pour nous faire lire :

> Compare this scene in 3.6 and 3.7:
> 
Looks fine between 3.6.1 and 3.7beta29; (same apparent picture)
(Both on linux, 64bits)
 -H800 -W1200 +A0.01 

Do I need a bigger size ?


Post a reply to this message

From: SharkD
Subject: Re: Bug with clipped_by and matrix (beta 26)
Date: 6 Dec 2008 03:55:01
Message: <web.493a3cc9bbfb800ff2b437cb0@news.povray.org>
Le Forgeron <jgr### [at] freefr> wrote:
> Looks fine between 3.6.1 and 3.7beta29; (same apparent picture)
> (Both on linux, 64bits)
>  -H800 -W1200 +A0.01

Thanks. I'll try the current beta.

> Do I need a bigger size ?

No, size shouldn't matter.

-Mike


Post a reply to this message

From: SharkD
Subject: Re: Bug with clipped_by and matrix (beta 26)
Date: 6 Dec 2008 06:40:00
Message: <web.493a6465bbfb800fba19b81b0@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> Le Forgeron <jgr### [at] freefr> wrote:
> > Looks fine between 3.6.1 and 3.7beta29; (same apparent picture)
> > (Both on linux, 64bits)
> >  -H800 -W1200 +A0.01
>
> Thanks. I'll try the current beta.
>
> > Do I need a bigger size ?
>
> No, size shouldn't matter.
>
> -Mike

Yep, the problem doesn't exist in the latest beta. Sorry for the false report.

-Mike


Post a reply to this message

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