Quantcast
Viewing all articles
Browse latest Browse all 40524

I need translate processing sketch of mandelbrot set to OF code

Good day all people.

I need help with translate processing sktech to OF.

Here its de original processing sketch: www.openprocessing.org/sketch/333
This draw and make a zoom to selectad area with mouse.

Mi OF version its here: https://github.com/lozdanmultimedial/Tesis-2015/tree/master/fractal1

The run time error its: double free or corruption(out): 0x0000000000ea5080 ***

above its the call stack.

Thankfull for your help.

(if possible answer in spanish)

------------------------------------------------------- Español ---------
Buen dia a todos.

Solicito ayuda con la siguiente cuestión:
necesito traducir el siguiente sketch de processing a OF : www.openprocessing.org/sketch/333 que dibuja y navega haciendo zoom seleccioando el area a explorar con el mouse.

Mi version OF de las partes principales es la siguiente:

https://github.com/lozdanmultimedial/Tesis-2015/tree/master/fractal1

El error en tiempo de ejecucion es el siguiente: double free or corruption(out): 0x0000000000ea5080 ***
abajo copia del call Satck
Agradezco ayuda. desde ya muchas gracias.

Call Stack:

0 0x7ffff4540cc9 _GIraise(sig=sig@entry=6) (../nptl/sysdeps/unix/sysv/linux/raise.c:56) #1 0x7ffff45440d8 _GIabort() (abort.c:89) #2 0x7ffff457d394 _libcmessage(do_abort=do_abort@entry=1, fmt=fmt@entry=0x7ffff468bb28 "*** Error in `%s': %s: 0x%s ***\n") (../sysdeps/posix/libc_fatal.c:175) #3 ?? 0x00007ffff458966e in malloc_printerr (ptr=, str=0x7ffff468bc58 "double free or corruption (out)", action=1) (malloc.c:4996) #4 ?? intfree (av=, p=, have_lock=0) (malloc.c:3840) #5 0x4754cd ofPixels_::clear(this=0x7fffffffdc90) (../../../libs/openFrameworks/graphics/ofPixels.cpp:233) #6 0x474a22 ofPixels_::~ofPixels_(this=0x7fffffffdc90, _inchrg=) (../../../libs/openFrameworks/graphics/ofPixels.cpp:30) #7 0x4188dd ofApp::setPixAt(this=0xe79820, x=-2,49755859375, y=-0,99853515625, c=-2) (src/ofApp.cpp:140) #8 0x418df5 ofApp::solveFor(this=0xe79820, x=-320,27949320087328, y=-455,8045566620886) (src/ofApp.cpp:193) #9 0x41878b ofApp::renderizar(this=0xe79820) (src/ofApp.cpp:125) #10 0x41868e ofApp::setCamBoundaries(this=0xe79820, xmi=-2,5, xma=2,5, ymi=-1,748046875, yma=1,748046875, autoRender=true) (src/ofApp.cpp:103) #11 0x4184f1 ofApp::setCamBoundaries(this=0xe79820, xmi=-2,5, xma=2,5, ymi=-1,748046875, yma=1,748046875) (src/ofApp.cpp:86) #12 0x418442 ofApp::setCam(this=0xe79820, xmi=-2,5, xma=2,5, ymi=-2,5, yma=2,5) (src/ofApp.cpp:82) #13 0x418176 ofApp::resetCam(this=0xe79820) (src/ofApp.cpp:65) #14 0x417d36 ofApp::setup(this=0xe79820) (src/ofApp.cpp:33) #15 0x415eed ofBaseApp::setup(this=0xe79820, args=...) (../../../libs/openFrameworks/app/ofBaseApp.h:40) #16 0x52eb46 Poco::PriorityDelegate::notify(this=0xe3efa0, sender=0x0, arguments=...) (../../../libs/poco/include/Poco/PriorityDelegate.h:168) #17 0x4c474b Poco::PriorityStrategy >::notify(this=0x7fffffffe270, sender=0x0, arguments=...) (../../../libs/poco/include/Poco/PriorityStrategy.h:81) #18 0x4c32f2 Poco::AbstractEvent >, Poco::AbstractPriorityDelegate, Poco::FastMutex>::notify(this=0xe77ae0, pSender=0x0, args=...) (../../../libs/poco/include/Poco/AbstractEvent.h:241) #19 0x4c2935 ofNotifyEvent, ofEventArgs>(event=..., args=...) (../../../libs/openFrameworks/events/ofEventUtils.h:172) #20 0x4c1350 ofNotifySetup() (../../../libs/openFrameworks/events/ofEvents.cpp:115) #21 0x52fec9 ofAppGLFWWindow::runAppViaInfiniteLoop(this=0x9f6580, appPtr=0xe79820) (../../../libs/openFrameworks/app/ofAppGLFWWindow.cpp:294) #22 0x529151 ofRunApp(OFSA=0xe79820) (../../../libs/openFrameworks/app/ofAppRunner.cpp:138) #23 0x41597a main() (src/main.cpp:11)


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>