Changes

Jump to navigation Jump to search
no edit summary
Line 7: Line 7:  
It doesn't work! Here is the code im using(i had to transelate it):
 
It doesn't work! Here is the code im using(i had to transelate it):
 
<source lang="">Dim $ImageOutput[4072]
 
<source lang="">Dim $ImageOutput[4072]
for x=0 to 46 step 1
+
for $x=0 to 46 step 1
 
{
 
{
for y=0 to 7 step 1
+
for $y=0 to 7 step 1
 
{
 
{
for z=0 To 7 Step 1
+
for $z=0 To 7 Step 1
 
{
 
{
 
ImageOutput[($x*64)+(16*$y)+(4*$z)]  = RawImage[($x*64)+(32*$z)+(4*$y)]
 
ImageOutput[($x*64)+(16*$y)+(4*$z)]  = RawImage[($x*64)+(32*$z)+(4*$y)]
Line 35: Line 35:     
- [[User:Remark|Remark]] 21:52, 24 December 2009 (UTC)
 
- [[User:Remark|Remark]] 21:52, 24 December 2009 (UTC)
 +
 +
----
 +
 +
I had to set the RawImage and the ImageOutput arrays to 1000 more pixels than needed to avoid the segfault.
 +
 +
I think i'll try again tomorrow. but now im off to bed:)--[[User:Pbsds|pbsds]] 00:39, 25 December 2009 (UTC)
104

edits

Navigation menu