POV-Ray : Newsgroups : povray.general : Poser dynamic hair import and render Server Time
28 Nov 2024 08:59:35 EST (-0500)
  Poser dynamic hair import and render (Message 1 to 3 of 3)  
From: operaguy
Subject: Poser dynamic hair import and render
Date: 16 May 2007 20:10:02
Message: <web.464b9c61a5e47dd47f6b93020@news.povray.org>
I did a search first and saw some posts back in 2004....I would be surprised
if this issue has not been addressed more recently but I could not find
reference to it.

If you export a poser scene containing dynamic hair with "show populated"
checked, the vast data for strand hair is exported (not just the guide
hairs). I have been told it is 'spline' information.

This will not render in POV-Ray, is that correct? I have been told it would
have to be 'polygonized' to render properly, and that a file with 700,000
lines in it with mathematical description of, say, 30,000 strands of hair,
would not succeed.

Can anyone speak to this?
......is there a way to get the spline data to render in POV-Ray?
......if not, how would one turn the splines into polys?
......if that could be done, would POV-Ray be able to cope with it?

Here is a sample of the .obj code:

.....
vn -0.625299 -0.654642 -0.424788
vn -0.623137 -0.656508 -0.425085
vn -0.621702 -0.657741 -0.425279
vn -0.62158 -0.657846 -0.425296
vn -0.621801 -0.657657 -0.425266
g HairRIGHT
g HairRIGHT
usemtl Hair
l 86335/86336/86335 86336/86337/86336 86337/86338/86337 86338/86339/86338
86339/86340/86339 86340/86341/86340 86341/86342/86341 86342/86343/86342
86343/86344/86343 86344/86345/86344 86345/86346/86345 86346/86347/86346
86347/86348/86347 86348/86349/86348 86349/86350/86349 86350/86351/86350
86351/86352/86351 86352/86353/86352 86353/86354/86353 86354/86355/86354
l 86355/86356/86355 86356/86357/86356 86357/86358/86357 86358/86359/86358
86359/86360/86359 86360/86361/86360 86361/86362/86361 86362/86363/86362
86363/86364/86363 86364/86365/86364 86365/86366/86365 86366/86367/86366
86367/86368/86367 86368/86369/86368 86369/86370/86369 86370/86371/86370
86371/86372/86371 86372/86373/86372 86373/86374/86373 86374/86375/86374
l 86375/86376/86375 86376/86377/86376 86377/86378/86377 86378/86379/86378
86379/86380/86379 86380/86381/86380 86381/86382/86381 86382/86383/86382
86383/86384/86383 86384/86385/86384 86385/86386/86385 86386/86387/86386
86387/86388/86387 86388/86389/86388 86389/86390/86389 86390/86391/86390
86391/86392/86391 86392/86393/86392 86393/86394/86393 86394/86395/86394
l 86395/86396/86395 86396/86397/86396 86397/86398/86397 86398/86399/86398
86399/86400/86399 86400/86401/86400 86401/86402/86401 86402/86403/86402
86403/86404/86403 86404/86405/86404 86405/86406/86405 86406/86407/86406
86407/86408/86407 86408/86409/86408 86409/86410/86409 86410/86411/86410
86411/86412/86411 86412/86413/86412 86413/86414/86413 86414/86415/86414
.....


::::: Opera :::::
John Donohue


Post a reply to this message

From: Mike Williams
Subject: Re: Poser dynamic hair import and render
Date: 16 May 2007 22:31:38
Message: <3MCu8JA$07SGFwEN@econym.demon.co.uk>
Wasn't it operaguy who wrote:
>I did a search first and saw some posts back in 2004....I would be surprised
>if this issue has not been addressed more recently but I could not find
>reference to it.
>
>If you export a poser scene containing dynamic hair with "show populated"
>checked, the vast data for strand hair is exported (not just the guide
>hairs). I have been told it is 'spline' information.
>
>This will not render in POV-Ray, is that correct? I have been told it would
>have to be 'polygonized' to render properly, and that a file with 700,000
>lines in it with mathematical description of, say, 30,000 strands of hair,
>would not succeed.
>
>Can anyone speak to this?
>......is there a way to get the spline data to render in POV-Ray?
>......if not, how would one turn the splines into polys?
>......if that could be done, would POV-Ray be able to cope with it?

The splines are more nearly very thin sphere sweeps, but I'd expect a
POV file with 700,000 sphere sweeps to take an insanely long time to
render.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: FlyerX
Subject: Re: Poser dynamic hair import and render
Date: 16 May 2007 22:43:56
Message: <464bc16c$1@news.povray.org>
PoseRay has an unsupported feature in the groups tab that turns the 
lines it finds in a OBJ file into polygon strips or ribbons. You can 
enter how wide the strip is at both ends of each poly-line and how much 
twist affects the shape of the strip.

Each strip is UV mapped and a new material is produced when the strips 
are created. If you have Poser6 you can use ClumpedTransSwatch1.jpg for 
transparency and BrownSwatch1.jpg for a texture. These textures are in 
the  /runtime/textures/poser 6 textures/swatches/ directory. You can 
test this by downloading PoseRay (http://mysite.verizon.net/sfg0000/) It 
works but still does not look good when rendered. It also takes a long 
time because of the transparency. The Lines to strip feature is in the 
"Lines" sub-tab in the groups tab.

good luck,

FlyerX




operaguy wrote:
> I did a search first and saw some posts back in 2004....I would be surprised
> if this issue has not been addressed more recently but I could not find
> reference to it.
> 
> If you export a poser scene containing dynamic hair with "show populated"
> checked, the vast data for strand hair is exported (not just the guide
> hairs). I have been told it is 'spline' information.
> 
> This will not render in POV-Ray, is that correct? I have been told it would
> have to be 'polygonized' to render properly, and that a file with 700,000
> lines in it with mathematical description of, say, 30,000 strands of hair,
> would not succeed.
> 
> Can anyone speak to this?
> ......is there a way to get the spline data to render in POV-Ray?
> ......if not, how would one turn the splines into polys?
> ......if that could be done, would POV-Ray be able to cope with it?
> 
> Here is a sample of the .obj code:
> 
> .....
> vn -0.625299 -0.654642 -0.424788
> vn -0.623137 -0.656508 -0.425085
> vn -0.621702 -0.657741 -0.425279
> vn -0.62158 -0.657846 -0.425296
> vn -0.621801 -0.657657 -0.425266
> g HairRIGHT
> g HairRIGHT
> usemtl Hair
> l 86335/86336/86335 86336/86337/86336 86337/86338/86337 86338/86339/86338
> 86339/86340/86339 86340/86341/86340 86341/86342/86341 86342/86343/86342
> 86343/86344/86343 86344/86345/86344 86345/86346/86345 86346/86347/86346
> 86347/86348/86347 86348/86349/86348 86349/86350/86349 86350/86351/86350
> 86351/86352/86351 86352/86353/86352 86353/86354/86353 86354/86355/86354
> l 86355/86356/86355 86356/86357/86356 86357/86358/86357 86358/86359/86358
> 86359/86360/86359 86360/86361/86360 86361/86362/86361 86362/86363/86362
> 86363/86364/86363 86364/86365/86364 86365/86366/86365 86366/86367/86366
> 86367/86368/86367 86368/86369/86368 86369/86370/86369 86370/86371/86370
> 86371/86372/86371 86372/86373/86372 86373/86374/86373 86374/86375/86374
> l 86375/86376/86375 86376/86377/86376 86377/86378/86377 86378/86379/86378
> 86379/86380/86379 86380/86381/86380 86381/86382/86381 86382/86383/86382
> 86383/86384/86383 86384/86385/86384 86385/86386/86385 86386/86387/86386
> 86387/86388/86387 86388/86389/86388 86389/86390/86389 86390/86391/86390
> 86391/86392/86391 86392/86393/86392 86393/86394/86393 86394/86395/86394
> l 86395/86396/86395 86396/86397/86396 86397/86398/86397 86398/86399/86398
> 86399/86400/86399 86400/86401/86400 86401/86402/86401 86402/86403/86402
> 86403/86404/86403 86404/86405/86404 86405/86406/86405 86406/86407/86406
> 86407/86408/86407 86408/86409/86408 86409/86410/86409 86410/86411/86410
> 86411/86412/86411 86412/86413/86412 86413/86414/86413 86414/86415/86414
> .....
> 
> 
> ::::: Opera :::::
> John Donohue
> 
> 
> 
> 
>


Post a reply to this message

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