--
You received this message because you are subscribed to the Google Groups "gaffer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.




> is the "no manipulators for lights in the open source version" still a thing, or has this been addressed?We do have basic manipulators in Gaffer now, you can find them on the left-hand side of the viewer. Just the basic TRS for now though, we don't have the fancier features yet (e.g. snap-to-vertex). Keep in mind, if you're reading lights from a cache file (as opposed to dropping down light nodes in the graph) you'll need to add a Transform node filtered to your light location. The manipulators will look upstream of the viewed node and make a best guess where to store the values. The biggest thing we're missing currently is a convenient way of moving a light (or camera) while you're looking through it. We are hoping to get that one in sooner, as its become a priority at IE, but I can't promise a timeline just yet.
kick -info conenode: conetype: shapeoutput: (null)parameters: 24filename: <built-in>version: 5.0.2.3
Type Name Default------------ -------------------------------- --------------------------------BYTE visibility 255BYTE sidedness 255BOOL receive_shadows trueBOOL self_shadows trueBOOL invert_normals falseFLOAT ray_bias 1e-06MATRIX[] matrix (empty)ENUM transform_type rotate_about_centerNODE[] shader (empty)BOOL opaque trueBOOL matte falseBOOL use_light_group falseNODE[] light_group (empty)BOOL use_shadow_group falseNODE[] shadow_group (empty)STRING[] trace_sets (empty)FLOAT motion_start 0FLOAT motion_end 1UINT id 0VECTOR bottom 0, 0, -0.5VECTOR top 0, 0, 0.5FLOAT bottom_radius 0.5FLOAT top_radius 0STRING name samh@bladerunner ~/gaffer/projects/default/asses/fuzz/ run in htoa/latest yeti/latest : kick -info pgYetiArnoldnode: pgYetiArnoldtype: shapeoutput: (null)parameters: 33filename: /asset/common/software/thirdparty/yeti/2.2.3-build2/arch/linux-any/x86_64/maya2017/lib/pgYetiArnold.soversion: 5.0.1.3
Type Name Default------------ -------------------------------- --------------------------------BYTE visibility 255BYTE sidedness 255BOOL receive_shadows trueBOOL self_shadows trueBOOL invert_normals falseFLOAT ray_bias 1e-06MATRIX[] matrix (empty)ENUM transform_type rotate_about_centerNODE[] shader (empty)BOOL opaque trueBOOL matte falseBOOL use_light_group falseNODE[] light_group (empty)BOOL use_shadow_group falseNODE[] shadow_group (empty)STRING[] trace_sets (empty)FLOAT motion_start 0FLOAT motion_end 1UINT id 0BOOL override_nodes falseSTRING namespace INT frame 1INT verbosity 0FLOAT density 1FLOAT width 1FLOAT length 1STRING filename STRING imageSearchPath BOOL frameRelativeSamples falseBOOL setDeformTimeSamples falseBOOL setFrameRelativeDeformTimeSam... falseFLOAT[] samples (empty)STRING name ### created by instance:ceead697a99de4a4c02b3afcd84474b0curves{ name |hair_grp|nodes|yeti_hair|yeti_hairShape|scatter1_geoShape_grow1 visibility 0 self_shadows on matrix 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 opaque on motion_start 0 motion_end 1 num_points 49611 1 b85UINTB!(4QdX$$%`q(4Qd points 644943 1 b85VECTOR8.MU38t=GLb-9dV8.MU38t=GLb-9dV8/YhT8t=C)b-I%u8/JP*8t@R6b-X6r80gAi8t@QOb-gIM81'X58t>_wb-w)980C@v8t?J/b.1Vo813Xb8tE%.b.@@.83C,88tIM2b.Nrw84U.08tJ+Vb.^/684R=s8tIDEb.m[D83U'N8tHiWb/(6183U'N8tHiWb/(618>;0-8cX[a8>=I58>;0-8cX[a8>=I58=qYD8cQ+r8;HMO8>3w58cLM087q^28>xux8cBMH82H7c8?2G&8c2[_8-5]c8>Yu_8c'p'7xl)G8>=S58c$k77g)qB8>NMI8bs>d`d1/?8>IOb8bcVUa**A78>bS18bVGFa4jR`8>VrZ8bTJqa;vQg8>VrZ8bTJqa;vQgai1+h8kF//8NI4Bai1+h8kF//8NI4BaiT@Q8k?I)8MJKYai]T:8k>qr8L9%>aibq28k<S\8K&9Oaienh8k<+w8IfPAaimaJ8k>F]8HSa.aj)fq8k>D58GGDKaj9^.8k:lU8EiNtajD\i8k4Q38CNQ8ajOhD8k/am8A2tuaj`E;8k.=_8>o&vaj`E;8k.=_8>o&vaaO;x8q8Vrb-]rcaaO;x8q8Vrb-]rcaa@`78q8q_b-mh6aaG%/8q<pOb.'>[aaEAG8qBD(b.5-Faa@w38qES_b.CD3aaG%q8qF,Nb.S.taaKZ%8qHSbb.bAkaaJ4]8qMI4b.plDaaAdD8qQ1[b/*F.aa0>I8qQaeb/9D,a`xRW8qQOvb/HQAa`xRW8qQOvb/HQAaaO>38sdHZb)PS\aaO>38sdHZb)PS\aa:6V8saL6b)a;MaaL^28sbssb)qsGaaO+E8sf...
but the problem is how procedurals are used in gaffer, it assumes that there is a one to one relationship between a procedural and ginstance.
This relationship doesnt hold true for pgYetiArnold
you will get multiple curve nodes...and the bummer is that the visibility of the procedural is 0 which is good because you need to pair it up the a ginstance.
On Tuesday, February 20, 2018 at 5:10:55 AM UTC, Sam Hodge wrote:but the problem is how procedurals are used in gaffer, it assumes that there is a one to one relationship between a procedural and ginstance.
It's not necessarily one-to-one; if you have two identical copies of the same procedural in your scene, then you will get a single procedural and two ginstances. That's the reason we generate ginstances at all, to be able to more efficiently output scenes when there are duplicates...
On Tuesday, 20 February 2018 01:41:38 UTC-8, john haddon wrote:On Tuesday, February 20, 2018 at 5:10:55 AM UTC, Sam Hodge wrote:but the problem is how procedurals are used in gaffer, it assumes that there is a one to one relationship between a procedural and ginstance.
It's not necessarily one-to-one; if you have two identical copies of the same procedural in your scene, then you will get a single procedural and two ginstances. That's the reason we generate ginstances at all, to be able to more efficiently output scenes when there are duplicates...If I'm understanding Sam correctly, he's referring to us assuming that each procedural outputs a single node, which we can then ginstance.
If the Yeti procedural expands into many separate nodes, we would currently only ginstance one of them, right? That sounds like a problem.
I am sure it is a case of me misunderstanding something.
Sam
--
You received this message because you are subscribed to the Google Groups "gaffer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+...@googlegroups.com.
diff -ru gaffer-0.44.0.0/src/GafferArnold/ArnoldAttributes.cpp gaffer-0.44.0.0-orig/gaffer-0.44.0.0/src/GafferArnold/ArnoldAttributes.cpp--- gaffer-0.44.0.0/src/GafferArnold/ArnoldAttributes.cpp 2018-02-23 14:28:20.387979924 +1030+++ gaffer-0.44.0.0-orig/gaffer-0.44.0.0/src/GafferArnold/ArnoldAttributes.cpp 2018-02-15 09:07:11.000000000 +1030@@ -91,8 +91,6 @@ attributes->addOptionalMember( "ai:shape:step_size", new FloatPlug( "value", Plug::In, 0.0f, 0.0f ), "volumeStepSize", false ); attributes->addOptionalMember( "ai:shape:volume_padding", new FloatPlug( "value", Plug::In, 0.0f, 0.0f ), "volumePadding", false ); - //Yeti Hack- attributes->addOptionalMember( "ai:allowInstancing", new IECore::BoolData( true ), "allowInstancing", false );
diff -ru gaffer-0.44.0.0/src/GafferArnold/IECoreArnoldPreview/Renderer.cpp gaffer-0.44.0.0-orig/gaffer-0.44.0.0/src/GafferArnold/IECoreArnoldPreview/Renderer.cpp--- gaffer-0.44.0.0/src/GafferArnold/IECoreArnoldPreview/Renderer.cpp 2018-02-23 16:26:27.202067058 +1030+++ gaffer-0.44.0.0-orig/gaffer-0.44.0.0/src/GafferArnold/IECoreArnoldPreview/Renderer.cpp 2018-02-15 09:07:11.000000000 +1030@@ -50,7 +50,6 @@ #include "IECoreScene/Camera.h" #include "IECoreScene/CurvesPrimitive.h" #include "IECoreScene/ExternalProcedural.h"-#include "GafferScene/ExternalProcedural.h" #include "IECoreScene/MeshPrimitive.h" #include "IECoreScene/Shader.h" #include "IECoreScene/SpherePrimitive.h"@@ -670,7 +669,6 @@ IECore::InternedString g_linkedLights( "linkedLights" ); IECore::InternedString g_lightFilterPrefix( "ai:lightFilter:" ); -IECore::InternedString g_allowInstancing("ai:allowInstancing"); class ArnoldAttributes : public IECoreScenePreview::Renderer::AttributesInterface {@@ -1449,25 +1447,6 @@ } private :- template<typename T>- static const T *attribute( const IECore::InternedString &name, const IECore::CompoundObject *attributes )- {- IECore::CompoundObject::ObjectMap::const_iterator it = attributes->members().find( name );- if( it == attributes->members().end() )- {- return nullptr;- }- return reportedCast<const T>( it->second.get(), "attribute", name );- }-- template<typename T>- static T attributeValue( const IECore::InternedString &name, const IECore::CompoundObject *attributes, const T &defaultValue )- {- typedef IECore::TypedData<T> DataType;- const DataType *data = attribute<DataType>( name, attributes );- return data ? data->readable() : defaultValue;- }- bool canInstance( const IECore::Object *object, const ArnoldAttributes *attributes ) const {@@ -1480,23 +1459,6 @@ /// \todo Remove this workaround once the Arnold bug is fixed. return false; }- const IECore::TypeId objectType = object->typeId();- if( objectType == IECoreScene::ExternalProcedural::staticTypeId() )- {- /*- //const IECoreScene::ExternalProcedural *procedural = static_cast<const IECoreScene::ExternalProcedural *>( object );- if (!attributeValue<bool>( g_allowInstancing, attributes, true))- {- return false;- }- */- return false;- }- /*- if( IECore::runTimeCast<const GafferScene::ExternalProcedural>(object) && !attributeValue<bool>( g_allowInstancing, attributes, true ){- return false;- }- */ return attributes->canInstanceGeometry( object ); }
my test on Gaffer Windows 0.55.2.1-beta
arnold 5.4.0.0
yeti 3.5.3
ARNOLD_PLUGIN_PATH=D:\yeti_folder\bin
result not work possible bug gaffer windows ??
--
You received this message because you are subscribed to the Google Groups "gaffer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gaffer-dev/6e9e7eff-d05f-480d-bf98-4cffadea5d3c%40googlegroups.com.