|
|
> 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
|
|
|
|
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
|
|