POV-Ray : Newsgroups : povray.general : Syntax of smooth_triangle seams not to work... Server Time
25 Nov 2024 01:23:10 EST (-0500)
  Syntax of smooth_triangle seams not to work... (Message 1 to 3 of 3)  
From: hkarsten
Subject: Syntax of smooth_triangle seams not to work...
Date: 19 Jun 2016 01:35:00
Message: <web.57662e65a1cfdd0e404b32b90@news.povray.org>
High Pepole,

regarding to this peace of information, I took from the PovRay-help-file (V 3.6)

    smooth_triangle
    {
        <Corner_1>, <Normal_1>,
        <Corner_2>, <Normal_2>,
        <Corner_3>, <Normal_3>
        [uv_vectors <uv_Corner_1>, <uv_Corner_2>, <uv_Corner_3>]
        [MESH_TEXTURE]
    }

This one is stil not working

smooth_triangle {
<-30.4558277130127,-13.75824356079102,21.75586128234863>,<-2.657541731571371e-15,-1,-3.348013327079263e-13>,
<-30.4558277130127,-13.58250713348389,22.18012619018555>,<-1.194452997339661e-14,-0.7071067690849304,0.7071067690849304
>,
<-32.48406982421875,-13.75824356079102,22.13606834411621>,<-3.302611873215455e-12,-1,-8.589550078152985e-12>
uv_vectors
<0.7838292717933655,0.3721146881580353>,
<0.7838292717933655,0.3734604716300964>,
<0.7806574702262878,0.3721146881580353>
}

This one is not working either

smooth_triangle {
<-30.4558277130127,-13.75824356...
<-30.4558277130127,-13.58250713...
<-32.48406982421875,-13.7582435...
,
<0.7838292717933655,0.372114688...
<0.7838292717933655,0.373460471...
<0.7806574702262878,0.372114688...
}

same as this

smooth_triangle {
<-30.4558277130127,-13.75824356...
<-30.4558277130127,-13.58250713...
<-32.48406982421875,-13.7582435...
,uv_vectors
<0.7838292717933655,0.372114688...
<0.7838292717933655,0.373460471...
<0.7806574702262878,0.372114688...
}

or this

smooth_triangle {
<-30.4558277130127,-13.75824356...
<-30.4558277130127,-13.58250713...
<-32.48406982421875,-13.7582435...

<0.7838292717933655,0.372114688...
<0.7838292717933655,0.373460471...
<0.7806574702262878,0.372114688...
}

Does anybody know, how to use uv in smooth_triangle?

Thanx a lot,
H.


Post a reply to this message

From: clipka
Subject: Re: Syntax of smooth_triangle seams not to work...
Date: 19 Jun 2016 02:14:43
Message: <57663853$1@news.povray.org>
Am 19.06.2016 um 07:32 schrieb hkarsten:

> regarding to this peace of information, I took from the PovRay-help-file (V 3.6)
> 
>     smooth_triangle
>     {
>         <Corner_1>, <Normal_1>,
>         <Corner_2>, <Normal_2>,
>         <Corner_3>, <Normal_3>
>         [uv_vectors <uv_Corner_1>, <uv_Corner_2>, <uv_Corner_3>]
>         [MESH_TEXTURE]
>     }
> 
> This one is stil not working

The piece of information above is from the documentation of the `mesh`
primitive, /not/ the stand-alone `smooth_thriangle` primitive.

> Does anybody know, how to use uv in smooth_triangle?

Technically speaking you can't; `smooth_triangle` does not support UV
mapping.

Practically speaking, all you need to do is wrap the `smooth_triangle`
in a `mesh` block.


Post a reply to this message

From: hkarsten
Subject: Re: Syntax of smooth_triangle seams not to work...
Date: 19 Jun 2016 18:10:01
Message: <web.576717ac7ba01394404b32b90@news.povray.org>
> Practically speaking, all you need to do is wrap the `smooth_triangle`
> in a `mesh` block.

Cool! Worked!

Thanx alot!
H


Post a reply to this message

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