POV-Ray : Newsgroups : povray.general : obj2pov.c wanted Server Time
12 Jun 2024 16:06:53 EDT (-0400)
  obj2pov.c wanted (Message 6 to 15 of 15)  
<<< Previous 5 Messages Goto Initial 10 Messages
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)

From: Thomas de Groot
Subject: Re: obj2pov.c wanted
Date: 10 Feb 2023 08:27:15
Message: <63e64633$1@news.povray.org>
Op 10-2-2023 om 10:33 schreef yesbird:
> 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 ?
> 
I am afraid I cannot help you with this as I am no expert, but others 
might. I do not use ZBrush myself (too expensive!). For modelling, I 
rely on Silo instead, and Poser for figures. Both export OBJ format, and 
I have no problems with them in Poseray.

-- 
Thomas


Post a reply to this message

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

> ... Both export OBJ format, and  have no problems with them in Poseray.

Could you please send me small examples of these OBJs ? I would like to know, if
they are using per-vertice format and how if so.
--
YB


Post a reply to this message

From: Thomas de Groot
Subject: Re: obj2pov.c wanted
Date: 11 Feb 2023 02:31:01
Message: <63e74435@news.povray.org>
Op 10/02/2023 om 16:41 schreef yesbird:
> Hi, Thomas.
> 
>> ... Both export OBJ format, and  have no problems with them in Poseray.
> 
> Could you please send me small examples of these OBJs ? I would like to know, if
> they are using per-vertice format and how if so.
> --
>
Sure, can do.

Boerin_klomp_L.obj has been created in Silo and then exported as OBJ (to 
be imported subsequently in Poser).

Crate1.obj is a Poser object.

-- 
Thomas


Post a reply to this message


Attachments:
Download 'boerin_klomp_l.obj.txt' (128 KB) Download 'crate1.obj.txt' (19 KB)

From: yesbird
Subject: Re: obj2pov.c wanted
Date: 11 Feb 2023 03:20:00
Message: <web.63e74e97c1c6394b768b900310800fb2@news.povray.org>
Thank you, shoes are very fashioned )

But unfortunately I see no per-vertice colors there. In any case yesterday I've
obtained Pixologic's SDK and now can omit OBJs, but exploring of this format was
not in vain.


Post a reply to this message

From: Thomas de Groot
Subject: Re: obj2pov.c wanted
Date: 11 Feb 2023 04:24:27
Message: <63e75ecb$1@news.povray.org>
Op 11-2-2023 om 09:15 schreef yesbird:
> Thank you, shoes are very fashioned )
> 
> But unfortunately I see no per-vertice colors there. In any case yesterday I've
> obtained Pixologic's SDK and now can omit OBJs, but exploring of this format was
> not in vain.
> 
> 
OK.

Shoes are wooden shoes btw... ;-)
-- 
Thomas


Post a reply to this message

<<< Previous 5 Messages Goto Initial 10 Messages

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