POV-Ray : Newsgroups : povray.binaries.images : PoseRay 3.11.0 released: comments for future improvements Server Time
16 Nov 2024 08:24:40 EST (-0500)
  PoseRay 3.11.0 released: comments for future improvements (Message 1 to 10 of 15)  
Goto Latest 10 Messages Next 5 Messages >>>
From: Thomas de Groot
Subject: PoseRay 3.11.0 released: comments for future improvements
Date: 16 Jun 2007 09:20:14
Message: <4673e38e@news.povray.org>
Being a heavy user of Poser 7 and Poseray, it is almost unavoidable that I 
have to come up with a number of (new) comments, partly deriving from the 
use of Poser 7. I post them here, together with an example image, so that 
everybody interested may learn from them and may add things that I have 
forgotten.

1) Bump mapping:  When applying an image map as bump map to, e.g. a cloth, 
one may often want to scale down (or up) the bump map in order to obtain the 
desired effect. In Poser, this is done by changing the U_Scale and V_Scale 
of the bump image map in the Material Room. However, this scaling is not 
taken on by Poseray and, to obtain the desired effect, one needs to add 
manually a scale parameter to the map in the exported xxx_POV_mat.inc file.



2) Bump_size: By default, Poser defines a white background parameter in the 
Material Room for all the used image maps. This has unexpected consequences 
when using a bump map, even if the used image has traditionally black as 
background and white as foreground. Poseray translates the bump sizes into 
negative values which may disconcert at first, but renders correctly in 
POV-Ray. However, the values are very high (e.g. -20, or -50) for some 
reason (even if the bump strength in Poser is set to 1.0) and they may have 
to be changed to more conventional values manually.



3) Procedural textures: Procedural textures in Poser are only shown in 
Poseray (and exported to POV-Ray) as pigments and finishes. This is 
understandable as the procedural parameters used by Poser may not be easily 
translated into POV-Ray code. When using procedural textures in Poser, best 
is to find an equivalent POV-Ray texture and use that instead.



4) G2 hair: Poser 7 introduced G2 figures and also G2 conforming hair. For 
many reasons G2 hair is more realistic than the conforming hair in Poser 6. 
However, when exported to POV-Ray through Poseray, the result is rather 
disappointing. I discovered now why this is so. G2 hair uses a bump map for 
displacement mapping. Why for displacement is debatable as the hair mesh is 
fine but not particularly so. Better is to use the map as a bump map. The 
results are much better. However, there is a problem with G2 conforming hair 
and Poseray. First, the hair geometry (in the example I used at least) has 
its morphs centered on the neck body part of the hair figure. In Poseray the 
neck of the human figure AND the neck of the hair figure are translated into 
one single mesh geometry group. Second, and as a consequence probably, the 
displacement map for the hair group is not loaded. While the material maps 
for the hair are properly loaded, the bump map is not. When adding the 
proper bump map in Poseray and exporting to POV-Ray, the results are 
excellent.



The attached image resumes the comments above and shows how the figure and 
the hair should be.





Thomas


Post a reply to this message


Attachments:
Download 'Pov_render_04.jpg' (47 KB)

Preview of image 'Pov_render_04.jpg'
Pov_render_04.jpg


 

From: FlyerX
Subject: Re: PoseRay 3.11.0 released: comments for future improvements
Date: 16 Jun 2007 12:38:59
Message: <46741223@news.povray.org>
Thomas de Groot wrote:
> 
> 1) Bump mapping:  When applying an image map as bump map to, e.g. a cloth, 
> one may often want to scale down (or up) the bump map in order to obtain the 
> desired effect. In Poser, this is done by changing the U_Scale and V_Scale 
> of the bump image map in the Material Room. However, this scaling is not 
> taken on by Poseray and, to obtain the desired effect, one needs to add 
> manually a scale parameter to the map in the exported xxx_POV_mat.inc file.

I may implement scaling into the basic materials in the next version but 
now you can go into the POV-Ray tab and copy the material into the text 
window and edit the bump map UV scaling there as a transformation. The 
copy command is in the POV-Ray tab as insert->materials->copy from basic 
tab.

> 
> 
> 
> 2) Bump_size: By default, Poser defines a white background parameter in the 
> Material Room for all the used image maps. This has unexpected consequences 
> when using a bump map, even if the used image has traditionally black as 
> background and white as foreground. Poseray translates the bump sizes into 
> negative values which may disconcert at first, but renders correctly in 
> POV-Ray. However, the values are very high (e.g. -20, or -50) for some 
> reason (even if the bump strength in Poser is set to 1.0) and they may have 
> to be changed to more conventional values manually.

I will look into this. Since I do not have Poser 7 I assumed bump_size 
behaved the same as in Poser 6.  You can scale the imported bump size in 
the Poser scene import options. The default value is what Poser 6 uses.
I noticed some inconsistencies between the bump_size implementation 
using different models and whether the bump map was an image or a 
proprietary BUM file.
> 
> 
> 
> 3) Procedural textures: Procedural textures in Poser are only shown in 
> Poseray (and exported to POV-Ray) as pigments and finishes. This is 
> understandable as the procedural parameters used by Poser may not be easily 
> translated into POV-Ray code. When using procedural textures in Poser, best 
> is to find an equivalent POV-Ray texture and use that instead.

I agree. Would be nice if Poser could bake and export its procedural 
textures. This and strand hair are features that makes Poser less 
portable to other applications.

> 
> 
> 
> 4) G2 hair: Poser 7 introduced G2 figures and also G2 conforming hair. For 
> many reasons G2 hair is more realistic than the conforming hair in Poser 6. 
> However, when exported to POV-Ray through Poseray, the result is rather 
> disappointing. I discovered now why this is so. G2 hair uses a bump map for 
> displacement mapping. Why for displacement is debatable as the hair mesh is 
> fine but not particularly so. Better is to use the map as a bump map. The 
> results are much better. However, there is a problem with G2 conforming hair 
> and Poseray. First, the hair geometry (in the example I used at least) has 
> its morphs centered on the neck body part of the hair figure. In Poseray the 
> neck of the human figure AND the neck of the hair figure are translated into 
> one single mesh geometry group. Second, and as a consequence probably, the 
> displacement map for the hair group is not loaded. While the material maps 
> for the hair are properly loaded, the bump map is not. When adding the 
> proper bump map in Poseray and exporting to POV-Ray, the results are 
> excellent.
> 

I will look into this since I have one of those G2 models with hair. 
Maybe I could route the displacement call into the bump map 
automatically. I will add this to the manual in the export to Poser 
tutorial section.


Thank you very much for your feedback.

FlyerX


Post a reply to this message

From: Thibaut Jonckheere
Subject: Re: PoseRay 3.11.0 released: comments for future improvements
Date: 16 Jun 2007 16:24:09
Message: <467446e9@news.povray.org>
Since Thomas has started a thread about Poseray, I take the opportunity 
to say all the good I think of it. I used it a lot while testing 
PovEdge, and really it is *so much* more than a simple format converter !

I am sure than there are many functionnalities I am not aware of, but I 
know that:

- It can correct models that have problems, by re-calculating the 
normals (very useful in many situations, as bugged model are quite common).

- It can subdivide models. This is unvaluable with low-poly models, 
which can then become much more usable.

- It can import PovRay mesh2! This may sound uninteresting for a Povray 
user, but it is not. It means that all the great mesh2 models available 
in the community can be corrected (if necessary), subdivided, or even 
(as output in .obj is also possible) imported in Wings3d, or any other 
modeler, to be modified at will ! By the way, as a small feature 
request, the parsing of the mesh2 format concerning the textures could 
be improved (now it changes the names to Pov_Texture_1, etc. and 
changing this back by hand can become tedious when there are many 
different textures).



Thibaut


Post a reply to this message

From: FlyerX
Subject: Re: PoseRay 3.11.0 released: comments for future improvements
Date: 16 Jun 2007 18:45:59
Message: <46746827@news.povray.org>
Thibaut Jonckheere wrote:
> 
> 
> Since Thomas has started a thread about Poseray, I take the opportunity 
> to say all the good I think of it. I used it a lot while testing 
> PovEdge, and really it is *so much* more than a simple format converter !
> 
> I am sure than there are many functionnalities I am not aware of, but I 
> know that:
> 
> - It can correct models that have problems, by re-calculating the 
> normals (very useful in many situations, as bugged model are quite common).
> 
> - It can subdivide models. This is unvaluable with low-poly models, 
> which can then become much more usable.
> 
> - It can import PovRay mesh2! This may sound uninteresting for a Povray 
> user, but it is not. It means that all the great mesh2 models available 
> in the community can be corrected (if necessary), subdivided, or even 
> (as output in .obj is also possible) imported in Wings3d, or any other 
> modeler, to be modified at will ! By the way, as a small feature 
> request, the parsing of the mesh2 format concerning the textures could 
> be improved (now it changes the names to Pov_Texture_1, etc. and 
> changing this back by hand can become tedious when there are many 
> different textures).
> 
> 
> 
> Thibaut
> 
> 
> 

Thibaut,

I am glad that you find PoseRay useful. I will look into the texture 
naming. It is just a little complicated because a texture may be layered 
and that may mangle the names. Besides the meshes may have their own 
materials instead (such as PoseRay output) and that complicates matters 
further.

FlyerX


Post a reply to this message

From: Janet
Subject: Re: PoseRay 3.11.0 released: comments for future improvements
Date: 17 Jun 2007 00:40:01
Message: <web.4674ba66d112495dc4e58e10@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
> 4) G2 hair: Poser 7 introduced G2 figures and also G2 conforming hair. For
> many reasons G2 hair is more realistic than the conforming hair in Poser 6.
> However, when exported to POV-Ray through Poseray, the result is rather
> disappointing. I discovered now why this is so. G2 hair uses a bump map for
> displacement mapping. Why for displacement is debatable as the hair mesh is
> fine but not particularly so. Better is to use the map as a bump map. The
> results are much better. However, there is a problem with G2 conforming hair
> and Poseray. First, the hair geometry (in the example I used at least) has
> its morphs centered on the neck body part of the hair figure. In Poseray the
> neck of the human figure AND the neck of the hair figure are translated into
> one single mesh geometry group. Second, and as a consequence probably, the
> displacement map for the hair group is not loaded. While the material maps
> for the hair are properly loaded, the bump map is not. When adding the
> proper bump map in Poseray and exporting to POV-Ray, the results are
> excellent.

It's often advantagious to import items one at a time. An obj for hair, an
obj for the figure, the poncho, etc. For example, if you are working on the
poncho material in POV-Ray, you can comment out the other objects and it
parses much faster.
I use a method like this:
//Assembled objects ...
#include "BodyVase3_POV_geom.inc" object{BodyVase3_}
#include "V4Head_POV_geom.inc" object{V4Head_}
#include "Hat_POV_geom.inc" object{Hat_}
#include "Flowers_POV_geom.inc" object{Flowers_}

Janet


Post a reply to this message

From: Thomas de Groot
Subject: Re: PoseRay 3.11.0 released: comments for future improvements
Date: 17 Jun 2007 03:48:46
Message: <4674e75e$1@news.povray.org>
"FlyerX" <fly### [at] yahoocom> schreef in bericht 
news:46741223@news.povray.org...
> Thomas de Groot wrote:
>>
>> 1) Bump mapping:  When applying an image map as bump map to, e.g. a 
>> cloth, one may often want to scale down (or up) the bump map in order to 
>> obtain the desired effect. In Poser, this is done by changing the U_Scale 
>> and V_Scale of the bump image map in the Material Room. However, this 
>> scaling is not taken on by Poseray and, to obtain the desired effect, one 
>> needs to add manually a scale parameter to the map in the exported 
>> xxx_POV_mat.inc file.
>
> I may implement scaling into the basic materials in the next version but 
> now you can go into the POV-Ray tab and copy the material into the text 
> window and edit the bump map UV scaling there as a transformation. The 
> copy command is in the POV-Ray tab as insert->materials->copy from basic 
> tab.
Oh! That is nice indeed! I realize that there are many Poseray features that 
I have never used yet! Excellent solution.
In a general case, I think that one should always consider the necessities 
to edit the model to one's needs.
>
>>
>>
>>
>> 2) Bump_size: By default, Poser defines a white background parameter in 
>> the Material Room for all the used image maps. This has unexpected 
>> consequences when using a bump map, even if the used image has 
>> traditionally black as background and white as foreground. Poseray 
>> translates the bump sizes into negative values which may disconcert at 
>> first, but renders correctly in POV-Ray. However, the values are very 
>> high (e.g. -20, or -50) for some reason (even if the bump strength in 
>> Poser is set to 1.0) and they may have to be changed to more conventional 
>> values manually.
>
> I will look into this. Since I do not have Poser 7 I assumed bump_size 
> behaved the same as in Poser 6.  You can scale the imported bump size in 
> the Poser scene import options. The default value is what Poser 6 uses.
> I noticed some inconsistencies between the bump_size implementation using 
> different models and whether the bump map was an image or a proprietary 
> BUM file.
Yes, this seems to start with Poser 7. It took me a while to realize what 
happened. Even so, I am not entirely sure what the role of the background 
color is really, only that it matters in the way Poser renders it itself. 
Also I became convinced only yesterday of the need for negative bump_size 
values to obtain the correct result in POV-Ray.
>>
>>
>>
>> 3) Procedural textures: Procedural textures in Poser are only shown in 
>> Poseray (and exported to POV-Ray) as pigments and finishes. This is 
>> understandable as the procedural parameters used by Poser may not be 
>> easily translated into POV-Ray code. When using procedural textures in 
>> Poser, best is to find an equivalent POV-Ray texture and use that 
>> instead.
>
> I agree. Would be nice if Poser could bake and export its procedural 
> textures. This and strand hair are features that makes Poser less portable 
> to other applications.
Yes, that would be nice. Strand hair in particular would be important, in 
the same way as dynamic clothes is.
>
>>
>>
>>
>> 4) G2 hair: Poser 7 introduced G2 figures and also G2 conforming hair. 
>> For many reasons G2 hair is more realistic than the conforming hair in 
>> Poser 6. However, when exported to POV-Ray through Poseray, the result is 
>> rather disappointing. I discovered now why this is so. G2 hair uses a 
>> bump map for displacement mapping. Why for displacement is debatable as 
>> the hair mesh is fine but not particularly so. Better is to use the map 
>> as a bump map. The results are much better. However, there is a problem 
>> with G2 conforming hair and Poseray. First, the hair geometry (in the 
>> example I used at least) has its morphs centered on the neck body part of 
>> the hair figure. In Poseray the neck of the human figure AND the neck of 
>> the hair figure are translated into one single mesh geometry group. 
>> Second, and as a consequence probably, the displacement map for the hair 
>> group is not loaded. While the material maps for the hair are properly 
>> loaded, the bump map is not. When adding the proper bump map in Poseray 
>> and exporting to POV-Ray, the results are excellent.
>>
>
> I will look into this since I have one of those G2 models with hair. Maybe 
> I could route the displacement call into the bump map automatically. I 
> will add this to the manual in the export to Poser tutorial section.
After I sent this post, I found out that the hair object I used for the 
comment above is a bit atypical compared to other G2 hair figures (or props 
as the case may be). I have not tested all the G2 hair however, and it may 
be that for the G2 Jessie for instance, or all the *long* hair, the morph 
building is identical. So, the solution might be a bit more complicated...
>
>
> Thank you very much for your feedback.
Well, I thank you very much indeed for a great product that is really 
invaluable for crisscrossing amongst applications! That is also one of the 
reasons I take the time to stay alert to possible improvements and to note 
down what I believe might be worthwhile to the community.

Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: PoseRay 3.11.0 released: comments for future improvements
Date: 17 Jun 2007 03:56:07
Message: <4674e917$1@news.povray.org>
"Janet" <par### [at] attnet> schreef in bericht 
news:web.4674ba66d112495dc4e58e10@news.povray.org...
> "Thomas de Groot" <t.d### [at] internlDOTnet> wrote:
>> 4) G2 hair: Poser 7 introduced G2 figures and also G2 conforming hair. 
>> For
>> many reasons G2 hair is more realistic than the conforming hair in Poser 
>> 6.
>> However, when exported to POV-Ray through Poseray, the result is rather
>> disappointing. I discovered now why this is so. G2 hair uses a bump map 
>> for
>> displacement mapping. Why for displacement is debatable as the hair mesh 
>> is
>> fine but not particularly so. Better is to use the map as a bump map. The
>> results are much better. However, there is a problem with G2 conforming 
>> hair
>> and Poseray. First, the hair geometry (in the example I used at least) 
>> has
>> its morphs centered on the neck body part of the hair figure. In Poseray 
>> the
>> neck of the human figure AND the neck of the hair figure are translated 
>> into
>> one single mesh geometry group. Second, and as a consequence probably, 
>> the
>> displacement map for the hair group is not loaded. While the material 
>> maps
>> for the hair are properly loaded, the bump map is not. When adding the
>> proper bump map in Poseray and exporting to POV-Ray, the results are
>> excellent.
>
> It's often advantagious to import items one at a time. An obj for hair, an
> obj for the figure, the poncho, etc. For example, if you are working on 
> the
> poncho material in POV-Ray, you can comment out the other objects and it
> parses much faster.
> I use a method like this:
> //Assembled objects ...
> #include "BodyVase3_POV_geom.inc" object{BodyVase3_}
> #include "V4Head_POV_geom.inc" object{V4Head_}
> #include "Hat_POV_geom.inc" object{Hat_}
> #include "Flowers_POV_geom.inc" object{Flowers_}
>
You are absolutely right, Janet. I have been thinking along this line, but 
not used it really just because everything went smooth and fast enough not 
to bother yet. However, I am often at the limits where Poser begins to slow 
down noticiably because of too many things to manage at the same time. This 
is particularly the case with several dynamic simulations applied to the 
same figure. So, breaking up the workflow where possible is an excellent 
option and easy to reassemble in POV-Ray later on.

Thomas


Post a reply to this message

From: Jörg 'Yadgar' Bleimann
Subject: Re: PoseRay 3.11.0 released: comments for future improvements
Date: 17 Jun 2007 08:02:06
Message: <467522be@news.povray.org>
High!

Thomas de Groot schrieb:

> The attached image resumes the comments above and shows how the figure and 
> the hair should be.

Wow... the first real PoV longhair in about seven years since I read 
this group! Awesome... now grow him a Vercingetorix-style Gaul moustache 
and send him in full armour to Gergovia (not Alesia, that would be too 
cruel...)!

A more practical question: his hair looks as it was partially tied up in 
the back - is it so?

But at picture tells me that with PoseRay, a true self portrait would be 
  at least theoretically possible...

See you on www.khyberspace.de !

Yadgar

Now playing: The World Spins, I'm Part Of It (China Crisis)


Post a reply to this message

From: Thomas de Groot
Subject: Re: PoseRay 3.11.0 released: comments for future improvements
Date: 17 Jun 2007 08:40:36
Message: <46752bc4@news.povray.org>

news:467522be@news.povray.org...
> High!
>
> Thomas de Groot schrieb:
>
>> The attached image resumes the comments above and shows how the figure 
>> and the hair should be.
>
> Wow... the first real PoV longhair in about seven years since I read this 
> group! Awesome... now grow him a Vercingetorix-style Gaul moustache and 
> send him in full armour to Gergovia (not Alesia, that would be too 
> cruel...)!

There are a couple of long hair figures/props (for males!) available in 
Poser. This is one of the latest coming with James G2.
Yes a moustache is indicated indeed  :-)
However, a truly Celtic hairdress would involve limed hair, combed backwards 
and up into rigid spikes.

>
> A more practical question: his hair looks as it was partially tied up in 
> the back - is it so?

That is true. That is why the morphs are attached to the neck for this 
particular hair figure.

>
> But at picture tells me that with PoseRay, a true self portrait would be 
> at least theoretically possible...

Not only theoretically!! Not in Poseray, but in the Poser Face Room, you can 
scan in a portrait of yourself and apply that to the figure. You will obtain 
a (fairly) correct avatar of yourself. However, from comments I have read in 
the Poser forums, this is not as straightforward as it seems...
>

Thomas


Post a reply to this message

From: Grassblade
Subject: Re: PoseRay 3.11.0 released: comments for future improvements
Date: 17 Jun 2007 15:45:02
Message: <web.46758e53d112495662040f20@news.povray.org>
Thibaut Jonckheere <tua### [at] MAPSONyahoofr> wrote:
> I am sure than there are many functionnalities I am not aware of, but I
> know that:
>
> - It can correct models that have problems, by re-calculating the
> normals (very useful in many situations, as bugged model are quite common).
It can? Thanks for pointing it out, I've been trying to import some
Makehuman .obj items in Pov-ray, but they have some serious normal
problems. Guess I'll have to read Poseray's.


Post a reply to this message

Goto Latest 10 Messages Next 5 Messages >>>

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