Git Product home page Git Product logo

core's Introduction

DESCRIPTION

libYafaRay is a free open-source montecarlo raytracing engine released under the LGPL 2.1 license. Raytracing is a rendering technique for generating realistic images by tracing the path of light through a 3D scene.

For more information, see: www.yafaray.org

SOURCE CODE

libYafaRay source code is hosted in GitHub: https://github.com/YafaRay/libYafaRay

BUG REPORTS / FEATURE REQUESTS

Please use the GitHub bug tracking system to report bugs in libYafaRay instead of the YafaRay website bug tracking.

Thank you.

YafaRay development Team.

core's People

Contributors

boiko avatar darktide avatar davidbluecame avatar encukou avatar jonasstein avatar martijnberger avatar olafarnold avatar olafhering avatar povmaniaco avatar subcomandante avatar yurivict avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

core's Issues

Blendermat issue: fatal error LNK1120: 1 link extern not resolved

19>blendmat.obj : error LNK2019: símbolo externo "struct yafaray::surfacePoint_t const __cdecl yafaray::blend_surface_points(struct yafaray::surfacePoint_t const &,struct yafaray::surfacePoint_t const &,float)" (?blend_surface_points@yafaray@@ya?BUsurfacePoint_t@1@ABU21@0M@Z) sin resolver al que se hace referencia en la función "public: virtual void __thiscall yafaray::blendMat_t::initBSDF(struct yafaray::renderState_t const &,struct yafaray::surfacePoint_t &,unsigned int &)const " (?initBSDF@blendMat_t@yafaray@@UBEXABUrenderState_t@2@AAUsurfacePoint_t@2@AAI@Z)
19>H:\Core\buildblend33\src\materials\Release\blendermat.dll : fatal error LNK1120: 1 externos sin resolver
19>El registro de compilación se guardó en el "file://h:\Core\buildblend33\src\materials\blendermat.dir\Release\BuildLog.htm"
19>blendermat - 2 errores, 0 advertencias

Sorry for use an Spanish MSVC++ IDE.. :)

Support GPU rendering on SPPM

linking the x64 py binding gives error

hi

i tried today to compile the x64 and got this error:
http://www.pasteall.org/29655

i use windows 7 x64, minwx64 to build, swigwin-2.0.3 patched from the support folder
python 3.2 installed, the other libs are from megasoft,

i confirm that i can build successfully the x32 version with the python bindings!

Default plugin path on linux

The plugins install to the $PREFIX/lib/yafaray by default on linux. However, YafaRay tries to load the plugins from the directory with the scene .xml which obviously doesn't work unless the -pp parameter of yafaray-xml is explicitly set to the $PREFIX/lib/yafaray directory.

I think it would make sense for YafaRay to try the configured system-wide plugin directory automatically as that would make YafaRay work out of the box. On a related note, I didn't find any way to change the plugin directory for rendering from Blender, which means it doesn't work at all because it can't find any plugins.

Is mesh XYZ and camera XYZ convention same?

I could not find any documentations about it. And if I use same convention then my rendered images are appearing to be 90deg rotated as shown below:
image
and
image

Where as it should look like this in orientation:
image

Please maintain SONAME of shared libs

You install libs without a numeric SONAME:

lib/libyafaray_v3_core.so
lib/libyafaray_v3_plugin.so
lib/libyafarayqt.so

If other ports would use yafaray, it would be useful to know if they should be updated or not when the yafaray version changes.

Please allow the python binding to build separately

We can have many python versions installed on FreeBSD at the same time.
Each of them should have its own bindings package.

Please either split out the python bindings into a separate project, or allow to build it separately.

Modernize README

I'd be happy to modernize it for you, using Markdown. Let me know

yafaray xml misleading errormessage

The yafaray xml tool has only one (missleading)[ errormesseage 18:43:54] ERROR: Environment: Specify a Camera!!
It should be better something like "XML not well formed"

How to reproduce:

Add <> to a valid yafraray XML file.
This would make your XML not well formed, but yafaray comlains Specofy Camera!!

fix compile with mingw 4.5.2

megasoft78 wrote:
you need to change file includes/utilities/y_alloc.h
_aligned_malloc(size, bound); with __mingw_aligned_malloc(size, bound);
and _aligned_free(ptr); with __mingw_aligned_free(ptr);

just add __mingw at the begining

fix for this build log: http://www.pasteall.org/19055

Fails to compile with gcc 6.1.1

YafaRay fails to compile with gcc 6.1.1 because it could not find matching std::min definition for yafraycore/imagefilm.cc at lines 1006 and 1007

The problem is that the first argument is unsigned int, while the second argument is int, which means it cannot instantiate std::min template as that requires both argument to be of the same type.

It can be fixed by casting one of the types, eg.:

diff --git a/src/yafraycore/imagefilm.cc b/src/yafraycore/imagefilm.cc
index 4fc05ac..2519383 100755
--- a/src/yafraycore/imagefilm.cc
+++ b/src/yafraycore/imagefilm.cc
@@ -1003,8 +1003,8 @@ void imageFilm_t::setAANoiseParams(bool detect_color_noise, int dark_detection_t
 void imageFilm_t::drawFontBitmap( FT_Bitmap* bitmap, int x, int y)
 {
    int i, j, p, q;
-   int x_max = std::min(x + bitmap->width, dpimage->getWidth());
-   int y_max = std::min(y + bitmap->rows, dpimage->getHeight());
+   int x_max = std::min(static_cast<int>(x + bitmap->width), dpimage->getWidth());
+   int y_max = std::min(static_cast<int>(y + bitmap->rows), dpimage->getHeight());
    color_t textColor(1.f);

    for ( i = x, p = 0; i < x_max; i++, p++ )

However, I can't tell whether this cast is safe, or whether it would be better to cast the second argument.

Assembly code fails on i386

I'm getting this error on FreeBSD:

'flds', 'fldl', or 'fldt')
                "fld %0;"
                ^
<inline asm>:1:2: note: instantiated into assembly here
        fld -12(%ebp);fsqrt;fstp -12(%ebp)
        ^

Please fix the clang warnings

warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
/usr/ports/graphics/yafaray/work/Core-3.0-5-g3a98966/src/yafraycore/imagefilm.cc:1352:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
                delete memblock;
                ^
                      []
/usr/ports/graphics/yafaray/work/Core-3.0-5-g3a98966/src/yafraycore/imagefilm.cc:1347:20: note: allocated with 'new[]' here
                char *memblock = new char [1];
                                 ^
/usr/ports/graphics/yafaray/work/Core-3.0-5-g3a98966/src/gui/qtoutput.cc:47:7: warning: unused variable 'zval' [-Wunused-variable]
        QRgb zval = Qt::black;
             ^
/usr/ports/graphics/yafaray/work/Core-3.0-5-g3a98966/src/gui/qtoutput.cc:67:7: warning: unused variable 'zval' [-Wunused-variable]
        QRgb zval = Qt::black;
             ^
/usr/ports/graphics/yafaray/work/Core-3.0-5-g3a98966/include/integrators/photonintegr.h:43:16: warning: 'yafaray::photonIntegrator_t::causticWorker' hides overloaded virtual function [-Woverloaded-virtual]
                virtual void causticWorker(photonMap_t * causticMap, int threadID, const scene_t *scene, unsigned int nCausPhotons, const pdf1D_t *lightPowerD, int numCLights, const std::string &integratorName, const std::vector<light_t *> &tmplights, int causDepth, progressBar_t *pb, int pbStep, unsigned int &totalPhotonsShot, int maxBounces);
                             ^
/usr/ports/graphics/yafaray/work/Core-3.0-5-g3a98966/include/core_api/mcintegrator.h:60:16: note: hidden overloaded virtual function 'yafaray::mcIntegrator_t::causticWorker' declared here: different number of parameters (12 vs 13)
                virtual void causticWorker(photonMap_t * causticMap, int threadID, const scene_t *scene, unsigned int nCausPhotons, pdf1D_t *lightPowerD, int numLights, const std::string &integratorName, const std::vector<light_t *> &causLights, int causDepth, progressBar_t *pb, int pbStep, unsigned int &totalPhotonsShot);
                             ^

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.