POV-Ray : Newsgroups : povray.general : Generating SDL : Re: Generating SDL Server Time
5 Aug 2024 18:26:24 EDT (-0400)
  Re: Generating SDL  
From: Mr Art
Date: 15 Aug 2002 09:41:24
Message: <3D5BAF6D.9020900@chesapeake.net>
Warp wrote:
>   I can't but wonder how writing this:
> 
> 
>>int main() {
>>	p_camera();begin();
>>		p_look_at(); p_vector(2,3,2);
>>		p_angle(); p_float(135);
>>	end();
> 
> 
>>	box(); begin();
>>		p_float(-1); p_float(9);
>>		p_pigment(); begin();
>>			p_rgb(.8);
>>		end();
>>		p_finish();begin();
>>			p_reflection(); p_float(.3);
>>		end();
>>	end();
>>}
> 
> 
> would be better than writing this:
> 
> 
>>camera { look_at <2,3,2> angle 135 } box { -1 9 pigment { rgb 0.8 } 
>>finish { reflection 0.3 } }
> 
> 

It would seem to be that they are letting the computer do the writing.
Maybe they want to generate some data and let the program genetate
"snapshots" of what is going on that POV will then render...


Post a reply to this message

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