POV-Ray : Newsgroups : povray.binaries.scene-files : pov 3.6 beta 3 bright media bug? - 1 attachment Server Time
1 Sep 2024 18:15:40 EDT (-0400)
  pov 3.6 beta 3 bright media bug? - 1 attachment (Message 1 to 1 of 1)  
From: Rafal 'Raf256' Maj
Subject: pov 3.6 beta 3 bright media bug? - 1 attachment
Date: 9 Apr 2004 12:59:11
Message: <Xns94C6C111BF216raf256com@203.29.75.35>
logo project, showing an bug, read in p.beta-test and p.b.i

Important parts of file:

line 193 - this is the blue ball on with yellow spots appear

    #local C=<0.10,0.50,0>;  #local BallC1=C; // i *
    #if (QO_I_Point)
    difference {    
      union {
        cone { C+z*DEP2, 0.12 C, 0.12 }   sphere { 0 0.12 scale <1,1,.5> translate C }
      }     
      sphere { 0 R2 scale <1,1,1> translate C-z*0.10 }
    }
    #end // i *



line 421 - texture of this blue ball (and entire IFJ logo)

  pigment { rgb <0.25, 0.65, 1.0> }
  finish { 
    diffuse .8 brilliance 1.1 ambient .21 reflection { .23 .38 metallic .35 }
    specular 0.6 roughness 0.006
  }




from line 484 is this atom object.
Yellow orbits and electrons causing probably bug:
line 526

   #macro makeTrak(R, RX,RY,RZ,ERR)
      torus { R 0.60*RR*ERR rotate x*RX rotate +y*RY rotate z*RZ  hollow }
      
      torus { R 1.20*RR*ERR rotate x*RX rotate +y*RY rotate z*RZ  hollow 
        pigment { rgbf 1 }
        interior {media{ emission <1,.7,.02>*1}}
      }

      torus { R 2.30*RR*ERR rotate x*RX rotate +y*RY rotate z*RZ  hollow 
        pigment { rgbf 1 }
        interior {
          media { 
            emission <1,.4,.01>*20  //  ****** BRIGHT **********
            density {
              bozo
              color_map{[0 rgb .03][.5 rgb .03][.8 rgb 0.10][1 rgb 1]}
              scale .3
            }
          }
        }
      }
    #end
    
    #macro makeElectron()
    union {
      sphere { 0 1+0.02*rand(RND) pigment { rgbt <1,1,.3,.7> } interior { media {
emission 7.0*CR  density {spherical} } } scale 0.120  }
      sphere { 0 1+0.02*rand(RND) pigment { rgbf 1 } interior { media { emission
1.3*CR+0.2 density {spherical} } } scale 0.330  }
    }    
    #end
        
    #if (QO_Bohrium_Electrons_2)
      makeTrak(3, 90,90,  0+A1, 1.01)
      makeTrak(3, 90,90, 60+A1, 1.02)
      makeTrak(3, 90,90,120+A1, 1.03)




-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message


Attachments:
Download 'raf256_pov_bug_040001.zip' (63 KB)

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