POV-Ray : Newsgroups : povray.newusers : Conversione file .stl in .inc per povray : Re: Conversione file .stl in .inc per povray Server Time
12 Apr 2025 16:19:34 EDT (-0400)
  Re: Conversione file .stl in .inc per povray  
From: Bald Eagle
Date: 29 Mar 2025 08:50:00
Message: <web.67e7ec2aae42d83b1f9dae3025979125@news.povray.org>
As MichaelJF pointed out, you need to have some sort of LIGHT source to be able
to see your mesh.

Try this:


#version 3.8;
global_settings {
 assumed_gamma 1.0
}

#declare Location = <0, -12, -40>;
camera {
 location Location
 right x*image_width/image_height
 up y
 look_at <0, -12, 0>
}

sky_sphere {pigment {rgb 1}}
light_source {<20, 0, -50> rgb 1}

#declare E = 0.00001;
#include "l383hdt.inc"

#declare Min = min_extent (m_L383HDT);
#declare Max = max_extent (m_L383HDT);

#debug concat ("Min = ", vstr(3, Min, ", ", 0, 3), " \n")
#debug concat ("Max = ", vstr(3, Max, ", ", 0, 3), " \n")

object {m_L383HDT texture {pigment {rgb z*0.2} finish {specular 0.2}} rotate
x*90 translate y*Max.y }

- Bill


Post a reply to this message

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