POV-Ray : Newsgroups : povray.binaries.images : Re: Help converting some models (+ jpg 52 kbu) : Re: Help converting some models (+ jpg 52 kbu) Server Time
18 Aug 2024 04:16:27 EDT (-0400)
  Re: Help converting some models (+ jpg 52 kbu)  
From: Gilles Tran
Date: 22 Jun 2001 17:47:58
Message: <3B33BD68.3CEB0B77@inapg.inra.fr>
"Tony[B]" wrote:

> Looks like the scale of the textures gets all messed up. Darn. :\ Did you
> convert from 3DS or DXF or what? And where did you put the textures, and so
> on?

From 3DS, since DXF doesn't recognise UV-mapping.
For the textures, a first approach gave me this, but it should be completed
(see the little blue and yellow parts remaining on the picture). The scale
problem is due to the fact that I applied textures where they didn't belong. In
fact the *_m.inc file should be decorticated texture per texture. I was less
successful with the FW189 on the site, but the San Juan boat is a beauty.

#declare txtMain=texture{pigment{image_map{png "pantmant"}} finish{ambient 0
diffuse 1}}
#declare txtChain=texture{pigment{White*0.3} finish{ambient 0 diffuse 1
metallic brilliance 5}}
#declare T_cable__sub_ = texture{txtMain}
#declare T_CHAIN = texture{txtChain}
#declare T_CHAIN__sub_ = texture{txtChain}
#declare T_color__sub_ = texture{txtMain}
#declare T_cream__sub_ = texture{txtMain}
#declare T_DEFAULT = texture{pigment{Yellow} finish{ambient 0 diffuse 1}}
#declare T_default_1 = texture{pigment{Black} finish{ambient 0 diffuse 1}}
#declare T_GLASS = texture{pigment{SkyBlue} finish{ambient 0 diffuse 1}}
#declare T_MAIN_op = texture{pigment{Orange} finish{ambient 0 diffuse 1}}
#declare T_Material__1 = texture{pigment{White} finish{ambient 0 diffuse 1}}
#declare T_metal__sub_ = texture{txtMain}
#declare T_MG34_N_B__sub_ = texture{pigment{Pink} finish{ambient 0 diffuse 1}}
#declare T_MG34CLTA__sub_ = texture{pigment{ForestGreen} finish{ambient 0
diffuse 1}}
#declare T_MG34NEGR__sub___ = texture{pigment{Turquoise} finish{ambient 0
diffuse 1}}
#declare T_pantdecal2 = texture{pigment{image_map{tga "pant301o"} scale
<-1,1,1>} finish{ambient 0 diffuse 1}}
#declare T_RUBBER = texture{pigment{Tan} finish{ambient 0 diffuse 1}}
#declare T_rubber__sub_ = texture{pigment{Black} finish{ambient 0 diffuse 1
brilliance 5 metallic}}
#declare T_WOOD__sub_ = texture{txtMain}

--

**********************
http://www.oyonale.com
**********************
Graphic experiments
Pov-ray gallery


Post a reply to this message

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