POV-Ray : Newsgroups : povray.general : best import format : Re: best import format Server Time
3 Aug 2024 02:19:18 EDT (-0400)
  Re: best import format  
From: Mick Hazelgrove
Date: 1 Jun 2004 04:43:34
Message: <40bc41b6@news.povray.org>
I tend to use .obj and convert with 3DWin which can deal with batch
conversions - I take it this is a follow on from the XFrog group
disscussions? 3ds also works well - try both and choose the one best for
you.

If you are converting from XFrog to Pov be aware that Xfrog uses Tiff  image
maps with an alpha channel which will also need converting to jpg. Contact
me directly if you need help on this - the good news is that you only need
to do the conversion once for each plant.

example:

#declare PigPatLeaf = pigment{image_map{jpeg"GC12lefTR.jpg"}}  // B/W
transparency channel
#declare OpaquePigLeaf = pigment{image_map{jpeg"GC12lef.jpg"}}// Coloured
image map
#declare TransPig = texture{pigment{Clear}}


#declare T_Default_Leaf_TL = texture{
pigment_pattern{PigPatLeaf}
texture_map{
  [0 TransPig]
  [1 OpaquePigLeaf
  finish{ambient 0 diffuse 1 specular .1 }
  ]
  }
 }

All the best

Mick


Post a reply to this message

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