Giter VIP home page Giter VIP logo

blender_with_vray_additions's Introduction

Blender for V-Ray

Requirements

  • SVN
  • Git
  • Cmake
  • Ninja (optional)
  • Library sources:
    • ZMQ version 4.X.X or build from source/install from package manager
    • LibSodium version 1.X.X or build from source/install from package manager, used only as optional dependency of ZMQ
    • libjpeg-turbo OS X/Linux ONLY version 1.X.X or build from source/install from package manager
  • OR Pre-built libraries: GIT repository
  • Compiler:
    • Windows: MSVC 2017
    • Linux: GCC 4.8.X
    • OS X: Any
  • Prebuilt libs for:

Building from source

  • Clone this repository git clone https://github.com/bdancer/blender-for-vray
  • Checkout git branch git checkout dev/vray_for_blender/vb35 (from inside of blender-for-vray)
  • Get all submodules git submodule update --init --recursive
  • Put ZMQ, LibSodium and jpeg in the following structure
    blender-for-vray-libs
    └───<Windows/Linux/Darwin>
        ├───jpeg-turbo
        │   ├───include
        │   └───lib
        │       ├───Debug
        │       └───Release
        ├───sodium (only if ZMQ is build with libsodium support)
        │   └───lib
        │       ├───Debug
        │       └───Release
        └───zmq
            ├───include
            └───lib
                ├───Debug
                └───Release
    
  • Alternatively the requiered libraries can be obtained built from the GIT repository
  • Assuming Windows and all libs are in C:/dev make a build dir C:/dev/build run the following cmake:
    cmake -G "Visual Studio 15 2017 Win64"         \
        -DWITH_VRAY_FOR_BLENDER=ON                 \
        -DLIBS_ROOT=C:/dev/blender-for-vray-libs   \
        -DLIBDIR=C:/dev/win64_vc14                 \
        C:/dev/blender-for-vray                    \
    
  • Open Visual Studion and build the INSTALL project
  • Inside the build folder (C:/dev/build/bin/Debug//scripts/addons) run git clone https://github.com/ChaosGroup/vray_for_blender_exporter vb30
  • Inside the vb30 folder git submodule update --init --recursive

blender_with_vray_additions's People

Contributors

aligorith avatar andresusanopinto avatar bdancer avatar ben2610 avatar brechtvl avatar cwant avatar ddunbar avatar dfelinto avatar dingto avatar elubie avatar gaiaclary avatar ideasman42 avatar jannekarhu avatar jesterking avatar joeedh avatar julianeisel avatar kjym3 avatar lukas-toenne avatar lukastoenne avatar moguri avatar nexyon avatar nicholasbishop avatar poseidon4o avatar psy-fidelious avatar schlaile avatar sergeyvfx avatar significant-bit avatar sybrenstuvel avatar tonroosendaal avatar willianpgermano 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

Watchers

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

blender_with_vray_additions's Issues

vb30: object info node - random option

How can I achieve a similar node setup?
cycles_ramp_random

I'd like to have a node setup to make variations on a base texture and assign every variation to a object in a random way.
How can I do?

Thanks

vb30: Can't delete node tree

In the node editor, I can't seem to find a way to delete a node. I added a node for a spotlight, but it appears those are not working nodes yet (I get errors in the console about MaxSpotlight not loading.) Then when I tried to delete the node tree (selecting the X next to the name in the info panel of the node editor) I could not get rid of it.

losing material nodes vb3 2.71

I did come across an error for a missing bitmap using the latest build (6/16) Seems to only be a problem with absolute paths, and maybe also connected to linking to "UVMap" Named. (one texture kept working when I didn't have a UV map assigned)

It seems once one "image file" node gets broken, then further nodes start to break. I saved and closed a file, then opened it again, and the "world" node was missing. Then another material node...

Also, working with the images in the node editor - if you change the image in the texture tab, the preview in the node editor does not update.

https://dl.dropboxusercontent.com/u/55096303/basic_nodes2.71_testing08c-env-materials-pak.zip

"Error retrieving the file check your connection"

Hi
I wanted to ask about the version vrayblender1-2.71-54660-7ecc3f4-x86_64-windows
because I found that it is stable. However, when I want to update exporter pops up "Error retrieving the file check your connection". The same problem applies to version vrayblender-stable-2.70-54409-fc1c763-windows-x86_64 though my network is all good. Regards

vb30: progressive rendering hangs

I'm trying out the different rendering methods. For some reason, in this one file, progressive gets to about 6% and then does not go any further, nor does the rendering terminate. There may be some conflicting parameter that I'm not aware of (I was playing around with the settings a bit much :) ) I was able to render other scenes fine with progressive, so it may just be I mis-set something.

https://dl.dropboxusercontent.com/u/55096303/cornellbox1-vb30.zip

vb30: HDRI broken

I have been using the nightlies. Since the 8/7 release, HDRI images don't seem to work anymore.

I loaded a previous scene, made no changes, and now there is VERY LITTLE lighting. You can start to see some semblance of reflections on glossy shaders when the illuminance map starts.

I have been using:
Image File Node---> Image Texture Node Bitmap
Environment Mapping Node Spherical-> Image Texture Node Mapping
Output-> Environment Node (All Inputs)
Output-> World Output

This has been working fine.

error message regarding irmap presets

using vb30_2.70_54376

Looks like v/b is trying to find a IM presets menu.

search for unknown menutype VRAY_MT_preset_IM
uiItemM: not found VRAY_MT_preset_IM

Also, when I set irmap for GI, I get the following message continually:

C:\Program Files\VRayBlender-2.70b\2.70\scripts\addons\vb30\ui\properties_render
.py:775
read blend: E:\VRAY\BLENDER\basic_nodes_testing03blayered.blend
search for unknown menutype VRAY_MT_preset_IM
uiItemM: not found VRAY_MT_preset_IM

vb30: link material don't link the nodetree

Usually I create a material library and then I assign a new material linking the material file I need.
But in this way, if I use the same method, I link just the material but not the nodetree.
If I want also the nodetree, I need to link also the nodetree.
In this way I need to do a double operation to assign a material I've already done in another file.
I'm missing something or at the moment it's the only way to do it?

vb30: Material Preview

Hello.

Can you make material preview working like in vb25? And if it is working now, do I have to get vray 3.0 to make it work?

vb30: New Object / Replace Object with Proxy Creator broken since vb30

In the old BfVray, when new object was selected, it would generate a new proxy object, and automatically load the preview mesh. Now, whatever option is selected, the proxy creator only makes the vrmesh file. Would it be possilbe to have the option to create or replace the new object and add an object node tree with the vray proxy node automatically?

Many Thanks!

Rob

vb30: Linked Proxiy Object Made local - node trees aren't reloaded

To reproduce -

  1. Link a proxy object
  2. Make object local, data and materials local (L Key)
  3. Save, and reopen the file.

Object node tree - should be missing (as if it has no fake user).
Material Nodes - Materials are made local and remain but the material nodes are no longer linked to the materials. Node trees are still linked to the file though (prefix 'LF' in the node tree pull down in the material node editor) but they're not attached to the material anymore.

Hope this is clear. :)

Rob

vb30: Crash on save

Dear Andrei,

Sorry to be putting alot on here! I'm getting a rather worrying problem this time.

When I've been modifiying adding or otherwise working on the material nodes, I regularly (around 50% of the time) get a crash when I save my blend file. The worst bit is, that it crashes and closes blender before I save my changes.

Its happened quite a few times today, using the build which saves all material nodes on save, so I think it may be that which is doing it. I have also been getting alot of crash and closes happening when trying to import materials from another file or when trying to import objects with materials on them

Unfortunately, there I haven't isolated what I have to do to get the crash, and as it closes immediately, there is no console output.

Hope this one is an easy fix, its a bit of a big issue!

Thanks again for all the work! 👍

Rob.

vb30: Texture preview in Properties undre the 'n' Panel not updating

Hi,

This bug happens when I select a texture file node in the node editor.

The preview image which is in 'n' panel on the RHS node editor under 'Properties' does not automatically refresh when changing between different image file node in the tree.

To get the preview to update to the cureently selected file, the preview has to be resized manually.

Hope this is an easy one! :

vb: VrayMultiSubTex node - how to?

In 3dsmax I often use the useful VrayMultiSubTex to assign different diffuse map to a single material.
In Blender+Cycles I've found a way to emulate it using the ObjectPassIndex+ a Cycles NodesGroup made by a BlenderArtist user modified by me to expand the slot available.
is there a way to emulate it with vray4Blender?
below an example of what I'm speaking about
cycles_mutisubobject

vb30: Geometry displacement preview

Hello,

I tried to have displacement geometry preview, but it doesn't work. Material with Bump BRDF is working, but when I remove this function and assign displacement geometry in object node it don't affect on material preview. Is there any chance to get this preview?

DR slaves list - doesn't remember which is active

It seems that each time I start v/b, each node in my saved config is enabled, even though I disabled one node in my previous session. Is it possible to saved enabled/ disabled state of DR nodes with the config file?

vb30: AutoSmooth is working?

I've done a test trying to using the new Autosmooth but it seems that vray ignores the smoothing I see in the viewport.

update to vray standalone 30505 - DR paths massed up

I've also submitted a bug report to CG, but you may have insight into this. When I updated my build from 30504 (23949) to 30505 (24273), something got messed up with my asset paths in using DR. When I render locally, the asset paths map correctly (i.e. z:\assets\bitmap.png) but when I turn on DR, the same assets get mapped to a relative local folder that doesn't exist, something like this: \rendernode01[local-user-paths]\assets\bitmap.png

vb25 DR asset transfer error

I am using the 2.70 master branch, and there is an error message that keeps being written about VRayDR.type script missing. Here is the console window screengrab
vb-270-error-vraydr type

2.70 -53767

i tried this build but don't works texture uv mapped ,on vray materials,in the preview seems works but in the render don't appear, while if i uncheck uv map works
Vray is 2.0

unable to create proxy

log output:
" File "C:\Program Files\VRayBlender-2.71\2.71\scripts
ne 244, in execute
frameStep = frameStep,
TypeError: Required argument 'data' (pos 4) not found"

I've been trying differrent versions of Blender last one had Hash b75fa81 from nigtlies builds. And latest exporter.

Regards

Martin

Proxy problem, latest build and exporter

This problem was resolved but appered once again
I've uninstalled blender deleted all files from folder, installed latest nightlies and thgis pops up - Console output:
"Traceback (most recent call last):
File "C:\Program Files\VRayBlender-2.71\2.71\scripts\addons\vb30\proxy.py", li
ne 287, in execute
drSharePath = "",
TypeError: function takes at most 12 arguments (13 given)

location: :-1

location: :-1"

vb30: Vray Frame Buffer and Auto Close - Strange behaviour

I've noticved that with Vray3.0 from the nightlies section, the Frame buffer always opens once and renders for a few seconds, then closes. Then it opens again and renders the full frame.

If you want to cancel a render, you always have to stop and close the frame buffer twice. If you let a frame complete, it always starts the render twice. Its not stopping any work, but it is annoying. :)

Along with this, 'Auto-Close' option has no effect, and the frame buffer must be closed manually after every render.

I also noticed (perhaps related) that in material preview mode, the terminal window continuously opens and closes.

None of the above occurs when using Vray 2.4 - could be a Vray issue?

Rob

vb30: texture preview blender+cycles like

In terms of speeding up our job, I've found useful how blender+cycles previews textures.
I'm speaking about cycles because with blender internal render engine the preview texture workflow is the same of vray4blender.
Blender&Cycles preview the texture that is selected in the node editor and this is very speedy and intuitive.
In 3dsmax, to preview a texture, you have to click a button in the material editor...so it's just one click away if you have the material editor opened.
In cycles it's nearly the same because you have just to selected the "image texture" node you want to preview.
It could be good to have the same...and it could be perfect if, using many UVmap, you can show the texture with the correct UVmpa (if defined obviously, if not you use the first UVmap)

EDIT: Sorry, probably i've already asked this. Anyway I didn't find any of this here...

vb30: New node trees created using 'add material' button have no fake user

Dear Andrei,

Im using latest build from nightlies.

When a new material is created, (properties panel>Material list>pull down>'+'button), it duplicates the material and adds .001 etc, but also duplicates the node tree and adds .001 etc.

The newly created node tree has no fake user and therefore is lost on save and reopen.

Hope this helps.

Rob.

can't remove layer in brdf layer node (vb30)

I can add layers, but when I click on the minus sign, I get an error and can't remove layers

error in console:

(drat, sorry, I had it copied to a file somewhere. I'm on another computer right now, I'll have to add it later if you need.)

is "sky" module included yet?

I tried to add a "sky" node to my env background:

2014-06-01_140503

and got the following error and no render starting

Error: 'module' object has no attribute 'GetObjectName'

Is this an error, or is just a piece that's not in vb30 yet? No worries if it's just a to-do item. It's looking great so far!

vb30: manual export?

Would it be possible to keep a manual export of the vrscene as an option? I'm getting blank renders with some of my scenes, and it's hard to figure out what is at issue. I liked being able to export my scene manually so I could look at the errors before it starts rendering.

vb30: Camera scale adjustment breaks UV mapping

When a camera used to render is not scale 1,1,1 (I sometimes scale the camera up to see what parts of the scene are in shot) UV mapped textures don't render properly.

The maps are either removed or scaled extremely.

vb30: addon fail

Hi, I try use VB3,0 Render addon by clicking, but I get this reports:

vb3 0 error
vb3 - error

I know, that I must give my build name, but this happened with all. I have two machines. With HP workstation all is great, but with my second machine something is wrong. Can you help me?

vb30: Error: Run error: [WinError 5] Access is denied

Now I can't render.
I've just start blender, enabled the vb3 addon, disabled the "Detect Vray" option, insert the path to the vray.exe "C:\Program Files\Chaos Group\V-Ray\RT for 3ds Max 2012 for x64\bin" , press Render and I've this error message.

If I use "Detect Vray" I have this error
V-Ray For Blender: Exporting data for frame 1...
V-Ray For Blender: Exporting data for frame 1 done [00:00.00]
Error: Run error: name 'debug' is not defined

vb30: Smooth-Flat Faces, Edge Split errors

Hello everyone, I've some problems with my geometry faces control. I don't know, that this is build's or blender's error. Before 2,71 and vb30 I didn't have this problem. So I must pick Edge Split Modifier option even I've flat faces geometry with flat shading option. My blender is vrayblender3-2.71-55460-7139afe-x86_64-windows

flatsmoothedgesplit05
Scene

flatsmoothedgesplit01
Edge Split Modifier unpick, Shading Flat

flatsmoothedgesplit02
Edge Split Modifier pick, Shading Flat

flatsmoothedgesplit08
Scene with Shower Object. It is imported from SolidWorks with STL format.

flatsmoothedgesplit06
Edge Split Modifier unpick, Shading Flat

flatsmoothedgesplit07
Edge Split Modifier pick, Shading Flat

Maybe I made something wrong, but it didn't happened before.

No nightlies builds

I'm trying to follow the instructions but https://nightlies.chaosgroup.com/ shows no builds for me. Tried replacing the add-on version on the chaosgroup page blender (2.69) but I get a " 'module' has no attribute 'start' " error, even if I re-start.
Mac OSX maverics.

vb30: why that white reflection?

As you can see in the image below, I have a "strange" (for me) white environment reflection. I've noted that the white color is the same I have in the node material but how can I reflect the background color instead of the "Environment Override" color I found in the VrayMtl node?

vray_blender_2

vb30: vray object properties suggestion

I don't know your plans about the interface but coming from the 3dsmax, I found useful to have less places as possible where tweak settings.
Vray is a big renderer full of functionalities and to set them you need many buttons, text fields and the other UI elements.
To reduce the diffusion of Vray UI elements through the Blender interface I suggest to regroup them in dedicated areas.
For example the "Vray object properties" in 3dsmax is gathered in a single windows (accessible with right mouse button when one or more objects are selected).
In Blender is it possible to position as image below?
vray_object_properties

Probably you have just tried to do it and for some reason is not a good solution, so if you think it's not a good, please let me know :)

vb30: auto connect a nodetree to the material

is it possible to attach a new nodetree to the material when I create a new material?

I know that it's not difficult to press "+" to create the nodetree but one click less is always welcome.
Obviously the "+" button still remain and also the possibility to attach an existing nodetree.

nightly build has both vb25 and vb30 plugin

Just wanted to confirm that the idea is to delete the one that is not used. When I started vb out of the box, there was an error loading vray rendering. Once I deleted the one I was not using everything worked fine.

vb30: Glass settings from vb2 work differently

Dear Andrei,

I have been setting up a glass material in vb3, as have found some difference in the way reflection values affect a glass material.

In vb2 with vray 2.4, you use 100% balck for diffuse colour, 100% white for relection and 100% white for refraction.

Now, reflection is best set at around 30% white, otherwise it looks just like a mirror.

I thought this could be a gamma thing, or maybe another setting I've missed. It could be that vb2 was wrong and you've fixed it, or that Vray 3 works differently to Vray 2.4 now.

Its not a problem for me either way, but relfection values seem to be affecting vray differently now, so thought I'd mention it in case this highlights an issue.

Rob.

vb30: is DR working?

The panels are there, but when I try to use it, distributed rendering is not working. Is it still in progress?

vb30: Vray DR cannot use the render slave

I've downloaded this build "vrayblender-vb30-2.70-54339-4d1ec4d-windows-x86_64.exe" but I cannot use the render slave.

The render slave is the same I use successfully with 3dsmax so I think that the firewall or network communication is correct. I use the same port.

This is renderslave when starts.

V-Ray\RT for 3ds Max 2012 for x64\bin/vrayconfig.xml"
[2014/May/29|11:40:56] ===============================================
[2014/May/29|11:40:56] V-Ray Standalone, version 3.00.07 for x64
[2014/May/29|11:40:56] Copyright (C) 2000-2012 Chaos Group Ltd. All rights reser
ved.
[2014/May/29|11:40:56] Use -credits option for additional third-party copyright
notices.
[2014/May/29|11:40:56]
[2014/May/29|11:40:56] Build from May 24 2014, 12:26:55
[2014/May/29|11:40:56] Compiled with Intel C++ compiler, version 14
[2014/May/29|11:40:56] Operating system is Microsoft(tm) Windows(tm), version 6.
1, Service Pack 1
[2014/May/29|11:40:56]
[2014/May/29|11:40:56] V-Ray core version is 3.00.07
[2014/May/29|11:40:56] ===============================================
[2014/May/29|11:40:56]
[2014/May/29|11:40:56] Loading plugins from "C:\Program Files\Chaos Group\V-Ray
RT for 3ds Max 2012 for x64\bin/plugins/vray__.dll"
[2014/May/29|11:40:57] 160 plugin(s) loaded successfully
[2014/May/29|11:40:57] Loading plugins from "C:\Program Files\Chaos Group\V-Ray
RT for 3ds Max 2012 for x64\bin/plugins/std__.dll"
[2014/May/29|11:40:57] Finished loading plugins.

[2014/May/29|11:40:57] Entering server mode - waiting for render requests on port 20204. Press Ctrl+C to exit.

In the workstation Vray4Blender console I've this (after the vray plugin loading)

[2014/May/29|11:41:11] Finished loading plugins.
[2014/May/29|11:41:11] Reading scene file "Y:\temp_vray\scene.vrscene"
[2014/May/29|11:41:11] Y:\temp_vray\scene.vrscene: done [ 0h 0m 0.0s]

[2014/May/29|11:41:11] Scene file parsed successfully in 0.0 s.
[2014/May/29|11:41:11] warning: Unknown property "div_shade_subdivs" in object "
SettingsDMCSampler"
[2014/May/29|11:41:11] warning: Unknown property "min_shade_rate" in object "Set
tingsImageSampler"
[2014/May/29|11:41:11] Scene created successfully.
[2014/May/29|11:41:11] Objects in scene: 43
[2014/May/29|11:41:11] Starting render sequence.
[2014/May/29|11:41:11] Preparing renderer...
[2014/May/29|11:41:11] Preparing scene for rendering...
[2014/May/29|11:41:11] [RenderView] startCameraTime=0.000000, endCameraTime=2.00
0000
[2014/May/29|11:41:11] [RenderView] numCameraTMs=4, numFrames=2, frameSamples=2
[2014/May/29|11:41:11] Preparing scene for rendering...: done [ 0h 0m 0.0s]

[2014/May/29|11:41:11] Initializing built-in VFB.
[2014/May/29|11:41:12] [RenderView] startCameraTime=0.000000, endCameraTime=2.00
0000
[2014/May/29|11:41:12] [RenderView] numCameraTMs=4, numFrames=2, frameSamples=2
[2014/May/29|11:41:12] Starting DR 0
[2014/May/29|11:41:12] warning: Could not use any of the selected (0) hosts for
distributed rendering!
[2014/May/29|11:41:12] ========================
[2014/May/29|11:41:12] Starting frame 1.
[2014/May/29|11:41:12] Preparing camera sampler.
[2014/May/29|11:41:12] Preparing scene for frame...
[2014/May/29|11:41:12] Setting up 4 thread(s) 47.5s] [ 0h 0m 0.0s est]

............... (I've cut it because after start the local rendering image process)

The "Asset sharing" mode is "Vray Transfer", but I've tried also the other ones but it's the same.

What do you think is wrong?
Thanks in advance

vb30: typo errors

I've found these typo errors into render settings.
I've checked in the others panels but it seems ok. (at least for my English language knowledge)
typo_errors

vb30: Override material bug

Hello!

When I'm using Override material function in Globals - displace map doesn`t work. It strange, because this map is connect to object, not material. And when it unpick back Override function render is black. Only visible are lights without any geometry object. Please Bdancer check this.

Regards

vb30: vraymat reflection fresnel value not working

it seems that changing the fresnel value doesn't change the rendered material (at least in the material preview)

More precisely.
If you turn ON "Fresnel" (for the reflection) and change both the value in the material panel and node editor , the material preview doesn't change.
If you change the Refract IOR in the node editor, the material preview changes.
And this both with reflection fresnel ON and OFF

vb30: scene_nodes.vrscene error

Hello!

I have problem, when I`m using scene made in build before 2014-08-11 with new builds. This message appear in console:

scene_nodes_vrscene_error

When I create new scene and new materials all is ok, but when I import object with assigned materials v-ray don`t work.

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.