POV-Ray : Newsgroups : povray.binaries.images : MUST ADD FINISHING TOUCHES! CAN'T?? WHY!? Server Time
17 Nov 2024 20:22:31 EST (-0500)
  MUST ADD FINISHING TOUCHES! CAN'T?? WHY!? (Message 1 to 2 of 2)  
From: Ice T
Subject: MUST ADD FINISHING TOUCHES! CAN'T?? WHY!?
Date: 15 Nov 2002 15:25:06
Message: <web.3dd55776824d7f6c72b979d0@news.povray.org>
Hey!
Um...I am working on an image that I may soon be posting here, but I have
run into a problem with one of the essential
finishing touches.

It has to do with Chris Colefax's object bender inc file.
Can completed bent objects be used in CSG, say..in a difference?

Like...

#declare Intake =
cylinder{
    0.01*z, 2*z, 1
}

#declare Bend_Object = object{Intake}
#declare Bend...Yada, Yada, Yada

#declare Intake_2 = #include "bend.inc"

difference{
    box{
        <2,2,-4>,
        <-2,-2,0>
    }
    object{Intake_2}
}


Post a reply to this message

From: hughes, b 
Subject: Re: MUST ADD FINISHING TOUCHES! CAN'T?? WHY!?
Date: 15 Nov 2002 18:18:15
Message: <3dd580b7$1@news.povray.org>
"Ice_T" <scr### [at] yahoocom> wrote in message
news:web.3dd55776824d7f6c72b979d0@news.povray.org...
>
> It has to do with Chris Colefax's object bender inc file.
> Can completed bent objects be used in CSG, say..in a difference?

I believe so, sort of. It depends a lot on how the surfaces end up in the
bend object. Insides versus outsides stuff. Been way too long since I used
that include file to remember its details but I know it slices the original
object up and moves it. If the slices leave places showing inside surfaces
that are then differenced by something else then it'll be inversed. You can
try adding the 'inverse' keyword to your CSG as a whole or one of the
objects to see if it corrects matters. Just realize that it might be a
reversed problem then too.


Post a reply to this message

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