POV-Ray : Newsgroups : povray.general : Rune? Christoph Hormann? : Re: Thanks you two Server Time
5 Nov 2024 15:56:22 EST (-0500)
  Re: Thanks you two  
From: Ian J  Burgmyer
Date: 16 Mar 2003 01:39:54
Message: <3e741c3a$1@news.povray.org>
S McAvoy's furious key-hammering produced this:
> I noticed the same slow times using SDL I wrote a Basic programme that I
> called from Pov which created a tga to be used as a heightfield. It worked ok
> but I had problems with the size and memory. I could not use an array larger
> than 121*121. I have been trying to redo the programme in C++ but am having
> problems.

What flavor of Basic are you using?  If you're using QBasic I can definitely
see where you're running into a problem (64K memory limit for data).  If you
send me the code I can do a quick VB port for you since the code is so similar.
VB doesn't have the strict memory requirements that QB does and can still run
without having a user interface pop up.

Well, on second thought, I can do it if you're using Windows. :) If you're using
Linux or something like that then a C++ port will probably be the way to go.

-- 
/*^*/light_source{100*<-5,2,-5>2}#macro I(i,n)#while(strlen(i)>=n)#local A=asc(
substr(i,n,1));#local a=asc(substr(i,n+1,1));cylinder{<div(A,8)-12,mod(A,8)-4,4
><div(a,8)-12,mod(a,8)-4,4>,0.1pigment{rgb z}}#local n=n+2;#end#end I("ScUe[]"1
/*<*/)I("mkmtlttk"1)//@_$#!,:<"Thhis polysig brought to you by Ian Burgmyer :)"


Post a reply to this message

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