GithubHelp home page GithubHelp logo

Shader export is a mess about daztoc4d HOT 2 OPEN

daz3d avatar daz3d commented on June 3, 2024
Shader export is a mess

from daztoc4d.

Comments (2)

brucek5 avatar brucek5 commented on June 3, 2024

Hi axnathon,
As a user of the Cinema Bridge, I too noticed material creation issues not only with props but also with characters with different types of geoshells.

This last Bridge update was pretty major with a lot a great features, but must have impacted the material conversion. I'm sure they'll figure it out.

Below is what I captured in my Python log while trying to convert materials to Redshift (I replaced the R21_XXXXXX for this posting):

Traceback (most recent call last):
File "C:\Users\brucek5\AppData\Roaming\Maxon\Maxon Cinema 4D R21_XXXXXX\plugins\DazToC4D\lib\DtC4DGuiImportDaz.py", line 396, in Command
rs_mat.execute()
File "C:\Users\brucek5\AppData\Roaming\Maxon\Maxon Cinema 4D R21_XXXXXX\plugins\DazToC4D\lib\RedshfitMaterials.py", line 71, in execute
self.make_rsmat(mat, prop)
File "C:\Users\brucek5\AppData\Roaming\Maxon\Maxon Cinema 4D R21_XXXXXX\plugins\DazToC4D\lib\RedshfitMaterials.py", line 320, in make_rsmat
self.set_up_diffuse(prop, rs_material, rs)
File "C:\Users\brucek5\AppData\Roaming\Maxon\Maxon Cinema 4D R21_XXXXXX\plugins\DazToC4D\lib\RedshfitMaterials.py", line 139, in set_up_diffuse
self.set_gamma(texture_node, "sRGB")
File "C:\Users\brucek5\AppData\Roaming\Maxon\Maxon Cinema 4D R21_XXXXXX\plugins\DazToC4D\lib\RedshfitMaterials.py", line 93, in set_gamma
texture[c4d.REDSHIFT_SHADER_TEXTURESAMPLER_TEX0_GAMMAOVERRIDE] = True
AttributeError: 'module' object has no attribute 'REDSHIFT_SHADER_TEXTURESAMPLER_TEX0_GAMMAOVERRIDE'

from daztoc4d.

xanathon avatar xanathon commented on June 3, 2024

That is not a problem in the latest version, it already was there from the first release of this third developer team trying their hands on this.

The missing texture mapping is not only a Redshift problem, it also does not work with standard C4D materials.

I have no idea how something like this can even be release in this buggy state.

from daztoc4d.

Related Issues (20)

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.