help with world color and shadow only
-
CloudedVision
- Posts: 4
- Joined: Wed Mar 12, 2008 8:47 am
help with world color and shadow only
Well, this is my first post. *wipes sweat off brow*
I've been dabbling in modeling with Blender for a while, and I just downloaded Indigo and Blendigo last night. Some of the material properties I want Blendigo won't export to the indigo file, so I need some help editing the material XML of material file.
First, I want to set the background color (this is the world color in Blender, not sure if its the same in Indigo)
Secondly, I want a material that is completely transparent except for shadows.
How would I do these two things?
Thanks for your help
I've been dabbling in modeling with Blender for a while, and I just downloaded Indigo and Blendigo last night. Some of the material properties I want Blendigo won't export to the indigo file, so I need some help editing the material XML of material file.
First, I want to set the background color (this is the world color in Blender, not sure if its the same in Indigo)
Secondly, I want a material that is completely transparent except for shadows.
How would I do these two things?
Thanks for your help
For the background you can take this:
<background>
<spectrum>
<rgb>
<rgb>1 1 1</rgb>
<gamma>2.2</gamma>
</rgb>
</spectrum>
</background>
put it under <scene> (doesn't matter if before or after <renderer_settings> or <tonemapping> blocks)
For the shadows:
I believe shadows aren't explicitly programmed in Indigo, so you can't do that. Indigo is based on real world light transfer, and in real world no material can transfer light and at the same time can not (and do shadows that way).
<background>
<spectrum>
<rgb>
<rgb>1 1 1</rgb>
<gamma>2.2</gamma>
</rgb>
</spectrum>
</background>
put it under <scene> (doesn't matter if before or after <renderer_settings> or <tonemapping> blocks)
For the shadows:
I believe shadows aren't explicitly programmed in Indigo, so you can't do that. Indigo is based on real world light transfer, and in real world no material can transfer light and at the same time can not (and do shadows that way).
Yes, CloudedVision. It's important you shouldn't come to Indigo with the wrong expectations. It's not the renderer for stylised or fantasy images. Think of it as a highly advanced SLR camera. It achieves incredibly realistic images, but it's not very good at creating effects that don't exist in real life.
-
CloudedVision
- Posts: 4
- Joined: Wed Mar 12, 2008 8:47 am
Maybe you could get the result you aim for by playing with tonemapping!CloudedVision wrote:What I'm aiming for is a background thats perfectly white, but objects cast a shadow onto it. There must be a way to do that. If I just do a plane thats white, it gets the shadow, but its not perfectly white.
Any help?
Try using Violet for this...
polygonmanufaktur.de
-
CloudedVision
- Posts: 4
- Joined: Wed Mar 12, 2008 8:47 am
I just went without the shadow, and set the background color to white, like in alex22 post. I put it in the material XML file, but when i do and start the render Indigo gets a runtime error. Any reason why?
here's my XML:
here's my XML:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<scenedata>
<material>
<name>Default</name>
<diffuse>
<albedo_spectrum><rgb><rgb>1 1 1</rgb><gamma>2.2</gamma></rgb></albedo_spectrum>
</diffuse>
</material>
<material>
<name>null</name>
<null_material/>
</material>
<material>
<name>Material.001</name>
<phong>
<exponent>500</exponent>
<diffuse_albedo_spectrum>
<rgb>
<rgb>0.87 0.87 0.87</rgb>
<gamma>2.2</gamma>
</rgb>
</diffuse_albedo_spectrum>
<ior>1.60838</ior>
</phong>
</material>
<material>
<name>Material.003</name>
<phong>
<exponent>500</exponent>
<diffuse_albedo_spectrum>
<rgb>
<rgb>0 0.371 0.562</rgb>
<gamma>2.2</gamma>
</rgb>
</diffuse_albedo_spectrum>
<ior>1.60838</ior>
</phong>
</material>
<background>
<spectrum>
<rgb>
<rgb>1 1 1</rgb>
<gamma>2.2</gamma>
</rgb>
</spectrum>
</background>
</scenedata>
-
CloudedVision
- Posts: 4
- Joined: Wed Mar 12, 2008 8:47 am
Who is online
Users browsing this forum: No registered users and 27 guests
