Giter Site home page Giter Site logo

Crytek sponza not working :'( about pt HOT 2 OPEN

 avatar commented on July 22, 2024
Crytek sponza not working :'(

from pt.

Comments (2)

 avatar commented on July 22, 2024

Okay, I changed textures.... (rm bump of roof)

But got this error


[Iteration 1 of 1000]
Building k-d tree (262267 shapes)... OK
Building k-d tree (2 shapes)... OK
960 x 540 pixels, 1 spp, 4 cores
  19 / 540 (  3%) [=                                 ] 0:00:00 892.8k panic: runtime error: index out of range

goroutine 5 [running]:
panic(0x505b60, 0xc04200c040)
        C:/Go/src/runtime/panic.go:500 +0x1af
_/C_/Users/acterhd/Downloads/pt-master/pt.(*ColorTexture).bilinearSample(0xc0420904b0, 0x3fe7aabde161d42a, 0x3ff0000000000000, 0x407a9bd4f8009550, 0x0, 0x40826f83ac14a23b)
        C:/Users/acterhd/Downloads/pt-master/pt/texture.go:85 +0x2b6
_/C_/Users/acterhd/Downloads/pt-master/pt.(*ColorTexture).Sample(0xc0420904b0, 0x3fe7aabde161d42a, 0x0, 0xbff0000000000000, 0x0, 0x3ff0000000000000)
        C:/Users/acterhd/Downloads/pt-master/pt/texture.go:99 +0xbe
_/C_/Users/acterhd/Downloads/pt-master/pt.(*ColorTexture).NormalSample(0xc0420904b0, 0x3fe7aabde161d42a, 0x0, 0x0, 0xbff0000000000000, 0x0)
        C:/Users/acterhd/Downloads/pt-master/pt/texture.go:103 +0x4e
_/C_/Users/acterhd/Downloads/pt-master/pt.(*Triangle).NormalAt(0xc086f36c40, 0xc079274bfdb29960, 0x406ec7ec56d5cfac, 0x408337b309db3dae, 0xc086f36c40, 0x407a9bd4f8009550, 0x0)
        C:/Users/acterhd/Downloads/pt-master/pt/triangle.go:97 +0x5d8
_/C_/Users/acterhd/Downloads/pt-master/pt.(*Hit).Info(0xc0b2dc6b70, 0xc047a31ff4ed7a0c, 0x40271810624dd2e0, 0x408317f3c3023fd6, 0xbfeab256c2fec40a, 0x3fe1a410b10a7d60, 0x3f8316fc5afaf20d, 0x0, 0x0, 0x0, ...)
        C:/Users/acterhd/Downloads/pt-master/pt/hit.go:30 +0x13c
_/C_/Users/acterhd/Downloads/pt-master/pt.(*DefaultSampler).sample(0xc094502420, 0xc04207c070, 0xc047a31ff4ed7a0c, 0x40271810624dd2e0, 0x408317f3c3023fd6, 0xbfeab256c2fec40a, 0x3fe1a410b10a7d60, 0x3f8316fc5afaf20d, 0x3fe2c839d4860b01, 0x1, ...)
        C:/Users/acterhd/Downloads/pt-master/pt/sampler.go:64 +0x121
_/C_/Users/acterhd/Downloads/pt-master/pt.(*DefaultSampler).sample(0xc094502420, 0xc04207c070, 0xc039de19614f59ae, 0x405efbec56d5cfaa, 0x40721ddf17a5bb55, 0xbfb013592c041b88, 0xbfd5198ee0e5647b, 0x3fee24ddd921c491, 0x3fde3db7c953ae01, 0x1, ...)
        C:/Users/acterhd/Downloads/pt-master/pt/sampler.go:93 +0x6a1
_/C_/Users/acterhd/Downloads/pt-master/pt.(*DefaultSampler).sample(0xc094502420, 0xc04207c070, 0x40077c2eb12d5867, 0x40271810624dd2f0, 0xc003ad114f974ba0, 0xbfb771e424b4ae46, 0x3fd6decd3cc95608, 0x3fedbe381b97e19f, 0x3f76834721f39601, 0x1, ...)
        C:/Users/acterhd/Downloads/pt-master/pt/sampler.go:93 +0x6a1
_/C_/Users/acterhd/Downloads/pt-master/pt.(*DefaultSampler).sample(0xc094502420, 0xc04207c070, 0x400b6c480bce5488, 0x4024ed42c3c9eec8, 0xc009be8aa4d4d49d, 0xbfd65250b438eda8, 0x3fe891b3433a1dd8, 0x3fe132dc6ba501b7, 0x3fdd582c48ab8900, 0x1, ...)
        C:/Users/acterhd/Downloads/pt-master/pt/sampler.go:93 +0x6a1
_/C_/Users/acterhd/Downloads/pt-master/pt.(*DefaultSampler).sample(0xc094502420, 0xc04207c070, 0xc024000000000000, 0x4000000000000000, 0x0, 0x3fea881998d68c80, 0x3fe0b8f73a6ff40f, 0xbfc96f0146b8da6b, 0x46f601, 0x4, ...)
        C:/Users/acterhd/Downloads/pt-master/pt/sampler.go:99 +0x4e1
_/C_/Users/acterhd/Downloads/pt-master/pt.(*DefaultSampler).Sample(0xc094502420, 0xc04207c070, 0xc024000000000000, 0x4000000000000000, 0x0, 0x3fea881998d68c80, 0x3fe0b8f73a6ff40f, 0xbfc96f0146b8da6b, 0xc0b2dbe000, 0x4000000000000000, ...)
        C:/Users/acterhd/Downloads/pt-master/pt/sampler.go:53 +0x8c
_/C_/Users/acterhd/Downloads/pt-master/pt.(*Renderer).run.func1(0x21c, 0x4, 0x3c0, 0xc04207c150, 0x1, 0xc08351c580, 0x5a62c0, 0xc094502420, 0xc04207c070, 0xc094502450, ...)
        C:/Users/acterhd/Downloads/pt-master/pt/renderer.go:86 +0x9a9
created by _/C_/Users/acterhd/Downloads/pt-master/pt.(*Renderer).run
        C:/Users/acterhd/Downloads/pt-master/pt/renderer.go:119 +0x392
exit status 2

from pt.

dakerfp avatar dakerfp commented on July 22, 2024

I just properly renamed the filenames. It worked.

from pt.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.