Comments (4)
Can you see if this helps?
- Unzip the attached ZIP file
- Put rman_socket_utils.py in RenderManForBlender/rfb_utils
- Put rman_bl_nodes_sockets.py in RenderManForBlender/rman_bl_nodes
from rendermanforblender.
With this change, color inputs don't seem to work anymore. As shown in the screenshot in #691, the color inputs have become Blender colors (dark yellow) and I'm not able to do something as simple as create a PxrConstant shader and change the emitColor.
from rendermanforblender.
(Just copying what I wrote in #689 regarding this issue)
Unfortunately, this seems to be a limitation of Blender.
We're using a custom class for our node sockets. There doesn't seem to be any way to change the socket's type property when using a custom class. Custom node sockets all get set as 'VALUE' for its type. The group node seems to use this property to figure out what kind of socket it should add for its input/output. If you try to explicitly set the type property, the socket reverts back to the base NodeSocketFloat class, and we lose our custom properties.
We cannot use the base Blender node socket classes, because we want to be able to add our own properties, and override the draw methods for the class. The only thing I can think of that might fix this is to create our own custom group node, but that would be a significant change, and I'm not sure if that will fully solve this.
from rendermanforblender.
Gonna close this one. Blender 4.0 has made changes to the way sockets are created for group nodes, and this seems to work now as expected in my testing, after updating our code.
from rendermanforblender.
Related Issues (20)
- Black Texture HOT 2
- Unable to load Delayed RIB Archive to Blender after it is saved and loaded back in HOT 3
- Split view and Blender unresponsive upon dragging window border in Blender on XPU mode enabled viewport render. HOT 2
- Freezes if Renderman license in invalid HOT 3
- Crash when connecting RGB shader node output to Bxdf input HOT 8
- Cannot use PxrTexture resultRGB in PxrHSL HOT 1
- When starting IPR: "IndexError: bpy_prop_collection[index]: index 27800 out of range, size 2" HOT 3
- "IndexError: tuple index out of range" when disconnecting nodes HOT 1
- Object exports with another object's geometry HOT 4
- RfB allows and exports incorrect LamaLayer usage that crashes prman HOT 2
- Light filters have incorrect guides HOT 1
- I can't get Renderman to work in Blender 3.6.5 on linux (Red Hat). HOT 1
- Adding RenderMan lights does not respect cursor and collection HOT 2
- Hiding an empty also hides its children in IPR HOT 3
- Package Scene doesn't work if user has "assets" directory HOT 2
- Mac M2 via Rosetta possible? HOT 1
- Error when enabling RenderMan 25 plugin for Blender HOT 2
- Crashing in Rocky 9 HOT 4
- Can't install latest release in Blender 4.1 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rendermanforblender.