POV-Ray : Newsgroups : povray.bugreports : mesh camera ouput uv-mapping has a seam when I using the texture Server Time
23 Feb 2025 18:49:00 EST (-0500)
  mesh camera ouput uv-mapping has a seam when I using the texture (Message 1 to 8 of 8)  
From: And
Subject: mesh camera ouput uv-mapping has a seam when I using the texture
Date: 14 Feb 2025 04:20:00
Message: <web.67af097c66a09a04a994e21aa81652d@news.povray.org>
Maybe I have post this issue several years ago.
When I use mesh_camera to output a uv-map texture(for other 3D software), I
found that the rendered area is not enough, it should extend the render area.
Has these problem been solved?

attachment is POV-Ray's output.


Post a reply to this message


Attachments:
Download 'bake solid wood.png' (1759 KB)

Preview of image 'bake solid wood.png'
bake solid wood.png


 

From: And
Subject: Re: mesh camera ouput uv-mapping has a seam when I using the texture
Date: 14 Feb 2025 05:35:00
Message: <web.67af1bbb2273a31e4a994e21aa81652d@news.povray.org>
"And" <49341109@ntnu.edu.tw> wrote:
> Maybe I have post this issue several years ago.
> When I use mesh_camera to output a uv-map texture(for other 3D software), I
> found that the rendered area is not enough, it should extend the render area.
> Has these problem been solved?
>
> attachment is POV-Ray's output.

When it applied to model:


Post a reply to this message


Attachments:
Download 'test1 1024.png' (1063 KB)

Preview of image 'test1 1024.png'
test1 1024.png


 

From: Bald Eagle
Subject: Re: mesh camera ouput uv-mapping has a seam when I using the texture
Date: 14 Feb 2025 09:05:00
Message: <web.67af4d6f2273a31ea911b6e125979125@news.povray.org>
"And" <49341109@ntnu.edu.tw> wrote:
> Maybe I have post this issue several years ago.
> When I use mesh_camera to output a uv-map texture(for other 3D software), I
> found that the rendered area is not enough, it should extend the render area.
> Has these problem been solved?
>
> attachment is POV-Ray's output.

We're going to need WAY more information to figure that one out.

What model are you using?
What is the POV-Ray scene and mesh camera setup you're using to generate your uv
map?
What uv vectors are being used to wrap the generated image for uv-mapping?

1. That's a pretty complex work flow, where SO many things can go wrong, if only
because of floting point precision, etc.

2. I'm sure people here would love to learn how to use this method for their own
work - thus ensuring that all of the tools needed to make this work get the
attention and fixing that they need!

- BW


Post a reply to this message

From: MichaelJF
Subject: Re: mesh camera ouput uv-mapping has a seam when I using the texture
Date: 14 Feb 2025 10:06:25
Message: <67af5bf1$1@news.povray.org>
Am 14.02.2025 um 11:32 schrieb And:
> "And" <49341109@ntnu.edu.tw> wrote:
>> Maybe I have post this issue several years ago.
>> When I use mesh_camera to output a uv-map texture(for other 3D software), I
>> found that the rendered area is not enough, it should extend the render area.
>> Has these problem been solved?
>>
>> attachment is POV-Ray's output.
> 
> When it applied to model:

Jaime Vives Piqueres has written a work-around several years ago. 
Fortunately, he has restored this part of his website:

http://ignorancia.org/index.php?page=mesh-camera

Best regards
Michael


Post a reply to this message

From: And
Subject: Re: mesh camera ouput uv-mapping has a seam when I using the texture
Date: 16 Feb 2025 04:15:00
Message: <web.67b1ab9a2273a31e4a994e21aa81652d@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
> > Maybe I have post this issue several years ago.
> > When I use mesh_camera to output a uv-map texture(for other 3D software), I
> > found that the rendered area is not enough, it should extend the render area.
> > Has these problem been solved?
> >
> > attachment is POV-Ray's output.
>
> We're going to need WAY more information to figure that one out.
>
> What model are you using?
> What is the POV-Ray scene and mesh camera setup you're using to generate your uv
> map?
> What uv vectors are being used to wrap the generated image for uv-mapping?
>
> 1. That's a pretty complex work flow, where SO many things can go wrong, if only
> because of floting point precision, etc.
>
> 2. I'm sure people here would love to learn how to use this method for their own
> work - thus ensuring that all of the tools needed to make this work get the
> attention and fixing that they need!
>
> - BW

Every model it has this issue.

mesh_camera {
    ...

    distribution_type 3
    ...
}


Because its color only covers the area of the model.


I show you a uv-mapping texture generated by Blender 3D:
Its color covers not only the area of the model, it generate a margin area, too.
It can control margin size (for this example I set 16 px), type("extend" or
using "adjacent faces")


Post a reply to this message


Attachments:
Download 'block color.png' (469 KB)

Preview of image 'block color.png'
block color.png


 

From: And
Subject: Re: mesh camera ouput uv-mapping has a seam when I using the texture
Date: 16 Feb 2025 04:15:00
Message: <web.67b1ac8b2273a31e4a994e21aa81652d@news.povray.org>
MichaelJF <fri### [at] t-onlinede> wrote:
> Am 14.02.2025 um 11:32 schrieb And:
> > "And" <49341109@ntnu.edu.tw> wrote:
> >> Maybe I have post this issue several years ago.
> >> When I use mesh_camera to output a uv-map texture(for other 3D software), I
> >> found that the rendered area is not enough, it should extend the render area.
> >> Has these problem been solved?
> >>
> >> attachment is POV-Ray's output.
> >
> > When it applied to model:
>
> Jaime Vives Piqueres has written a work-around several years ago.
> Fortunately, he has restored this part of his website:
>
> http://ignorancia.org/index.php?page=mesh-camera
>
> Best regards
> Michael

Well, he(or she @@) has already pointed out the problem.


Post a reply to this message

From: MichaelJF
Subject: Re: mesh camera ouput uv-mapping has a seam when I using the texture
Date: 16 Feb 2025 14:54:34
Message: <67b2427a$1@news.povray.org>
Am 16.02.2025 um 10:14 schrieb And:
> MichaelJF <fri### [at] t-onlinede> wrote:
>> Am 14.02.2025 um 11:32 schrieb And:
>>> "And" <49341109@ntnu.edu.tw> wrote:
>>>> Maybe I have post this issue several years ago.
>>>> When I use mesh_camera to output a uv-map texture(for other 3D software), I
>>>> found that the rendered area is not enough, it should extend the render area.
>>>> Has these problem been solved?
>>>>
>>>> attachment is POV-Ray's output.
>>>
>>> When it applied to model:
>>
>> Jaime Vives Piqueres has written a work-around several years ago.
>> Fortunately, he has restored this part of his website:
>>
>> http://ignorancia.org/index.php?page=mesh-camera
>>
>> Best regards
>> Michael
> 
> Well, he(or she @@) has already pointed out the problem.
> 
I admit, his (Jaime is a Spanish variant of the name James) repair_seams 
approach of smearing the textures is lossy and cannot always be used. 
But it helps with his statuettes. I myself have only used it for such 
purposes. But, if Blender helps, why not use it?

Best regards
Michael


Post a reply to this message

From: And
Subject: Re: mesh camera ouput uv-mapping has a seam when I using the texture
Date: 17 Feb 2025 04:20:00
Message: <web.67b2ff162273a31e4a994e21aa81652d@news.povray.org>
MichaelJF <fri### [at] t-onlinede> wrote:
> Am 16.02.2025 um 10:14 schrieb And:
> > MichaelJF <fri### [at] t-onlinede> wrote:
> >>
> >> Jaime Vives Piqueres has written a work-around several years ago.
> >> Fortunately, he has restored this part of his website:
> >>
> >> http://ignorancia.org/index.php?page=mesh-camera
> >>
> >> Best regards
> >> Michael
> >
> > Well, he(or she @@) has already pointed out the problem.
> >
> I admit, his (Jaime is a Spanish variant of the name James) repair_seams
> approach of smearing the textures is lossy and cannot always be used.
> But it helps with his statuettes. I myself have only used it for such
> purposes. But, if Blender helps, why not use it?
>
> Best regards
> Michael

Thank you.
Well, I have used Blender, I just ask the same situation here.
(I don't actually use 3D for any official purpose.)


Post a reply to this message

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