POV-Ray : Newsgroups : povray.advanced-users : UV mapping with bezier patches from sPatch Server Time
26 Dec 2024 13:49:58 EST (-0500)
  UV mapping with bezier patches from sPatch (Message 1 to 6 of 6)  
From: Juha Leppälä
Subject: UV mapping with bezier patches from sPatch
Date: 23 Oct 1999 16:12:03
Message: <38122523.29A88BBB@kolumbus.fi>
Is there a way to texture the model so that an image_map is mapped only
once to the whole model?
If I just add the uv_mapping to the union of beziers and give it a
pigment { image_map { gif "whatever.gif" } } the image gets mapped to
every patch. 
So is there a way ?



Post a reply to this message

From: Nathan Kopp
Subject: Re: UV mapping with bezier patches from sPatch
Date: 23 Oct 1999 18:43:59
Message: <38123a2f@news.povray.org>

> Is there a way to texture the model so that an image_map is mapped only
> once to the whole model?
> If I just add the uv_mapping to the union of beziers and give it a
> pigment { image_map { gif "whatever.gif" } } the image gets mapped to
> every patch.
> So is there a way ?
>


Yes and no.  Yes, there is a way.  No, it's not easy.

The reason is that sPatch is not aware of uv mapping in POV, and therefore
it does not export any UV coordinates.  So, UVPov (or the superpatch)
assumes that the UV coordinates of each patch are <0,0> on one corner and
<1,1> on the opposite corner.

You would currently have to go in by hand and add uv coordinates to each
patch.  Not fun.

Or, someone could write an exporter for sPatch (IIRC, there's a
sPatch->Moray exporter) which is UVPov-aware.

-Nathan


Post a reply to this message

From: Gilles Tran
Subject: Re: UV mapping with bezier patches from sPatch
Date: 25 Oct 1999 07:34:51
Message: <38144122.893C4091@inapg.inra.fr>
One solution is to export the object as DXF, convert it to OBJ (with
Crossroads) and then map the OBJ object with Steve Cox' UVMapper (it lets you
arrange the zones to map). Save the map and the object (with uv info) and
convert the OBJ object to POV (with Warren Mann's OBJ2POV or Cliff Bowman's
OBJUVPOV), or convert the OBJ to 3DS and then to POV (with Thomas Baier's
utilities). I suppose Uncle Ken has all the links to these utilities...

Gilles Tran

Nathan Kopp wrote:


> > Is there a way to texture the model so that an image_map is mapped only
> > once to the whole model?
> > If I just add the uv_mapping to the union of beziers and give it a
> > pigment { image_map { gif "whatever.gif" } } the image gets mapped to
> > every patch.
> > So is there a way ?
> >

>
> Yes and no.  Yes, there is a way.  No, it's not easy.
>
> The reason is that sPatch is not aware of uv mapping in POV, and therefore
> it does not export any UV coordinates.  So, UVPov (or the superpatch)
> assumes that the UV coordinates of each patch are <0,0> on one corner and
> <1,1> on the opposite corner.
>
> You would currently have to go in by hand and add uv coordinates to each
> patch.  Not fun.
>
> Or, someone could write an exporter for sPatch (IIRC, there's a
> sPatch->Moray exporter) which is UVPov-aware.
>
> -Nathan


Post a reply to this message

From: Ken
Subject: Re: UV mapping with bezier patches from sPatch
Date: 25 Oct 1999 08:41:35
Message: <38144F72.532543BA@pacbell.net>
Gilles Tran wrote:
> 
> One solution is to export the object as DXF, convert it to OBJ (with
> Crossroads)

http://www.europa.com/~keithr/crossroads/

> and then map the OBJ object with Steve Cox' UVMapper

???  http://www.carr.lib.md.us/~stevensl/

> (it lets you
> arrange the zones to map). Save the map and the object (with uv info) and
> convert the OBJ object to POV (with Warren Mann's OBJ2POV

?? http://home.HiWAAY.net/~ssloan/software/

> or Cliff Bowman's OBJUVPOV),

http://www.who3d.cwc.net/Models.html

> or convert the OBJ to 3DS and then to POV (with Thomas Baier's
> utilities).

http://www.stmuc.com/thbaier/

> I suppose Uncle Ken has all the links to these utilities...

Maybe not...


-- 
Ken Tyler -  1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Derek Zahn
Subject: Re: UV mapping with bezier patches from sPatch
Date: 25 Oct 1999 09:05:33
Message: <3814559d@news.povray.org>
> > and then map the OBJ object with Steve Cox' UVMapper
>
> ???  http://www.carr.lib.md.us/~stevensl/

I think he means:

http://home.pb.net/%7Estevecox/uvmapper.htm

derek


Post a reply to this message

From: Gilles Tran
Subject: Re: UV mapping with bezier patches from sPatch
Date: 25 Oct 1999 10:17:54
Message: <38146738.5B9F8030@inapg.inra.fr>
Ken wrote:

> > arrange the zones to map). Save the map and the object (with uv info) and
> > convert the OBJ object to POV (with Warren Mann's OBJ2POV
>
> ?? http://home.HiWAAY.net/~ssloan/software/

Nice answer (I'll have to try this one) but it's actually :
http://www.warmann.com/users/broken/utils/utils.html
Looks that there's no shortage of Poser-to-Pov utilities now.

G.


Post a reply to this message

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