|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello,
i want to output PovRay images to be displayed on a Philips 3D display,
which requires its input as a combo of plain 2D bitmap and a separate z
bitmap.
Any tips on how to direct PovRay to output on the format i need?
Thanks in advance.
Oren
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Oren nous apporta ses lumieres en ce 09-04-2007 13:53:
> Hello,
> i want to output PovRay images to be displayed on a Philips 3D display,
> which requires its input as a combo of plain 2D bitmap and a separate z
> bitmap.
> Any tips on how to direct PovRay to output on the format i need?
> Thanks in advance.
> Oren
A possible solution:
First: do a normal render of your scene.
Second: Remove ALL textures and pigment from all objects. Bind the whole in a
large union. Give that union a gradient pigment going from black (for the
farthest elements) to white. Scale the gradient so that it don't repeat itself.
It's easier to leave the camera along the Z axis and use gradient z.
A trick: create the scene in an union, and rotate that union instead of mooving
the camera.
Use conditional statements for your textures and pigments with an apropriate
variable. You can then use a 2 frames animation, frame 1 use individual
textures, frame 2 use the gradient.
Use #if(frame_number =1)pigment{......}#end for the various objects.
Use #if(frame_number =2)pigment{gradient z scale SceneZExtend}#end before
closing the union.
Add "+kff2" on the command line.
--
Alain
-------------------------------------------------
The tree of liberty must be refreshed from time to time with the blood of
patriots and tyrants.
Thomas Jefferson
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks for the prompt reply. I will try your suggestions, but I still need
povray anymation features [i am creating a short clip], so i will need to
find other creative ways to make this work. I am also worried about
maintaining the depth field between frames in an animation.
Also, is there an easy way to concatenate the 2d color image and the 2d z
depth map into a single image?
Oren
Alain <ele### [at] netscapenet> wrote:
> Oren nous apporta ses lumieres en ce 09-04-2007 13:53:
> > Hello,
>
> > i want to output PovRay images to be displayed on a Philips 3D display,
> > which requires its input as a combo of plain 2D bitmap and a separate z
> > bitmap.
>
> > Any tips on how to direct PovRay to output on the format i need?
>
> > Thanks in advance.
>
> > Oren
>
>
> A possible solution:
> First: do a normal render of your scene.
> Second: Remove ALL textures and pigment from all objects. Bind the whole in a
> large union. Give that union a gradient pigment going from black (for the
> farthest elements) to white. Scale the gradient so that it don't repeat itself.
> It's easier to leave the camera along the Z axis and use gradient z.
> A trick: create the scene in an union, and rotate that union instead of mooving
> the camera.
> Use conditional statements for your textures and pigments with an apropriate
> variable. You can then use a 2 frames animation, frame 1 use individual
> textures, frame 2 use the gradient.
> Use #if(frame_number =1)pigment{......}#end for the various objects.
> Use #if(frame_number =2)pigment{gradient z scale SceneZExtend}#end before
> closing the union.
> Add "+kff2" on the command line.
>
> --
> Alain
> -------------------------------------------------
> The tree of liberty must be refreshed from time to time with the blood of
> patriots and tyrants.
> Thomas Jefferson
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
It might be easier to use MegaPov's post-processing depth feature.
http://megapov.inetart.net
http://megapov.inetart.net/demo/pp_depth.png
> Also, is there an easy way to concatenate the 2d color image and the 2d z
> depth map into a single image?
I'm pretty sure you'll need a third-party tool for that.
William
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Oren nous apporta ses lumieres en ce 09-04-2007 14:25:
> Thanks for the prompt reply. I will try your suggestions, but I still need
> povray anymation features [i am creating a short clip], so i will need to
> find other creative ways to make this work. I am also worried about
> maintaining the depth field between frames in an animation.
In that case, you still place everything in a big union. Make 2 copies of your
source with altered names. One for the colour part, one for the z information.
Make your animation twice, using exactly the same parameters.
OR
Using switching variable:
Do the first part, say colour, MOVE to another folder or RENAME the resulting
images.
Change the switch and repeat the animation.
The goal is to get 2 sets of images, one set full color, the other for depth
information.
> Also, is there an easy way to concatenate the 2d color image and the 2d z
> depth map into a single image?
You need some external toot for that.
> Oren
> Alain <ele### [at] netscapenet> wrote:
>> Oren nous apporta ses lumieres en ce 09-04-2007 13:53:
>>> Hello,
>>> i want to output PovRay images to be displayed on a Philips 3D display,
>>> which requires its input as a combo of plain 2D bitmap and a separate z
>>> bitmap.
>>> Any tips on how to direct PovRay to output on the format i need?
>>> Thanks in advance.
>>> Oren
>> A possible solution:
>> First: do a normal render of your scene.
>> Second: Remove ALL textures and pigment from all objects. Bind the whole in a
>> large union. Give that union a gradient pigment going from black (for the
>> farthest elements) to white. Scale the gradient so that it don't repeat itself.
>> It's easier to leave the camera along the Z axis and use gradient z.
>> A trick: create the scene in an union, and rotate that union instead of mooving
>> the camera.
>> Use conditional statements for your textures and pigments with an apropriate
>> variable. You can then use a 2 frames animation, frame 1 use individual
>> textures, frame 2 use the gradient.
>> Use #if(frame_number =1)pigment{......}#end for the various objects.
>> Use #if(frame_number =2)pigment{gradient z scale SceneZExtend}#end before
>> closing the union.
>> Add "+kff2" on the command line.
--
Alain
-------------------------------------------------
My wife only has sex with me for a purpose. Last night she used me To time an egg.
Rodney Dangerfield
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Oren wrote:
> Thanks for the prompt reply. I will try your suggestions, but I still need
> povray anymation features [i am creating a short clip], so i will need to
> find other creative ways to make this work. I am also worried about
> maintaining the depth field between frames in an animation.
>
> Also, is there an easy way to concatenate the 2d color image and the 2d z
> depth map into a single image?
I don't know of any image file which supports what you want. Since this
is required for your Phillips display, perhaps Phillips would have more
information on appropriate files?
--
...Ben Chambers
www.pacificwebguy.com
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I think this is in some version of MPG, of course only
Phillips actually suports a conversion with their software.
There's a driver for openGL and DirectX stuff though.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |