POV-Ray : Newsgroups : povray.advanced-users : UVs and CSGs Server Time
23 Dec 2024 22:27:42 EST (-0500)
  UVs and CSGs (Message 1 to 6 of 6)  
From: Ben Paschke
Subject: UVs and CSGs
Date: 30 Oct 2000 20:40:22
Message: <39FE2420.2CE38703@rsp.com.au>
Hello good people,

I have had a problem with a uv mapped primative sphere in csgs.
I hope this qualifies as an "advanced" problem! (or is it an unofficial
patches issue?)
there is an image in .binaries.images with the same subject name
illustrating the issue.
the source is in .binaries.scene-files.

premise:
the scene contains a declared sphere object, with a uv mapped checker
pattern and a separate declared object for the axis, red denoting the x
axis, green y , and blue z .

the top sphere is the sphere, rotated and translated, with the axis
rotated and translated separately. Fine, this is what i want and expect,
except that they remain as two separate objects.
The second sphere is a simple union of the sphere and axis objects and
then transformed together as a whole. You will see that the transforms
haven't quite carried thru to the uv checkers.
if it helps or answers afew q's straight away, the origin is right
between the two spheres.

What gives?


tia,
benp

p.s. has anyone had a go at Vahur Krouverk's POVman 0.61 yet? -Its
ace!(see source)


Post a reply to this message

From: Nathan Kopp
Subject: Re: UVs and CSGs
Date: 31 Oct 2000 14:34:22
Message: <39ff1ebe@news.povray.org>
Looks like a bug.

-Nathan

"Ben Paschke" <ben### [at] rspcomau>...
> The second sphere is a simple union of the sphere and axis objects and
> then transformed together as a whole. You will see that the transforms
> haven't quite carried thru to the uv checkers.


Post a reply to this message

From: Ben Paschke
Subject: Re: UVs and CSGs
Date: 31 Oct 2000 19:37:48
Message: <39FF66F6.F33F9DB8@rsp.com.au>
So i guess the work around for the moment is to have uv mapped objects as
discreet scene objects..
That's ok.
thanks.

Nathan Kopp wrote:

> Looks like a bug.
>
> -Nathan


Post a reply to this message

From: Ben Paschke
Subject: Re: UVs and CSGs
Date: 31 Oct 2000 22:02:29
Message: <39FF88DD.5858F50B@rsp.com.au>
I actually just tested it with a mesh object with uv coords and it works fine
in a union, so i guess the problem only exists for the primative objects
(well, the sphere at least..)

Ben Paschke wrote:

> So i guess the work around for the moment is to have uv mapped objects as
> discreet scene objects..
> That's ok.
> thanks.


Post a reply to this message

From: Nathan Kopp
Subject: Re: UVs and CSGs
Date: 1 Nov 2000 20:57:56
Message: <3a00ca24@news.povray.org>
"Ben Paschke" <ben### [at] rspcomau> wrote...
> I actually just tested it with a mesh object with uv coords and it works
fine
> in a union, so i guess the problem only exists for the primative objects
> (well, the sphere at least..)

It should only affect the sphere and box.  Some weird stuff goes on when you
transform those objects, and the special cases weren't being handled quite
correctly.  There's also another bug with spheres, where if you apply some
standard transforms (translate, rotate, scale), then either a declared
transform or a matrix transform, and then apply another standard transform,
the UV mapping will get messed up.  I've fixed this now for POV 3.5.

-Nathan


Post a reply to this message

From: Pete
Subject: Re: UVs and CSGs
Date: 1 Nov 2000 21:23:03
Message: <293.340T241T11303070PeterC@nym.alias.net>
You can actually get the same pattern by careful use of
the radial and wood patterns.  I did this to mkae a boing-ball
a while back.  if you'de like, I could dig up the code and post
it.  It is standard povray 3.1 so there should be no problem
getting it to work on your system.

Pete


Post a reply to this message

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