POV-Ray : Newsgroups : povray.general : obj2pov.c wanted Server Time
13 Oct 2024 01:00:41 EDT (-0400)
  obj2pov.c wanted (Message 1 to 10 of 15)  
Goto Latest 10 Messages Next 5 Messages >>>
From: yesbird
Subject: obj2pov.c wanted
Date: 8 Feb 2023 13:15:00
Message: <web.63e3e5ef279d90f77eb01f2810800fb2@news.povray.org>
Hi, guys !

As a side project I am starting a ZBrush plugin for transferring mesh data to
POV. Before I will get details about ZBrush internal structures, I would like to
make a draft workflow: ZBrush->OBJ->POV, but can't find OBJ->POV converter.

Links here are dead:

https://www.povray.org/resources/links/3D_Programs/Conversion_Utilities/
ftp://mystique.servetheweb.com/pub/obj2pov/obj2pov.c

and googling gives nothing. Maybe someone keeps it in a private archive ?

Please, help !
--
YB


Post a reply to this message

From: jr
Subject: Re: obj2pov.c wanted
Date: 8 Feb 2023 14:20:00
Message: <web.63e3f573c1c6394b88a828ca6cde94f1@news.povray.org>
hi,

"yesbird" <nomail@nomail> wrote:
> As a side project I am starting a ZBrush plugin for transferring mesh data to
> POV. Before I will get details about ZBrush internal structures, I would like to
> make a draft workflow: ZBrush->OBJ->POV, but can't find OBJ->POV converter.
>
> Links here are dead:
>
> https://www.povray.org/resources/links/3D_Programs/Conversion_Utilities/
> ftp://mystique.servetheweb.com/pub/obj2pov/obj2pov.c
>
> and googling gives nothing. Maybe someone keeps it in a private archive ?

googling I find a same-named java utility
<https://github.com/JossWhittle/Obj2Pov>, but perhaps that's not an option?  if
you get no luck, and if the generated .obj only contains vector + face data
lines, I have an old Tcl script which could be adapted (write).


regards, jr.


Post a reply to this message

From: jr
Subject: Re: obj2pov.c wanted
Date: 8 Feb 2023 14:25:00
Message: <web.63e3f6f3c1c6394b88a828ca6cde94f1@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> ... generated .obj only contains vector + face data

                                   ^^^^^^
                                   vertex



regards, jr.


Post a reply to this message

From: yesbird
Subject: Re: obj2pov.c wanted
Date: 8 Feb 2023 14:40:00
Message: <web.63e3f9bec1c6394b7eb01f2810800fb2@news.povray.org>
Hi, jr

> <https://github.com/JossWhittle/Obj2Pov>, but perhaps that's not an option?

You are right - java is not for me )

> if you get no luck, and if the generated .obj only contains vector + face data
> lines, I have an old Tcl script which could be adapted (write).

I want also colors and normals, if any in OBJ, will continue search, but thanks
in any case.
--
YB


Post a reply to this message

From: Bald Eagle
Subject: Re: obj2pov.c wanted
Date: 8 Feb 2023 15:20:00
Message: <web.63e40372c1c6394b1f9dae3025979125@news.povray.org>
"yesbird" <nomail@nomail> wrote:

> As a side project I am starting a ZBrush plugin for transferring mesh data to
> POV. Before I will get details about ZBrush internal structures, I would like to
> make a draft workflow: ZBrush->OBJ->POV, but can't find OBJ->POV converter.

> and googling gives nothing. Maybe someone keeps it in a private archive ?
>
> Please, help !


You probably won't find one, but consider this:
STL is virtually mesh {}, it's just a few simple line modifications.

IIRC, Cousin Ricky and I have done our own find/replace strategies, so it should
be simple to do OBJ->STL->POV mesh


Post a reply to this message

From: yesbird
Subject: Re: obj2pov.c wanted
Date: 8 Feb 2023 15:30:00
Message: <web.63e40602c1c6394b7eb01f2810800fb2@news.povray.org>
> You probably won't find one, but consider this:
> ...

Thanks, this is an option. Also I've emailed to Paul Bourke, asking him about
permissions for using his works in POV-Lab and about this converter too.

I know, he is using it.


Post a reply to this message

From: William F Pokorny
Subject: Re: obj2pov.c wanted
Date: 9 Feb 2023 07:12:08
Message: <63e4e318$1@news.povray.org>
On 2/8/23 13:13, yesbird wrote:
> Hi, guys !
> 
> As a side project I am starting a ZBrush plugin for transferring mesh data to
> POV. Before I will get details about ZBrush internal structures, I would like to
> make a draft workflow: ZBrush->OBJ->POV, but can't find OBJ->POV converter.
> 
> Links here are dead:
> 
> https://www.povray.org/resources/links/3D_Programs/Conversion_Utilities/
> ftp://mystique.servetheweb.com/pub/obj2pov/obj2pov.c
> 
> and googling gives nothing. Maybe someone keeps it in a private archive ?
> 
> Please, help !
> --
> YB

Paying only loose attention to this thread, but I think many use the 
windows program PoseRay to convert from Obj (and many other formats) to 
POV-Ray SDL.

Some years ago this program ran under wine on linux for me, but I've 
done nothing current with it. Plus, I'm a little unsure of the current 
status of PoseRay not having seen much recent mention of it. Thomas?

https://sites.google.com/site/poseray/

Bill P.


Post a reply to this message

From: yesbird
Subject: Re: obj2pov.c wanted
Date: 9 Feb 2023 11:10:00
Message: <web.63e519adc1c6394b7eb01f2810800fb2@news.povray.org>
Hi, Bill !

> Paying only loose attention to this thread, but I think many use the
> windows program PoseRay to convert from Obj (and many other formats) to
> POV-Ray SDL.

Many thanks for your reply, I was very close to canceling this project, but now
I found exactly what I was looking for - many options and converting from
command line.

> Some years ago this program ran under wine on linux for me, but I've
> done nothing current with it. Plus, I'm a little unsure of the current
> status of PoseRay not having seen much recent mention of it. Thomas?

Present version (v.3.13.31 - March 2, 2021) works like a charm !

All the best,
--
YB


Post a reply to this message

From: Thomas de Groot
Subject: Re: obj2pov.c wanted
Date: 9 Feb 2023 11:41:39
Message: <63e52243@news.povray.org>
Op 9-2-2023 om 13:12 schreef William F Pokorny:
> Paying only loose attention to this thread, but I think many use the 
> windows program PoseRay to convert from Obj (and many other formats) to 
> POV-Ray SDL.
> 
> Some years ago this program ran under wine on linux for me, but I've 
> done nothing current with it. Plus, I'm a little unsure of the current 
> status of PoseRay not having seen much recent mention of it. Thomas?
> 
> https://sites.google.com/site/poseray/
> 

Coming too late to this thread, but yes, I would also have suggested 
Poseray indeed. It works like a charm for all kind of things.

-- 
Thomas


Post a reply to this message

From: yesbird
Subject: Re: obj2pov.c wanted
Date: 10 Feb 2023 04:35:00
Message: <web.63e60eb3c1c6394b7eb01f2810800fb2@news.povray.org>
Hi,

> Poseray indeed. It works like a charm for all kind of things.

It's true, but I am stuck on the following: trying to export data from ZBrush in
OBJ format I found that per-vertex colors are passed non-standard way - in
comments, like described in the following paper:

http://paulbourke.net/dataformats/obj/colour.html

Paul writes that _some_ converters cat read per-vertex colors from three last
numbers in line. I've done a few experiments with PoseRay (small OBJ attached),
but without success, so I am in doubt - am I doing something wrong or it's not
possible 'by design' of PoseRay ?

Thanks in advance for your answers.
--
YB


Post a reply to this message


Attachments:
Download 'pm3d_plane3d_1.obj.txt' (1 KB)

Goto Latest 10 Messages Next 5 Messages >>>

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