POV-Ray : Newsgroups : povray.newusers : rendering edges Server Time
6 Oct 2024 07:11:13 EDT (-0400)
  rendering edges (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Chris B
Subject: Re: rendering edges
Date: 14 Aug 2009 15:24:21
Message: <4a85b9e5@news.povray.org>
"Mr" <nomail@nomail> wrote in message 
news:web.4a85a04f4068d214e3f0b2880@news.povray.org...
>
> No document, I don't know how the original patch by RCRuiz is commented:
> http://code.google.com/p/blend2pov/
> JMS won't release the current modified source, but I'll just ask him about 
> those
> faceless edges. If you speak french and are interested in this tool here 
> is the
> forum of JMS.
> http://www.zoo-logique.org/3D.Blender/newsportal/thread.php?group=3D.Pov-Ray
>

I read a few of the posts, but I don't see anything on how it handles edges 
or vertices (or even faces for that matter). It mostly spoke of textures and 
the Intel Mac issues. I also tried writing an XML file from Blender, but it 
seems to require YafRay to be installed (which is odd as the XML file would 
be extremely useful if you had Blender and YafRay installed on separate 
machines).

If you can switch on the YafRay XML option and generate a file with only a 
square plane and one of the vertices extruded to create an edge, then it 
should be easy enough to see how it handles such edges and whether there's 
any hope of getting such information across into POV-Ray.

Regards,
Chris B.


Post a reply to this message

From: Mr
Subject: Re: rendering edges
Date: 15 Aug 2009 17:05:01
Message: <web.4a8722ac4068d2141c8336ca0@news.povray.org>
"Chris B" <nom### [at] nomailcom> wrote:

> If you can switch on the YafRay XML option and generate a file with only a
> square plane and one of the vertices extruded to create an edge, then it
> should be easy enough to see how it handles such edges and whether there's
> any hope of getting such information across into POV-Ray.
>
> Regards,
> Chris B.

Thanks I did that. Unfortunately the extruded vertex is completely ignored and
the resulting Pov code has only 4 vertices:

//Generated by Blender (Blend2Pov 0.0.6j modification by RCRuiz
ram### [at] hotmailcom)
#declare OBCube = mesh2 {
 vertex_vectors
{4,<1,-4.16881e-007,1>,<-1,-3.91654e-007,1>,<-1,-1.06423e-007,-1>,<1,-2.1718e-007,-1>
}
 normal_vectors
{4,<1.26136e-008,1,1.42615e-007>,<1.26136e-008,1,1.42615e-007>,<1.26136e-008,1,1.42615e-007>,<1.26136e-008,1,1.42615e-0
07>
}
 face_indices { 2,<0,1,2>,<2,3,0>}
 normal_indices {0}
 }

Thanks for your help I'll just do without those floating edges...


Post a reply to this message

From: Chris B
Subject: Re: rendering edges
Date: 15 Aug 2009 17:56:09
Message: <4a872ef9$1@news.povray.org>
"Mr" <nomail@nomail> wrote in message 
news:web.4a8722ac4068d2141c8336ca0@news.povray.org...
> "Chris B" <nom### [at] nomailcom> wrote:
>
>> If you can switch on the YafRay XML option and generate a file with only 
>> a
>> square plane and one of the vertices extruded to create an edge, then it
>> should be easy enough to see how it handles such edges and whether 
>> there's
>> any hope of getting such information across into POV-Ray.
>>
>
> Thanks I did that. Unfortunately the extruded vertex is completely ignored 
> and
> the resulting Pov code has only 4 vertices:
>
> Thanks for your help I'll just do without those floating edges...
>

Ah. OK! So Blend2Pov won't be able to do anything with those edges for you 
because it never gets the data to work with.

The option I posted in my second post to pick up that info from an export in 
'obj' format should still be viable though. You could do that by hand quite 
quickly using a search/replace in a good editor. Admitedly it's not 
something you'd want to do by hand if you wanted to do it very frequently, 
but a short script or a little editor macro could easily transform that obj 
file data into something useable. Depends how much you want it :-)

Regards,
Chris B.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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