POV-Ray : Newsgroups : povray.binaries.images : NURBS Server Time
17 May 2024 19:16:51 EDT (-0400)
  NURBS (Message 21 to 30 of 55)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: LanuHum
Subject: Re: NURBS
Date: 24 Jul 2016 15:45:01
Message: <web.57951a946d1ce2047a3e03fe0@news.povray.org>
When can I test?


Post a reply to this message

From: Le Forgeron
Subject: Re: NURBS
Date: 25 Jul 2016 06:50:08
Message: <5795eee0$1@news.povray.org>
Le 24/07/2016 21:44, LanuHum a écrit :
> 
> When can I test?
> 

Now also available in hg-povray.


Post a reply to this message

From: Nekar Xenos
Subject: Re: NURBS
Date: 26 Jul 2016 13:06:27
Message: <57979893$1@news.povray.org>
Yay, NURBS!

Yippee!

=D

-- 
________________________________________

-Nekar Xenos-


Post a reply to this message

From: LanuHum
Subject: Re: NURBS
Date: 29 Jul 2016 11:15:01
Message: <web.579b72a26d1ce2047a3e03fe0@news.povray.org>
Does not work. Empty image. :(

#version 3.7;

#include "functions.inc"
global_settings {
    assumed_gamma 1.000000
    max_trace_level 3
    charset utf8
}
sky_sphere {
    pigment {rgb<0.051, 0.051, 0.051>}
}

#declare Default_texture = texture{pigment {rgb 0.8}}

#declare data_SurfPatch_ob =
nurbs {7,4 accuracy 0.01
 <-1.5000,-5.4790,0.0000> <-1.5000,-4.3181,2.0249> <-1.5000,-2.8825,0.0000>
<-1.5000,-1.5000,0.0000> <-1.5000,-0.5000,0.0000>
 <-1.5000,0.5000,0.0000> <-1.5000,1.5000,0.0000> <-0.5000,-5.4790,0.0000>
<-0.5000,-4.3181,0.0000>
 <-0.5000,-2.8825,1.7624> <-0.5000,-1.5000,0.0000> <-0.5000,-0.5000,1.0000>
<-0.5000,0.5000,1.0000>
 <-0.5000,1.5000,0.0000> <0.5000,-5.4790,0.0000> <0.5000,-4.3181,0.0000>
<0.5000,-2.8825,0.0000>
 <0.5000,-1.5000,1.1552> <0.5000,-0.5000,1.0000> <0.5000,0.5000,1.0000>
<0.5000,1.5000,0.0000>
 <1.5000,-5.4790,1.9780> <1.5000,-4.3181,0.0000> <1.5000,-2.8825,0.0000>
<1.5000,-1.5000,0.0000>
 <1.5000,-0.5000,0.0000> <1.5000,0.5000,0.0000> <1.5000,1.5000,0.0000>
texture{Default_texture}
}
object {data_SurfPatch_ob
    matrix <1.000000, 0.000000, 0.000000,  0.000000, -0.000000, -1.000000,
0.000000, 1.000000, -0.000000,  0.000000, -0.000000, -3.620508>
}

light_source {
    <4.08,5.9,-1.01>
    color rgb<1, 1, 1>
    fade_distance 29.9999828339
    fade_power 1
}
camera {
    perspective
    location  <0,0,0>
    look_at  <0,0,-1>
    right <-1.7777777777777777, 0, 0>
    up <0, 1, 0>
    angle  49.134343
    rotate  <-26.440706, 46.691945, -0.000003>
    translate <7.481132, 5.343666, 6.507640>
}


Post a reply to this message

From: LanuHum
Subject: Re: NURBS
Date: 29 Jul 2016 12:05:00
Message: <web.579b7df96d1ce2047a3e03fe0@news.povray.org>
"LanuHum" <Lan### [at] yandexru> wrote:
> Does not work. Empty image. :(

Sorry!I do not put a fourth option 'W'!
It works, but the model is different from the render result.


Post a reply to this message


Attachments:
Download 'nurbs.jpg' (131 KB)

Preview of image 'nurbs.jpg'
nurbs.jpg


 

From: LanuHum
Subject: Re: NURBS
Date: 29 Jul 2016 12:15:01
Message: <web.579b801c6d1ce2047a3e03fe0@news.povray.org>
"LanuHum" <Lan### [at] yandexru> wrote:
> "LanuHum" <Lan### [at] yandexru> wrote:
> > Does not work. Empty image. :(
>
> Sorry!I do not put a fourth option 'W'!
> It works, but the model is different from the render result.

Compare renderings:


Post a reply to this message


Attachments:
Download 'nurbs_diff.jpg' (99 KB)

Preview of image 'nurbs_diff.jpg'
nurbs_diff.jpg


 

From: Le Forgeron
Subject: Re: NURBS
Date: 29 Jul 2016 12:22:22
Message: <579b82be$1@news.povray.org>
Le 29/07/2016 à 18:11, LanuHum a écrit :
> "LanuHum" <Lan### [at] yandexru> wrote:
>> "LanuHum" <Lan### [at] yandexru> wrote:
>>> Does not work. Empty image. :(
>>
>> Sorry!I do not put a fourth option 'W'!
>> It works, but the model is different from the render result.
> 
> Compare renderings:
> 
> 

Can you provide the set of control points ?


Post a reply to this message

From: LanuHum
Subject: Re: NURBS
Date: 29 Jul 2016 12:40:00
Message: <web.579b86376d1ce2047a3e03fe0@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:

> Can you provide the set of control points ?

Yes!
#version 3.7;

#include "functions.inc"
global_settings {
    assumed_gamma 1.000000
    max_trace_level 3
    charset utf8
}
sky_sphere {
    pigment {rgb<0.051, 0.051, 0.051>}
}

#declare Default_texture = texture{pigment {rgb 0.8}}

#declare Material = texture{
    pigment{color srgbft <0.8000,0.0946,0.0441,0.0000,0.0000>}
    finish{
        diffuse 0.8000
        brilliance 1.8000
          }
}
#declare data_SurfPatch_ob =
nurbs {7,7 accuracy 0.01
 <-4.1894,-5.4790,0.0000,1.0000> <-4.1894,-4.3181,2.0249,1.0000>
<-4.1894,-2.8825,0.0000,1.0000> <-4.1894,-1.5000,0.0000,1.0000>
<-4.1894,-0.5000,0.0000,1.0000> <-4.1894,0.5000,0.0000,1.0000>
<-4.1894,1.5000,0.0000,1.0000> <-2.6808,-4.8585,0.6794,1.0000>
 <-2.6808,-4.3181,2.0249,1.0000> <-2.6808,-2.8825,0.0000,1.0000>
<-2.6808,-1.5000,3.2519,1.0000> <-2.6808,-0.5000,0.0000,1.0000>
<-2.6808,0.5000,0.0000,1.0000> <-2.6808,1.5000,3.2103,1.0000>
<-1.5000,-5.4790,0.0000,1.0000>
 <-1.5000,-4.3181,2.0249,1.0000> <-1.5000,-2.8825,0.0000,1.0000>
<-1.5000,-1.5000,0.0000,1.0000> <-1.5000,-0.5000,1.2319,1.0000>
<-1.5000,0.5000,0.0000,1.0000> <-1.5000,1.5000,0.0000,1.0000>
<-0.5000,-5.4790,0.0000,1.0000>
 <-0.5000,-4.3181,0.0000,1.0000> <-0.5000,-2.8825,1.7624,1.0000>
<-0.5000,-1.5000,0.0000,1.0000> <-0.5000,-0.5000,1.0000,1.0000>
<-0.5000,0.5000,1.0000,1.0000> <-0.5000,1.5000,0.0000,1.0000>
<0.5000,-5.4790,0.0000,1.0000>
 <0.5000,-4.3181,0.0000,1.0000> <0.5000,-2.8825,0.0000,1.0000>
<0.5000,-1.5000,1.1552,1.0000> <0.5000,-0.5000,1.0000,1.0000>
<0.5000,0.5000,1.0000,1.0000> <0.5000,1.5000,0.0000,1.0000>
<1.5000,-5.4790,1.9780,1.0000>
 <1.5000,-4.3181,0.0000,1.0000> <1.5000,-2.8825,1.7335,1.0000>
<1.5000,-1.5000,0.0000,1.0000> <1.5000,-0.5000,0.0000,1.0000>
<1.5000,0.5000,0.0000,1.0000> <1.5000,1.5000,1.5217,1.0000>
<2.9668,-5.4790,-0.2469,1.0000>
 <2.9668,-4.3181,0.0000,1.0000> <2.9668,-2.8825,0.0000,1.0000>
<2.9668,-1.5000,0.0000,1.0000> <2.9668,-0.5000,-2.9599,1.0000>
<2.9668,0.5000,0.0000,1.0000> <2.9668,1.5000,0.0000,1.0000>
texture{Material}
}
object {data_SurfPatch_ob
    matrix <1.000000, 0.000000, 0.000000,  0.000000, -0.000000, -1.000000,
0.000000, 1.000000, -0.000000,  0.000000, -0.000000, -3.620508>
}

light_source {
    <4.08,5.9,-1.01>
    color rgb<1, 1, 1>
    fade_distance 29.9999828339
    fade_power 1
}
camera {
    perspective
    location  <0,0,0>
    look_at  <0,0,-1>
    right <-1.7777777777777777, 0, 0>
    up <0, 1, 0>
    angle  49.134343
    rotate  <-26.440706, 46.691945, -0.000003>
    translate <7.481132, 5.343666, 6.507640>
}

But, I have found the cause elsewhere.
Blender has a nurbs option warrant.
Increasing the value closer look, but the maximum value of 6 does not give an
exact match. 7 or 8 is required, but the maximum value of 6. :(


Post a reply to this message


Attachments:
Download 'nurbs_order.jpg' (36 KB)

Preview of image 'nurbs_order.jpg'
nurbs_order.jpg


 

From: Le Forgeron
Subject: Re: NURBS
Date: 29 Jul 2016 12:53:40
Message: <579b8a14$1@news.povray.org>
Le 29/07/2016 à 18:37, LanuHum a écrit :
> But, I have found the cause elsewhere.
> Blender has a nurbs option warrant.
> Increasing the value closer look, but the maximum value of 6 does not give an
> exact match. 7 or 8 is required, but the maximum value of 6. :(
> 

Ok, so all is fine, and no need to investigate, right ?


Post a reply to this message

From: LanuHum
Subject: Re: NURBS
Date: 29 Jul 2016 14:05:00
Message: <web.579b99fd6d1ce2047a3e03fe0@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> Le 29/07/2016 à 18:37, LanuHum a écrit :
> > But, I have found the cause elsewhere.
> > Blender has a nurbs option warrant.
> > Increasing the value closer look, but the maximum value of 6 does not give an
> > exact match. 7 or 8 is required, but the maximum value of 6. :(
> >
>
> Ok, so all is fine, and no need to investigate, right ?

Your wish. But your nurbs difficult terrain models. Blender nurbs - good terrain
model. Your model also need a order_u and order_v. :)
I added nurbs export code to Povray-HG. Mr can move it to the official version
of the exporter, if it becomes available in the Povray-3.7.1.


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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