POV-Ray : Newsgroups : povray.general : A difference as a component in a blob? : A difference as a component in a blob? Server Time
1 Aug 2024 00:17:35 EDT (-0400)
  A difference as a component in a blob?  
From: nevered
Date: 6 Jun 2006 22:20:01
Message: <web.4486371619dc24e4b9735830@news.povray.org>
here's what i'm trying to do:

 blob {
  threshold .5
  difference{
                sphere {
                        <0, 0, 0>, 1, 1
                        scale <12, 10, 1>
                        translate<0,0,.5>
                }
                cylinder {
                        <9,0,-20>, <9,0,20>, 10, 1
                        scale <1.7,.8,0>
                }
        }
  cone{
       <-2,0,.7>, .6, <5,0,-1.3>, .5, 1
       scale<0,5,.8>
  texture{pigment{color Yellow}}
 }

the problem comes up at the top, right after the 'threshold' line

the error i get says "Need at least one component in a blob" and highlights
the 'difference' line.

any suggestions/solutions?

the end result should look like an elongated crescent with a flat, wide cone
sticking out of the inside of the crescent at an angle.

I've tried declaring the difference bit as its own thing and giving that the
strength modifier instead, but that gives no such luck, either


Post a reply to this message

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