papillon88 / tectonicus

Automatically exported from code.google.com/p/tectonicus
0 stars 0 forks source link

ArrayIndexOutOfBoundsException on rendering stairs #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ArrayIndexOutOfBoundsException on rendering wooden stairs on Minecraft 1.5.2.

Log file:

java -jar Tectonicus_v2.17.jar config=config.xml
Parsing config from ***\Tectonicus_v2.17\config.xml
 + + + + + + + + + + + + + + + + + + + + + + +
                  Tectonicus
   Version: 2.17
   Build 42\:100M\r\n
   Constructed on June 2 2013 at 1623
 + + + + + + + + + + + + + + + + + + + + + + +
Started on Sat Jun 15 00:19:00 PDT 2013
System:
        OS Name: Windows 7
        OS Architecture: amd64
        OS Version: 6.1
        Java vendor: Oracle Corporation
        Java version: 1.7.0_21
        Awt toolkit: sun.awt.windows.WToolkit
        Headless?: null
Settings:
        mode:CommandLine
        rasteriser:Lwjgl
        outputDir:***\map
        useCache:true
        cacheDir:***\map\Cache
        minecraftJar:***\.minecraft\bin\minecraft.jar
        texturePack:none
        colourDepth:16
        alphaBits:0
        numSamples:0
        tileSize:512
        numZoomLevels:8
        portalsInitiallyVisible:true
        showSpawn:true
        signsInitiallyVisible:true
        playersInitiallyVisible:true
        bedsInitiallyVisible:true
        spawnInitiallyVisible:true
        viewsInitiallyVisible:true
        eraseOutputDir:false
        extractLwjglNatives:true
        isVerbose:false
        forceLoadAwt:false
        force32BitNatives:false
        force64BitNatives:false
        logFile:***\Tectonicus_v2.17\.\TectonicusLog.txt
        outputHtmlName:index.html
        numDownsampleThreads:8
        singlePlayerName:

'***' map
        worldDir: ***\*****-world
        dimension: Terra
        cameraAngle: 45
        cameraElevation: 45
        closestZoomSize: 12
        worldSubset: FullWorldSubset
        useBiomeColours: false
        'Day' layer
                renderStyle: Regular
                lightStyle: Day
                imageFormat: Png
                customBlockConfig:

Using existing player skin cache
Creating player icon assembler
Initialising display...
        Drawable: org.lwjgl.opengl.Display$3@32d8b42e
        created pbuffer: org.lwjgl.opengl.Pbuffer@1c06d198
        used pixel format:   colour:16 depth:16 alpha:0 stencil:0 samples:0
        display created ok
Using rasteriser: tectonicus.rasteriser.lwjgl.LwjglRasteriser@46b1ea74
 -- Lwjgl Rasteriser --
        type: Offscreen
        width: 2048
        heigth: 2048
        pBuffer: org.lwjgl.opengl.Pbuffer@1c06d198
        OpenGL Vendor: ATI Technologies Inc.
        OpenGL Renderer: AMD Radeon HD 6570M/5700 Series
        OpenGL Version: 4.2.11733 Compatibility Profile Context
Creating camera
TileRenderer init complete
StartingRenderer
Starting tile renderer
Loading world from base dir ***\*****-world with dimension Terra
        Full dimension dir: ***\*****-world
Loading level.dat
Loading textures
Creating block registry
Loading players
Loading players from ***\*****-world\players
Loading raw player from ***\*****-world\players\***.dat
Loading raw player from ***\*****-world\players\***.dat
Loading raw player from ***\*****-world\players\***.dat
Loading raw player from ***\*****-world\players\***.dat
Loading raw player from ***\*****-world\players\***.dat
        loaded 5 players
Loading ops from ***\ops.txt
        found 1 players
Detected Anvil save format
CalculatingChunkHashes
Discovering chunks...
Looking for chunks in ***\*****-world
        found 5900 chunks so far
Found 5948 chunks in total
Found 0 views
Finding visible tiles...
FindVisibleTiles
100%
found 9756 total tiles to output
Finding changed tiles since last render...
FindChangedTiles
Generating compass image...
Generating portal image...
Writing signs to ***\map\Map0\signs.js
Outputting players to ***\map\Map0\players.js
        outputting ***
        outputting ***
        outputting ***
        outputting ***
        outputting ***
No skin for player ***
Outputted 5 players
Outputting beds to ***\map\Map0\beds.js
        outputting ***'s bed
        outputting ***'s bed
Outputted 2 beds
Writing portals...
Writing views...
Outputting block stats to ***\map\Map0\blockStats.js
Outputted 102 block counts
Outputting world stats to ***\map\Map0\worldStats.js
Outputted world stats
Finding changed views...
Found 0 changed views (out of 0 total views)
Drawing Day views...
Drawing Night views...
View rendering done!
Settings changed! Deleting tile cache at ***\map\Cache\tileHashes

\Map0\LayerA
New tile cache will be created for this render
1%
...
100%
FindChangedTiles took: 24.825 seconds
RenderBaseTiles
Base render is at zoom 12 with 512x512 tiles
RenderBaseTiles
java.lang.ArrayIndexOutOfBoundsException: 16
        at tectonicus.raw.RawChunk.getBlockData(RawChunk.java:582)
        at tectonicus.blockTypes.Stairs.createSouthStair(Stairs.java:213)
        at tectonicus.blockTypes.Stairs.addEdgeGeometry(Stairs.java:131)
        at tectonicus.Chunk.createGeometry(Chunk.java:147)
        at tectonicus.world.World.draw(World.java:534)
        at tectonicus.world.World.draw(World.java:481)
        at tectonicus.TileRenderer.renderBaseTiles(TileRenderer.java:676)
        at tectonicus.TileRenderer.output(TileRenderer.java:321)
        at tectonicus.TectonicusApp.run(TectonicusApp.java:952)
        at tectonicus.TectonicusApp.main(TectonicusApp.java:1212)
Cleaning up...
Writing player skin cache info (5 skins to write)
100%
Player skin cache written
Finished

Original issue reported on code.google.com by austinwi...@gmail.com on 15 Jun 2013 at 7:41

GoogleCodeExporter commented 9 years ago
Thanks for reporting this.  I'm looking into it.

Original comment by skoeven on 17 Jun 2013 at 8:04

GoogleCodeExporter commented 9 years ago
Please try this updated version and let me know if it fixes the problem for you.

Original comment by skoeven on 18 Jun 2013 at 2:24

Attachments:

GoogleCodeExporter commented 9 years ago
Looks like it worked - thanks for the quick response!

Original comment by austinwi...@gmail.com on 18 Jun 2013 at 4:50

GoogleCodeExporter commented 9 years ago

Original comment by skoeven on 18 Jun 2013 at 7:14