POV-Ray : Newsgroups : povray.tools.poser : Problem setting texture for clothes Server Time: 26 Jan 2020 13:00:46 GMT
  Problem setting texture for clothes (Message 1 to 4 of 4)  
From: Jeremy M  Praay
Subject: Problem setting texture for clothes
Date: 17 Apr 2004 00:19:38
Message: <4080781a@news.povray.org>
I seem to really be stuck this time...

All I want to do is assign a texture (any texture at all) to my home-made
dress, recently displayed in p.b.i.  I can change the color just fine, but
any time that I try to assign any texture to it, no matter how I scale the
texture, all I get is one solid color.  This is even the case for
image-maps; it just picks a color from some part of it and displays it.

My first thought was that it was a scaling problem in the pigment/texture,
but I've tried ridiculously low values for scale, and while I do get more
interesting results with scale 0.0000000001, it still doesn't solve the
problem.

FYI: I exported from Poser using PoseRay, and assigned all of the poser
materials.  But then when I try to modify the first material listed in the
texture_list (which corresponds to the dress) in the _pov_mat.inc file, it
never seems to work, other than to change the color.

I feel like I must be missing something fundamental.  :-/

-- 
Jeremy
www.beantoad.com


Post a reply to this message

From: Gilles Tran
Subject: Re: Problem setting texture for clothes
Date: 17 Apr 2004 01:09:41
Message: <408083d5$1@news.povray.org>
"Jeremy M. Praay" <sla### [at] hotmailcom> a écrit dans le message de
news:4080781a@news.povray.org...

> All I want to do is assign a texture (any texture at all) to my home-made
> dress, recently displayed in p.b.i.  I can change the color just fine, but
> any time that I try to assign any texture to it, no matter how I scale the
> texture, all I get is one solid color.  This is even the case for
> image-maps; it just picks a color from some part of it and displays it.
>

Hey, I answered exactly the same question a few hours ago in the French
POV-Ray group... Looks that there's an epidemic :)

What happens is that your model doesn't have uvmapping data. It wouldn't be
a problem, but the converter still puts the uv_mapping keyword in the file,
perhaps with bogus uv coordinates.  I don't know about Poseray, but that is
what 3DWin does and it gave me some headaches before I figured it out.
What you need is either to create true uvmapping info (with uvmapper for
instance), or just remove the uv_mapping keyword at the end of the object
include file. You'll need to do that every time you regenerate the file of
course...

G.


-- 
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

From: Jeremy M  Praay
Subject: Re: Problem setting texture for clothes
Date: 18 Apr 2004 02:00:50
Message: <4081e152$1@news.povray.org>
Thanks for the answer.  I'm not sure what we'd do without you in this
newsgroup.  :-)  I tried UVMapper Classic, and it did the trick.  That's one
more program I'm going to have to teach myself.  But in the process, I've
learned a ton.  But some day, I'd like to stop learning so much, and
actually "do" something. hehe

So, now I have to create the dress in hamapatch, export it to OBJ, import it
into Wings3D (which fixes problems where some patches become "reversed"),
export from Wings3D to OBJ (again), import onto UVMapper (Classic in my
case), make an image map, export to OBJ (again), import into Poser, change
the Material to use my image map, run the cloth sim (and anything else I
want to do) export to OBJ (again), import into PoseRay (including finding
the materials), export to POV-Ray, then finally render or include in a
scene.

The strangest thing is that I'm somehow enjoying this.  But then I think it
would also be neat to grow my own corn to make my own tortillas.  There's
just something fun about knowing how it all works, or at least how to make
it all work, as the case may be.

-- 
Jeremy
www.beantoad.com
"Gilles Tran" <gitran_nospam_@wanadoo.fr> wrote in message
news:408083d5$1@news.povray.org...
>
> Hey, I answered exactly the same question a few hours ago in the French
> POV-Ray group... Looks that there's an epidemic :)
>
> What happens is that your model doesn't have uvmapping data. It wouldn't
be
> a problem, but the converter still puts the uv_mapping keyword in the
file,
> perhaps with bogus uv coordinates.  I don't know about Poseray, but that
is
> what 3DWin does and it gave me some headaches before I figured it out.
> What you need is either to create true uvmapping info (with uvmapper for
> instance), or just remove the uv_mapping keyword at the end of the object
> include file. You'll need to do that every time you regenerate the file of
> course...
>
> G.
>
>
> -- 
> **********************
> http://www.oyonale.com
> **********************
> - Graphic experiments
> - POV-Ray and Poser computer images
> - Posters
>
>
>
>


Post a reply to this message

From: John D  Gwinner
Subject: Re: Problem setting texture for clothes
Date: 18 Apr 2004 15:36:58
Message: <4082a09a$1@news.povray.org>
Holy cow, that's quite a series of steps.  It all makes sense though.

> The strangest thing is that I'm somehow enjoying this.  But then I think
it
> would also be neat to grow my own corn to make my own tortillas.

I've been following this, as I'm having a terrible time finding props for a
story I'm working on.  It was originally going to be for the "Classic
Sci-Fi" in the IRTC but I missed the deadline, so now I'm calming down and
doing it *right*.

In my case, I'm also using Moray to pose the scene, so I typically import
frame 1 and frame 'last' as UDO's to preview the scene and get the camera's
right.  I'm trying to figure out a better/faster way to do that.

        == John ==


"Jeremy M. Praay" <sla### [at] hotmailcom> wrote in message
news:4081e152$1@news.povray.org...
> Thanks for the answer.  I'm not sure what we'd do without you in this
> newsgroup.  :-)  I tried UVMapper Classic, and it did the trick.  That's
one
> more program I'm going to have to teach myself.  But in the process, I've
> learned a ton.  But some day, I'd like to stop learning so much, and
> actually "do" something. hehe
>
> So, now I have to create the dress in hamapatch, export it to OBJ, import
it
> into Wings3D (which fixes problems where some patches become "reversed"),
> export from Wings3D to OBJ (again), import onto UVMapper (Classic in my
> case), make an image map, export to OBJ (again), import into Poser, change
> the Material to use my image map, run the cloth sim (and anything else I
> want to do) export to OBJ (again), import into PoseRay (including finding
> the materials), export to POV-Ray, then finally render or include in a
> scene.
>
> The strangest thing is that I'm somehow enjoying this.  But then I think
it
> would also be neat to grow my own corn to make my own tortillas.  There's
> just something fun about knowing how it all works, or at least how to make
> it all work, as the case may be.


Post a reply to this message

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