cindigo 0.8 - beta 1

Announcements, requests and support regarding the Cinema 4D exporter
User avatar
Behrendt
Posts: 255
Joined: Wed Jun 28, 2006 8:30 pm
Location: Cologne, Germany
Contact:

Post by Behrendt » Mon May 14, 2007 5:30 am

Would this work with the map you provided in the scene? Because it doesn't work for me atm. :oops: Also tried blend values of 0 and 1.
Thanks for your work! Makes such a lot fun to play around with it! :)
edit:
f*ck, blend material in sample scene doesn't works either, sphere dissapears completely. but diffuse transmitter works fine. maybe a little overbrighted, compares to your screenshot.

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Post by fused » Mon May 14, 2007 5:46 am

must be a bug. ill check it

User avatar
Pinko5
Posts: 497
Joined: Mon Feb 19, 2007 8:15 pm
Location: Italy

Post by Pinko5 » Mon May 14, 2007 5:46 am

Tnx Fused great work!!!
Pinko.

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Post by fused » Mon May 14, 2007 5:53 am

@Behrendt:

it works fine for me. heres a sample scene (maybe you forgot the object tag?)
Attachments
alpha2.zip
(32.01 KiB) Downloaded 312 times

User avatar
Behrendt
Posts: 255
Joined: Wed Jun 28, 2006 8:30 pm
Location: Cologne, Germany
Contact:

Post by Behrendt » Mon May 14, 2007 5:58 am

fused wrote:@Behrendt:

it works fine for me. heres a sample scene (maybe you forgot the object tag?)
Oooops, yes I did. Thought you did this in sample scene. :oops:

User avatar
Camox
2nd Place Winner
Posts: 587
Joined: Sat Aug 05, 2006 5:28 am
Location: Berlin Germany
Contact:

Post by Camox » Mon May 14, 2007 6:40 am

Hi fused, thanks again for your hard work and your great exporter !

I have a mapping problem with the new exporters.

export with 0.75 and renderet with indigo_08.t3

Image

export with cindigo_0.8b1.3 and renderet with indigo_08.t3

Image

normal smoothing looks fine but textur mapping is not really working.

I read all tutorials but i cant finde the mistake, the result is ever the same.

greetz :wink:

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Post by fused » Mon May 14, 2007 6:45 am

only uvw-mapping is working. for now.

if you use uvw-mapping: can you send me the scene?

User avatar
Camox
2nd Place Winner
Posts: 587
Joined: Sat Aug 05, 2006 5:28 am
Location: Berlin Germany
Contact:

Post by Camox » Mon May 14, 2007 6:55 am

fused wrote:only uvw-mapping is working. for now.

if you use uvw-mapping: can you send me the scene?

Why you write that not in your exporter list ? That suckt really :?

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Post by fused » Mon May 14, 2007 6:58 am

sry, forgot that :oops:

im having a look at what the c4d sdk documentation says about that right now. will work on that

edit:

looks complicated :P

Code: Select all

case P_SPHERICAL: default:
      {
        Vector d = p * tdp->im;
        Real sq = Sqrt(d.x*d.x + d.z*d.z);
        if (sq==0.0)
        {
          uv->x = 0.0;
          if (d.y>0.0)
            uv->y = +0.5;
          else
            uv->y = -0.5;
        }
        else
        {
          uv->x = ACos(d.x/sq)/pi2;
          if (d.z<0.0) uv->x = 1.0-uv->x;
  
          uv->x -= tdp->ox;
          if (tdp->lenx>0.0 && uv->x<0.0)
            uv->x += 1.0;
          else if (tdp->lenx<0.0 && uv->x>0.0)
            uv->x -= 1.0;
          uv->x *= lenxinv;
          uv->y = ATan(d.y/sq)/pi;
        }
        uv->y = -(uv->y+tdp->oy)*lenyinv;
        break;
      }

User avatar
Camox
2nd Place Winner
Posts: 587
Joined: Sat Aug 05, 2006 5:28 am
Location: Berlin Germany
Contact:

Post by Camox » Mon May 14, 2007 7:03 am

lol, no problem. I think that mapping problem is my mistake and try and try. UVW mapping works fine. :wink:

User avatar
Camox
2nd Place Winner
Posts: 587
Joined: Sat Aug 05, 2006 5:28 am
Location: Berlin Germany
Contact:

Post by Camox » Mon May 14, 2007 7:09 am

fused wrote: looks complicated :P

Code: Select all

case P_SPHERICAL: default:
      {
        Vector d = p * tdp->im;
        Real sq = Sqrt(d.x*d.x + d.z*d.z);
        if (sq==0.0)
        {
          uv->x = 0.0;
          if (d.y>0.0)
            uv->y = +0.5;
          else
            uv->y = -0.5;
        }
        else
        {
          uv->x = ACos(d.x/sq)/pi2;
          if (d.z<0.0) uv->x = 1.0-uv->x;
  
          uv->x -= tdp->ox;
          if (tdp->lenx>0.0 && uv->x<0.0)
            uv->x += 1.0;
          else if (tdp->lenx<0.0 && uv->x>0.0)
            uv->x -= 1.0;
          uv->x *= lenxinv;
          uv->y = ATan(d.y/sq)/pi;
        }
        uv->y = -(uv->y+tdp->oy)*lenyinv;
        break;
      }


:shock: :shock:

thats not for me.

echo" 1+1=2" :roll:

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Post by Zom-B » Mon May 14, 2007 7:33 am

damn it, you have to be insane to understand this :twisted:
My HTML & ActionScript Skills can't harm this beast :wink:
polygonmanufaktur.de

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Mon May 14, 2007 8:43 am

why?
not really...
give me... 1 year, and I can tell you, what that means :P
no... I guess, a week (24h/day 7d) would be enough xD

User avatar
Marcofly
Posts: 407
Joined: Thu Jun 29, 2006 12:51 am
Location: Köln, Germany

Post by Marcofly » Mon May 14, 2007 9:52 am

the translation is: be happy that you can use "only" uvw mapping, instead of editing the .igs by hand every time :wink:

give fused time: he is giving his best..

Thanks again!!
Marco

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Post by fused » Mon May 14, 2007 7:10 pm

thats right, you should be happy with what im giving you :?

whatever.

i have strange arifacts on my renders (again) and i still dont know where they are coming from. does anybody of you have similar problems? its a phong material and normal_smoothin = false.

is this problem caused by my exporter or by indigo?
Attachments
artifacts.jpg
strange artifacts...
artifacts.jpg (259.79 KiB) Viewed 5726 times

Locked
170 posts

Who is online

Users browsing this forum: No registered users and 38 guests