Hi Aoktar,
not sure if anyone reported a bug
with function "remove unused materials"
example:
create mix material and place two other materials inside MIX
right after applying "remove unused materials"
all materials inside MIX material are gone
strange behaviour
I'm using latest 0.87b.
thanks,
Testing Beta 0.87b (SDK 1.20) **updated 04.10**
Moderators: ChrisHekman, aoktar
- krzychuc4d
- Posts: 79
- Joined: Sun Jan 24, 2010 9:52 pm
- Contact:
---
http://www.3structures.com
https://www.facebook.com/3structures
Ryzen 7 2700X / 32GB RAM / RTX 4070 @Win10 64Bit
http://www.3structures.com
https://www.facebook.com/3structures
Ryzen 7 2700X / 32GB RAM / RTX 4070 @Win10 64Bit
This is a pretty well known issue. Bottom line is, i don't think C4D can understand the mix material. It sees that the mix material is applied, but then assumes the materials inside the mix material are not being used because they are not specifically applied to any objects. I have managed to deal with this by being very particular with assigning materials different layers to keep track of them.krzychuc4d wrote:Hi Aoktar,
not sure if anyone reported a bug
with function "remove unused materials"
example:
create mix material and place two other materials inside MIX
right after applying "remove unused materials"
all materials inside MIX material are gone
strange behaviour
I'm using latest 0.87b.
thanks,
1 Dell Z840 with 2x Titan XP's
2 Digital Storm Hailstorm/Win8/32GB/EVGA Titan x4
2 Server blades with 4 Tesla K80's
2 Digital Storm Hailstorm/Win8/32GB/EVGA Titan x4
2 Server blades with 4 Tesla K80's
- shawnfrueh
- Posts: 157
- Joined: Thu Jan 31, 2013 10:29 pm
Hi Aoktar, I have a quick question. I'm using python to try and get/place the image texture into an OctaneSky.
Using a python tag I can get up to the imageTexture using this code:
def main():
pass #put in your code here
tex = op.GetObject().GetFirstTag()
print tex[c4d.ENVIRONMENTTAG_TEXTURE]
How can I get further/ Caqn this be implimented to get with python and or use all inputs as ports in Xpresso?
Thanks,
-Shawn
Using a python tag I can get up to the imageTexture using this code:
def main():
pass #put in your code here
tex = op.GetObject().GetFirstTag()
print tex[c4d.ENVIRONMENTTAG_TEXTURE]
How can I get further/ Caqn this be implimented to get with python and or use all inputs as ports in Xpresso?
Thanks,
-Shawn
do you want to acces texture parameters? You can drop the texture slot to xpresso, but filename is not accesable with xpresso.shawnfrueh wrote:Hi Aoktar, I have a quick question. I'm using python to try and get/place the image texture into an OctaneSky.
Using a python tag I can get up to the imageTexture using this code:
def main():
pass #put in your code here
tex = op.GetObject().GetFirstTag()
print tex[c4d.ENVIRONMENTTAG_TEXTURE]
How can I get further/ Caqn this be implimented to get with python and or use all inputs as ports in Xpresso?
Thanks,
-Shawn
This code will show all any parameters with a different way
Code: Select all
import c4d
OCTANE_ENVIRONMENT_TAG = 1029643
def main():
tag = op.GetObject().GetFirstTag()
while tag:
if tag.GetType()==1029643:
tex = tag[c4d.ENVIRONMENTTAG_TEXTURE]
print tex[c4d.IMAGETEXTURE_FILE]
print tex[c4d.IMAGETEXTURE_POWER]
print tex[c4d.IMAGETEXTURE_GAMMA]
print tex[c4d.IMAGETEXTURE_SCALE]
print tex[c4d.IMAGETEXTURE_INVERT]
print tex[c4d.IMAGETEXTURE_MODE]
print tex[c4d.IMAGETEXTURE_SCALEX]
tag = tag.GetNext()
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
- shawnfrueh
- Posts: 157
- Joined: Thu Jan 31, 2013 10:29 pm
Thanks aoktar that gave me what I was looking for! I needed a way to dynamically change the texture file that the Environment tag uses.
no body any idea to set up a refraction index? ...i have to simulate water in closeup - need to setup refraction- index of 1.333
ahmet - whre is this paremeter hidden in mat-setup??
ahmet - whre is this paremeter hidden in mat-setup??
what about specular material->index?kirbyzz wrote:no body any idea to set up a refraction index? ...i have to simulate water in closeup - need to setup refraction- index of 1.333
ahmet - whre is this paremeter hidden in mat-setup??
Octane For Cinema 4D developer / 3d generalist
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
that´s it thanx...rigth specular matrial index works...
thanx
fabian
thanx
fabian