POV-Ray : Newsgroups : povray.newusers : UV mapping with rhino exported scene - 3.5 Server Time
5 Sep 2024 04:14:04 EDT (-0400)
  UV mapping with rhino exported scene - 3.5 (Message 1 to 7 of 7)  
From: Renato Oliveira
Subject: UV mapping with rhino exported scene - 3.5
Date: 10 Sep 2001 16:02:36
Message: <3b9d1c5c@news.povray.org>
I exported a scene with a very special  shape and all the usual map_types
didn't apply the way I wanted. Also, I heard of the UV mapping with POV 3.5
and read the documentation for see what could I do, but all I get was a
black rendered image.
How the UV mapping has to be used on mesh files such as rhino exported ones?
The only thing  tried so far is:

uv_mapping pigment { image_map { ... }  }

and didn't worked.

Thanks in advance
Renato Oliveira


Post a reply to this message

From: Warp
Subject: Re: UV mapping with rhino exported scene - 3.5
Date: 10 Sep 2001 19:22:13
Message: <3b9d4b25@news.povray.org>
Renato Oliveira <war### [at] bolcombr> wrote:
: How the UV mapping has to be used on mesh files such as rhino exported ones?

  The program has to support writing the uv-coordinates from the original
model to the POV-Ray file. There's no way in earth that you could magically
make povray generate the uv-coordinates with a single keyword.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Renato Oliveira
Subject: Re: UV mapping with rhino exported scene - 3.5
Date: 11 Sep 2001 00:18:30
Message: <3b9d9096@news.povray.org>

mensagem:3b9d4b25@news.povray.org...
> The program has to support writing the uv-coordinates from the original
> model to the POV-Ray file. There's no way in earth that you could
magically
> make povray generate the uv-coordinates with a single keyword.

And there is no way to use the mesh information that I already have to
specify the uv mapping?


Post a reply to this message

From: Warp
Subject: Re: UV mapping with rhino exported scene - 3.5
Date: 11 Sep 2001 03:21:28
Message: <3b9dbb77@news.povray.org>
Renato Oliveira <war### [at] bolcombr> wrote:
: And there is no way to use the mesh information that I already have to
: specify the uv mapping?

  How would you map triangle vertices to texture coordinates?
  POV-Ray can't know this. It has to be told. For each vertex you have to say
which texture coordinates to use.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Anoop
Subject: Re: UV mapping with rhino exported scene - 3.5
Date: 12 Sep 2001 06:09:40
Message: <3b9f3464@news.povray.org>
Warp wrote in message <3b9dbb77@news.povray.org>...
>Renato Oliveira <war### [at] bolcombr> wrote:
>: And there is no way to use the mesh information that I already have
to
>: specify the uv mapping?
>
>  How would you map triangle vertices to texture coordinates?
>  POV-Ray can't know this. It has to be told. For each vertex you
have to say
>which texture coordinates to use.

True, unfortunately. But (depending on what you want and whether
you're willing to go through extra programs) you can try this (should
work partially):
    1. Re-export your mesh in one of the common formats (3ds/obj etc)
preferrably obj.
    2. Use uvmapper  (www.uvmapper .com - also has tutorial on how to
use it ) or lithiumunwrap (http://www.geocities.com/lithunwrap/) to
'paint' your required texture/image.
    3. Convert to pov using objuvpov

Depending on what exactly it is you want to do, there may be other
'solutions'

Hope this helps (and isn't too tedious :))'
-Anoop


Post a reply to this message

From: Renato Oliveira
Subject: Re: UV mapping with rhino exported scene - 3.5
Date: 12 Sep 2001 23:12:14
Message: <3ba0240e@news.povray.org>

mensagem:3b9f3464@news.povray.org...
> True, unfortunately. But (depending on what you want and whether
> you're willing to go through extra programs) you can try this (should
> work partially):
>     1. Re-export your mesh in one of the common formats (3ds/obj etc)
> preferrably obj.
>     2. Use uvmapper  (www.uvmapper .com - also has tutorial on how to
> use it ) or lithiumunwrap (http://www.geocities.com/lithunwrap/) to
> 'paint' your required texture/image.
>     3. Convert to pov using objuvpov
>
> Depending on what exactly it is you want to do, there may be other
> 'solutions'
>
> Hope this helps (and isn't too tedious :))'
> -Anoop

I think will work because the object isn't that detailed, it's just
different from the usual primitives : )
Thank you all, I'll try it.

Renato


Post a reply to this message

From: Renato Oliveira
Subject: Re: UV mapping with rhino exported scene - 3.5
Date: 12 Sep 2001 23:16:11
Message: <3ba024fb@news.povray.org>
Oh, and one more thing, I apologize for the crazy dates/times that my posts
show, I have to change the battery : )

Renato Oliveira


Post a reply to this message

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