Indigo 0.7 test 5

General News and accouncements regarding the Indigo render engine
ludoman
Posts: 10
Joined: Wed Mar 14, 2007 2:11 am

Post by ludoman » Sat Mar 17, 2007 3:38 am

perhaps i could translate .obj format to indigo using the vertex tag like

<vertex pos="-10 -10 0" normal="0 0 1" uv0="0 0" />
but i don't how to color them without a material in the <triangle_set>
tag....
...

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Sat Mar 17, 2007 4:08 am

That would just re-define the mesh (mesh you already have in obj format). I have no idea how to get vertex colors to Indigo. Can't you bake them into texture bitmap or something?

Suvakas

ludoman
Posts: 10
Joined: Wed Mar 14, 2007 2:11 am

Post by ludoman » Sat Mar 17, 2007 4:24 am

I have tried with UVMapper to get a image BMP, but thats doesn't work.
IF you can tell me how to make this transformation, you are welcome.
My idea is to use both vertex painting and indigo material, but i really don't know how to do this.
Did you know other way than UVMapper to do such thing ?

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Sat Mar 17, 2007 9:44 am

How big is the object ? I think Maya can bake vertex colors to map, I'm sure it can bake GI to map and vertex but vertex to map may be possible. I've got to check that.

For now I'm almost certain Indigo can't manage vertex colors.

ludoman
Posts: 10
Joined: Wed Mar 14, 2007 2:11 am

Post by ludoman » Sat Mar 24, 2007 2:40 am

hi,
i have find my wavefront object problem. A stupid one. In fact, the sofware which i use to export/create the obj was wrong. Namely the software use the vt fields to save the rgb value of each vertex....I have contacted the developer, and they soon correct their programms to produce mtl material...then i could plenty include it in indigo scene...Anyway thanks for the help everyone!

jans_bds
Posts: 7
Joined: Thu Feb 22, 2007 4:33 am

Post by jans_bds » Wed Mar 28, 2007 3:33 am

I had a problem on a scene in which I wanted to import texture in png format in 2 blend material
The first texture get through but second crashed with "SceneLoaderExecp.Fail to load texture '..\..\xxxx.png' in 'albedo_texture'

In jpg format, there is no problem... but does jpg is good for blend map between a diffuse material with albedo texture and a null material in order to have "transparency"?

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

Post by Kram1032 » Wed Mar 28, 2007 5:30 am

What's the difference?
It's just the type of compression, as far, as I know, and if the compression-factor isn't too high, JPEg has quite a good quality.

BMP is bad, 'cuase it's much too big.

I just guess here though ;)

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Wed Mar 28, 2007 6:51 am

Png is a sensible format, it can describe more than just an image, adding meta-data to them. In fact png is just a container for any kind of data, it has even been used to host system-hazardous mechanisms by some schlächt persons. afaik there is no risk with Indigo :)

But depending wich software you use to creat/write png's, it puts more or less metdata to them and in some cases Indigo can't read them. Using jpg ensures Indigo will read them in all cases (if the pixel format is correct for Indigo=RGB I think), I think png's created with Gimp for instance can't be read by Indigo (I'm not sure).

mrCarnivore
Posts: 517
Joined: Sun Mar 04, 2007 6:20 am
Location: Stuttgart, Germany

Post by mrCarnivore » Wed Mar 28, 2007 8:06 pm

The biggest difference between png and jpg is that png is lossless and jpg is not. Metadata can also be added to jpg images (see EXIF)

That's why jpg is much smaller even at low compression rates than png with compression turned on. jpg just throws away some of the data that is very hard to notice. At high jpg compression rates (= low quality settings) you see the effect the jpg-compression has: it divides the image into squares and then compresses those sqare parts by throwing away some not so important data. At low compression rates the effect is exactly the same, it's just not that noticable. Even at quality 100% or 12 or whatever the highest setting in your application is, jpg is not lossless!

However, there is also a lossless jpg format that uses a completely different approach to compression but that is not in widespread use.

jans_bds
Posts: 7
Joined: Thu Feb 22, 2007 4:33 am

Post by jans_bds » Wed Mar 28, 2007 8:14 pm

Png doesn't keep alpha channel?
I've had this error while trying Ivy generator and applying textures included. The png files have transparent background...

mrCarnivore
Posts: 517
Joined: Sun Mar 04, 2007 6:20 am
Location: Stuttgart, Germany

Post by mrCarnivore » Wed Mar 28, 2007 8:27 pm

Afaik indigo does not use the alpha-channel. You have to generate a blend-map from the leaf (white where the leaf is, black where the texture should be transparent) and then blend that material with the "null"-material to get transparency.

Look at this thread for help:
http://www2.indigorenderer.com/joomla/f ... php?t=1225

jans_bds
Posts: 7
Joined: Thu Feb 22, 2007 4:33 am

Post by jans_bds » Wed Mar 28, 2007 8:31 pm

mrCarnivore wrote:Afaik indigo does not use the alpha-channel. You have to generate a blend-map from the leaf (white where the leaf is, black where the texture should be transparent) and then blend that material with the "null"-material to get transparency.

Look at this thread for help:
http://www2.indigorenderer.com/joomla/f ... php?t=1225
sure that's not the opposite? 8)

mrCarnivore
Posts: 517
Joined: Sun Mar 04, 2007 6:20 am
Location: Stuttgart, Germany

Post by mrCarnivore » Wed Mar 28, 2007 8:34 pm

jans_bds wrote:sure that's not the opposite? 8)
Why did I know that that post would be coming?

Actually it doesn't matter which part is black and which is white. You just have to change the order of the materials in the blend material accordingly... :P

Post Reply
88 posts

Who is online

Users browsing this forum: No registered users and 196 guests