POV-Ray : Newsgroups : povray.newusers : keeping texture after CSG Server Time
23 Dec 2024 22:27:00 EST (-0500)
  keeping texture after CSG (Message 1 to 2 of 2)  
From:
Subject: keeping texture after CSG
Date: 10 Mar 2003 11:03:11
Message: <3e6cb73f@news.povray.org>
Hi POV-Ray-experts,

I have problems using cutaway_textures for a CSG difference operation. I
want to cut a blob of spheres (all slightly different colored) with a box.
The spheres are ordered on a 2D-plane and should be flattened on the side
where the box is located. So far so good.

My problem is, that cutaway_textures does not work when performing the
difference between the blob and the box. All the spheres turn completely
black. With cutaway_textures commented out just the flattened side is black.
When I use a simple set of spheres (_without_ a blob surrounding them)
everything is fine, except that I don't have to blob.

Any ideas why POV behaves like that?

Best regards,
Alex
_________________________________



Ale### [at] gmxde
http://www.it99.org/axl
+49 (0) 1 75/ 410 72 68
ICQ# 36765668
_________________________________


Post a reply to this message

From: Christopher James Huff
Subject: Re: keeping texture after CSG
Date: 10 Mar 2003 15:43:06
Message: <cjameshuff-FBCF3C.15431410032003@netplex.aussie.org>
In article <3e6cb73f@news.povray.org>,


> I have problems using cutaway_textures for a CSG difference operation. I
> want to cut a blob of spheres (all slightly different colored) with a box.

I suspect this is where your problem is. The texture code is full of 
little hacks, there are lots of little special-cases to deal with things 
like blob component textures and cutaway_textures. Probably something 
got missed in writing the cutaway_textures feature.

If you specify a texture for the blob itself, it will probably use that 
texture. The obvious flaw with this is that you only get one texture.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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