POV-Ray : Newsgroups : povray.binaries.images : megapov 1.0 has a bug... - attached files (1/1) Server Time
13 Nov 2024 17:48:32 EST (-0500)
  megapov 1.0 has a bug... - attached files (1/1) (Message 1 to 9 of 9)  
From: Kurts
Subject: megapov 1.0 has a bug... - attached files (1/1)
Date: 16 May 2004 12:49:36
Message: <kurtzlepirate-682111.18492816052004@news.povray.org>
In article <c87c4g$2bp$1@chho.imagico.de>,
 Christoph Hormann <chr### [at] gmxde> wrote:

> I can't find any argument in your post that indicates a bug in MegaPOV. 
>   The criteria for a good bug report are quite the same as with official 
> POV-Ray BTW: post a minimal test scene clearly showing the problem (this 
> scene is neither minimal nor clearly shows a difference nor comes with 
> source).
> 
> And also read the posting rules in p.a.f-a-q.  You should not post 
> binaries in a non-binary group.
> 
> Christoph

begin in "povray.macintosh", here source code and 2 images showing the problem
with this simple object.

the 2 render where made with the same settings : 640x480, png, aa on with 
original method, threshold=0.30, recursion=2 and jitter=0.



Source :

//  --------------------------------------------------------------------------
#declare useMegaPov = true;
#if(useMegaPov)
  #version unofficial MegaPov 1.0;
#else
  #version 3.5;
#end




//  --------------------------------------------------------------------------
//  --- INCLUDES -------------------------------------------------------------
//  --------------------------------------------------------------------------
#include "colors.inc"
#include "myMacros.inc"

#declare displayAxis = false;
#declare useOtherLights = false;

#declare bestQuality = true;
#declare useAreaLights = bestQuality;
#declare quickTexture = !bestQuality;




//  --------------------------------------------------------------------------
//  --- SCENE ----------------------------------------------------------------
//  --------------------------------------------------------------------------
global_settings {
  assumed_gamma 1.80
  max_trace_level 10
  }

camera {
  location p2r(20, 30, 300,false)
  look_at <0, 25, 0>
  angle 36
  }

light_source {
  // <400, 320, 400>
  p2r(60, 35, 650,false)
  color White
  #if(useAreaLights)
    area_light 100, 100, 5, 5
    adaptive 1
    jitter 
    orient 
    circular 
  #end
  }

#if(useOtherLights)
  #declare index=0;
  #while (index<8)
    light_source {
      <35.00, 20.00, 0.00>
      color White/6
      rotate 45*index*y
      }
    #set index=index+1;
  #end
#end

background {
  color White
  }

plane {
  y,0
  pigment { color White }
  finish { ambient 0.70 diffuse 0.30 }
  }

#if (displayAxis)
  drawAxis (140, 0.40)
#end




//  --------------------------------------------------------------------------
//  --- DIMENSIONS -----------------------------------------------------------
//  --------------------------------------------------------------------------
#declare semelleCote = 60.00;
#declare semelleHauteur = 12.00;
#declare semelleRayon = 17.00;
#declare semelleArrondi = 3.00;
#declare positionCoin = 60.00;

#declare tubeRayonExterieur = 25.00;
#declare tubeRayonInterieur = 21.00;
#declare tubeHauteur = 80.00;
#declare tubeTore = (tubeRayonExterieur-tubeRayonInterieur)*0.50;

#declare goussetLargeur = 24.00;
#declare goussetArrondi = 1.50;
#declare goussetRadius = (goussetLargeur*0.50)-goussetArrondi;
#declare goussetLongueur = semelleCote;
#declare goussetHauteur = semelleCote;

#declare rayonPercage = 3.00;
#declare rayonLamage = 8.00;
#declare profondeurLamage = 2.00;


//  --------------------------------------------------------------------------
//  --- CONSTRUCTION ---------------------------------------------------------
//  --------------------------------------------------------------------------
#declare coinArrondi =  union {
  cylinder { <0.00, 0.00, 0.00> <0.00, semelleHauteur-semelleArrondi, 0.00> 
semelleRayon }
  cylinder { <0.00, 0.00, 0.00> <0.00, semelleHauteur, 0.00> 
semelleRayon-semelleArrondi }
  torus { semelleRayon-semelleArrondi semelleArrondi translate 
(semelleHauteur-semelleArrondi)*y }
  }

#declare goussetBase = union {
  cylinder { <+(semelleCote-semelleArrondi), 0.00, 0.00> 
<+(semelleCote-semelleArrondi), semelleHauteur+goussetArrondi, 0.00> 
(goussetLargeur*0.50) }
  box { <0.00, 0.00, -goussetLargeur*0.50> <semelleCote-semelleArrondi, 
semelleHauteur+goussetArrondi, +goussetLargeur*0.50> }
  rotate 45*y
  }

#declare gousset = union {
  difference {
    torus { goussetRadius goussetArrondi }
    plane { x, 0 }
    }
  cylinder { <0.00, 0.00, +goussetRadius> <-goussetLongueur, 0.00, 
+goussetRadius> goussetArrondi}
  cylinder { <0.00, 0.00, -goussetRadius> <-goussetLongueur, 0.00, 
-goussetRadius> goussetArrondi}
  difference {
    cylinder { <0.00, 0.00, 0.00> <0.00, -goussetHauteur, 0.00> 
goussetRadius+goussetArrondi }
    cylinder { <0.00,+1.00, 0.00> <0.00, -goussetHauteur-1, 0.00> 
goussetRadius-goussetArrondi }
    plane { x, 0 }
    }
  box { <0.00, 0.00, +goussetLargeur*0.50> <-goussetLongueur, -goussetHauteur, 
goussetRadius-goussetArrondi> }
  box { <0.00, 0.00, -goussetLargeur*0.50> <-goussetLongueur, -goussetHauteur, 
-(goussetRadius-goussetArrondi)> }

  translate <-goussetRadius, 0.00, 0.00>
  rotate -30*z
  translate <+goussetRadius, 0.00, 0.00>
  translate <+(semelleCote-semelleRayon)*sqrt(2), semelleHauteur+goussetArrondi, 
0.00>

  rotate 45*y
  }

#declare percages = union {
  cylinder { <0.00, -1.00, 0.00> <0.00, semelleHauteur+goussetArrondi+1.00, 
0.00> rayonPercage }
  cylinder { <0.00, semelleHauteur+goussetArrondi-profondeurLamage, 0.00> <0.00, 
semelleHauteur+goussetArrondi+1.00, 0.00> rayonLamage }
  
  translate <(semelleCote-semelleRayon)*sqrt(2), 0.00, 0.00>
  rotate 45*y
  }

#declare support = difference {
  union {
    difference {
      union {
        box { <semelleCote, 0.00, semelleCote-semelleRayon> <-semelleCote, 
semelleHauteur-semelleArrondi, -(semelleCote-semelleRayon)> }
        box { <semelleCote-semelleArrondi, 0.00, semelleCote-semelleRayon> 
<-(semelleCote-semelleArrondi), semelleHauteur, -(semelleCote-semelleRayon)> }
        
        box { <semelleCote-semelleRayon, 0.00, semelleCote> 
<-(semelleCote-semelleRayon), semelleHauteur-semelleArrondi, -semelleCote> }
        box { <semelleCote-semelleRayon, 0.00, semelleCote-semelleArrondi> 
<-(semelleCote-semelleRayon), semelleHauteur, -(semelleCote-semelleArrondi)> }
          
        object { coinArrondi translate <+(semelleCote-semelleRayon), 0.00, 
+(semelleCote-semelleRayon)> }
        object { coinArrondi translate <+(semelleCote-semelleRayon), 0.00, 
-(semelleCote-semelleRayon)> }
        object { coinArrondi translate <-(semelleCote-semelleRayon), 0.00, 
+(semelleCote-semelleRayon)> }
        object { coinArrondi translate <-(semelleCote-semelleRayon), 0.00, 
-(semelleCote-semelleRayon)> }
        
        cylinder { <+(semelleCote-semelleArrondi), 
semelleHauteur-semelleArrondi, -(semelleCote-semelleRayon)> 
<+(semelleCote-semelleArrondi), semelleHauteur-semelleArrondi, 
+(semelleCote-semelleRayon)> semelleArrondi }
        cylinder { <-(semelleCote-semelleArrondi), 
semelleHauteur-semelleArrondi, -(semelleCote-semelleRayon)> 
<-(semelleCote-semelleArrondi), semelleHauteur-semelleArrondi, 
+(semelleCote-semelleRayon)> semelleArrondi }
      
        cylinder { <+(semelleCote-semelleRayon), semelleHauteur-semelleArrondi, 
+(semelleCote-semelleArrondi)> <-(semelleCote-semelleRayon), 
semelleHauteur-semelleArrondi, +(semelleCote-semelleArrondi)> semelleArrondi }
        cylinder { <+(semelleCote-semelleRayon), semelleHauteur-semelleArrondi, 
-(semelleCote-semelleArrondi)> <-(semelleCote-semelleRayon), 
semelleHauteur-semelleArrondi, -(semelleCote-semelleArrondi)> semelleArrondi }
      
        cylinder { <0.00, 0.00, 0.00> <0.00, tubeHauteur-tubeTore, 0.00> 
tubeRayonExterieur }
        torus { tubeRayonExterieur-tubeTore tubeTore translate 
(tubeHauteur-tubeTore)*y }
        torus { tubeRayonExterieur semelleArrondi translate semelleHauteur*y }
        }
      torus { tubeRayonExterieur+semelleArrondi semelleArrondi translate 
(semelleHauteur+semelleArrondi)*y }
      }
    object { goussetBase }
    object { goussetBase rotate 90*y }
    object { goussetBase rotate 180*y }
    object { goussetBase rotate 270*y }
  
    object { gousset }
    object { gousset rotate 90*y }
    object { gousset rotate 180*y }
    object { gousset rotate 270*y }
    }     
  // --- percages ---------------------------------------------------------------
  cylinder { <0.00, -1.00, 0.00> <0.00, tubeHauteur+1, 0.00> tubeRayonInterieur }
  object { percages }
  object { percages rotate 90*y }
  object { percages rotate 180*y }
  object { percages rotate 270*y }
  }



//  --------------------------------------------------------------------------
//  --- OBJECT ---------------------------------------------------------------
//  --------------------------------------------------------------------------
object {
  support
  #if (quickTexture)
    pigment { color Red }
    finish { ambient 0.40 diffuse 0.60 phong 0.80 }
  #else
    pigment {
      rgb <0.859998, 0.859998, 0.869993>
      }
    normal {
      granite 0.05
      triangle_wave
      scale 2
      }
    finish {
      ambient 0.40
      diffuse 0.60
      specular 1.0
      roughness 0.0005
      metallic on
      }
  #end
  }


Post a reply to this message


Attachments:
Download 'supportMegaPov.jpg' (35 KB) Download 'supportPovRay.jpg' (31 KB)

Preview of image 'supportMegaPov.jpg'
supportMegaPov.jpg

Preview of image 'supportPovRay.jpg'
supportPovRay.jpg


 

From: Kurts
Subject: Re: megapov 1.0 has a bug... - attached files (1/1) - supportMegaPov.jpg (1/1)
Date: 16 May 2004 13:20:43
Message: <kurtzlepirate-F77989.19204116052004@news.povray.org>
hoops... first image has a problem...
reposte here


Post a reply to this message


Attachments:
Download 'supportMegaPov.jpg' (14 KB)

Preview of image 'supportMegaPov.jpg'
supportMegaPov.jpg


 

From: Dave VanHorn
Subject: Re: megapov 1.0 has a bug... - attached files (1/1) - supportMegaPov.jpg (1/1)
Date: 16 May 2004 13:57:47
Message: <40a7ab9b@news.povray.org>
"Kurts" <kur### [at] yahoofr> wrote in message
news:kurtzlepirate-F77989.19204116052004@news.povray.org...
> hoops... first image has a problem...
> reposte here
>

Time for a scratch and dent sale :)


Post a reply to this message

From: St 
Subject: Re: megapov 1.0 has a bug... - attached files (1/1) - supportMegaPov.jpg (1/1)
Date: 16 May 2004 14:00:15
Message: <40a7ac2f@news.povray.org>
"Kurts" <kur### [at] yahoofr> wrote in message
news:kurtzlepirate-F77989.19204116052004@news.povray.org...
> hoops... first image has a problem...
> reposte here

  Nope, no problem. I can see both images and the code that you
posted.

  ~Steve~


Post a reply to this message

From: Hugo Asm
Subject: Re: megapov 1.0 has a bug... - attached files (1/1) - supportMegaPov.jpg (1/1)
Date: 16 May 2004 14:04:38
Message: <40a7ad36@news.povray.org>
Yep, I've experienced the same thing. You can solve it by using the sturmian
root solver. Eventually the problem will be fixed in future releases.

Regards,
Hugo


Post a reply to this message

From: Kurts
Subject: Re: megapov 1.0 has a bug... - attached files (1/1) - supportMegaPov.jpg (1/1)
Date: 17 May 2004 13:44:58
Message: <kurtzlepirate-9378F4.19445917052004@news.povray.org>


Post a reply to this message

From: ABX
Subject: Re: megapov 1.0 has a bug... - attached files (1/1) - supportMegaPov.jpg (1/1)
Date: 18 May 2004 04:50:38
Message: <1hjja05f7j5fscp9phkise2clrgd1cfea6@4ax.com>
On Mon, 17 May 2004 19:45:00 +0200, Kurts <kur### [at] yahoofr> wrote:
> > Yep, I've experienced the same thing. You can solve it by using the sturmian
> > root solver. Eventually the problem will be fixed in future releases.
>
> your 're right ! using sturmian seems to solve this problem. macmegapov has a 
> problem in rendering torus...

There was misconfigured polynomial solver in MegaPOV 1.0 due to implementing
other patch. This is already fixed for the next release thanks to earlier
reports.

ABX


Post a reply to this message

From: John D  Gwinner
Subject: Re: megapov 1.0 has a bug... - attached files (1/1) - supportMegaPov.jpg (1/1)
Date: 25 May 2004 20:33:11
Message: <40b3e5c7$1@news.povray.org>
> There was misconfigured polynomial solver in MegaPOV 1.0 due to
implementing
> other patch. This is already fixed for the next release thanks to earlier
> reports.
>
> ABX

When is the next patch coming out?

        == John ==


Post a reply to this message

From: ABX
Subject: Re: megapov 1.0 has a bug... - attached files (1/1) - supportMegaPov.jpg (1/1)
Date: 26 May 2004 02:05:44
Message: <7sc8b014103qt1t7esajabrf8n49bmhsa4@4ax.com>
On Tue, 25 May 2004 17:45:03 -0700, "John D. Gwinner"
<joh### [at] cornelledu> wrote:
> > There was misconfigured polynomial solver in MegaPOV 1.0 due to implementing
> > other patch. This is already fixed for the next release thanks to earlier
> > reports.
> >
> > ABX
>
> When is the next patch coming out?

Most probably some time after 3.6.

ABX


Post a reply to this message

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