POV-Ray : Newsgroups : povray.newusers : Test Landscape Blender Server Time
11 Nov 2024 19:18:17 EST (-0500)
  Test Landscape Blender (Message 1 to 2 of 2)  
From: HFrik
Subject: Test Landscape Blender
Date: 6 Mar 2003 11:27:00
Message: <3e6776d4@news.povray.org>
Hello,

I made a test landscape in Blender and convert it with 3Dwin4 to

pov-Ray format.

How can I put in a optional normal statement,stone texture or isosurface 
functions,

(smooth,bumps,granite leopard,wrinkles etc.) to the Blender landscape?


Thanks,

H.Frik



Here is the code:

/*

Copyright by Thomas Baier <tho### [at] stmuccom>

Created by POV Export Plugin 1.1 at Thu Mar 06 16:23:50 2003

Master POV file:

*/

#declare V_WorldBoundMin = <-8.183390, -8.183391, 0.000000>;

#declare V_WorldBoundMax = <8.183390, 8.183391, 1.015218>;




#include "colors.inc" // The include files contain

#include "stones.inc" // pre-defined scene elements

#include "textures.inc" // pre-defined scene elements

#include "shapes.inc"

#include "functions.inc"

#include "Landscape_g.inc"


// perspective (default) camera

camera {

location <0.0, -2., 0.1>

look_at <0.0, 0.0, 0.0>

right x*image_width/image_height

}





//camera{ P_def_cam }

object{ P_def_light1 }

object{ P_def_light2 }

//object{ P_def_light3 }

object{P_Mesh 

translate <-.5, -.5, -.5>

scale <0,0,0>

}

sky_sphere {

pigment {

gradient y

color_map {

[ 0.5 color CornflowerBlue ]

[ 1.0 color MidnightBlue ]

}

scale 2

translate -1

}

}


Post a reply to this message


Attachments:
Download 'iso-8859-1' (2 KB)

From: Tom Melly
Subject: Re: Test Landscape Blender
Date: 6 Mar 2003 12:19:58
Message: <3e67833e@news.povray.org>
"HFrik" <fri### [at] zonnetnl> wrote in message news:3e6776d4@news.povray.org...
Hello,


How can I put in a optional normal statement,stone texture or isosurface
functions,

(smooth,bumps,granite leopard,wrinkles etc.) to the Blender landscape?


Assuming you want to apply the normals and textures to the mesh:

#declare MyTexture =
texture{
    pigment{rgb 1}
    normal{wrinkles}
}

object{P_Mesh

translate <-.5, -.5, -.5>

texture{MyTexture}

scale <0,0,0>

}

BTW, scale <0,0,0> isn't any good, but I think it will be ignored (you just
shrunk your mesh to nothing).

As for iso-surfaces, if you mean you want to apply them to your mesh, then I'm
not sure what you mean, since you can't do that. An iso-surface is an
iso-surface, just as a mesh is a mesh. You could add an iso-surface to the
scene, but you will need to get down-n-dirty with pov sdl. RTM time....


Post a reply to this message

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