POV-Ray : Newsgroups : povray.general : Student project Server Time
28 Nov 2024 05:50:42 EST (-0500)
  Student project (Message 1 to 5 of 5)  
From: aguamala
Subject: Student project
Date: 9 Jun 2007 15:25:01
Message: <web.466afe043f30d8b441e91ba50@news.povray.org>
Hello!

I've some student project and i don't know  how to start...
I've head model in Rhino and i would like to export it to some txt file
(igs?), and change some points in Java. I will get list of NURBS, which i
must render in Povray. Can anybody help me?


Post a reply to this message

From: Tim Attwood
Subject: Re: Student project
Date: 10 Jun 2007 00:03:10
Message: <466b77fe$1@news.povray.org>
> I've some student project and i don't know  how to start...
> I've head model in Rhino and i would like to export it to some txt file
> (igs?), and change some points in Java. I will get list of NURBS, which i
> must render in Povray. Can anybody help me?

In general POV works with triangle meshes instead of NURBS...
Probably the easiest way to get your image would be to
open it in Rhino, create a mesh from your NURBS surface, then
export the mesh as OBJ format, then convert that to POV
files with PoseRay.

Rhino Tutorial --  
http://mediaservers.vtc.com/player/movieplayer.php?cipher=0d|0o87||||3h49339||3n9sr|5i37b&size=Large&movieName=Meshes

PoseRay -- http://mysite.verizon.net/sfg0000/

If you must have full NURBS from inside POV you may need
to use Bezier patches, but you might need to do lots of hand
coding, conversion, math, and the renders would be slower.

(POV manual) 3.4.2.1  Bicubic Patch

J.W. Stolk's NURBS macros --  
http://news.povray.org/povray.text.scene-files/attachment/%3Cweb.43f88f0c20eff568a8399d8d0@news.povray.org%3E/nurbs.pov.txt


Post a reply to this message

From: aguamala
Subject: Re: Student project
Date: 10 Jun 2007 11:45:01
Message: <web.466c1b4e7c565fb9d689bab0@news.povray.org>
Thanks for your answer :-)
Finally I get list of points from rhino... but it is a NURBS surface... is
there any easy way to see it in POV ??

Part of my surface:
"XYZ(0,0) = 0.0245344, 4.64370, 6.87517
XYZ(1,0) = 0.0245344, 4.64370, 6.87517
XYZ(2,0) = 0.0245344, 4.64370, 6.87517
XYZ(3,0) = 0.0245344, 4.64370, 6.87517
XYZ(4,0) = 0.0245344, 4.64370, 6.87517
XYZ(5,0) = 0.0245344, 4.64370, 6.87517
XYZ(6,0) = 0.0245344, 4.64370, 6.87517
XYZ(7,0) = 0.0245344, 4.64370, 6.87517
.....
XYZ(0,1) = -0.610784, 5.67258, 6.87517
XYZ(1,1) = 0.0245344, 6.05324, 6.87517
XYZ(2,1) = 0.659853, 5.67258, 6.87517
XYZ(3,1) = 0.797528, 4.68607, 6.87517
.....
XYZ(13,16)      =       0.0245344,      2.92825,        -3.32444
XYZ(14,16)      =       0.0245344,      2.92825,        -3.32444
XYZ(15,16)      =       0.0245344,      2.92825,        -3.32444
XYZ(16,16)      =       0.0245344,      2.92825,        -3.32444
"

All weights are 1.0.


Post a reply to this message

From: Tim Attwood
Subject: Re: Student project
Date: 11 Jun 2007 04:54:25
Message: <466d0dc1$1@news.povray.org>
I don't recognize the format... what is the file
extension? You might need to export from
rhino instead of saving?

There seems to be quite a bit of repeated vectors.

Don't forget PoseRay (new and improved!)
http://mysite.verizon.net/sfg0000/


Post a reply to this message

From: millican
Subject: Re: Student project
Date: 6 Sep 2007 13:32:53
Message: <46e039c4@news.povray.org>
Tim Attwood wrote:

> I don't recognize the format... what is the file
> extension? You might need to export from
> rhino instead of saving?
> 
> There seems to be quite a bit of repeated vectors.
> 
> Don't forget PoseRay (new and improved!)
> http://mysite.verizon.net/sfg0000/

I'm behind on checking all the messages, but...
Rhino exports directly to POV. You can export all the objects into one file
or each object into it's own .inc file with a .pov file that calls in all
of them. Either way, it's a polygon mesh that each object is exported in.
You can specify the polygon count and even preview it before exporting. Be
patient when you do the export as it may appear that nothing is happening
for awhile.


Post a reply to this message

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