sd2-accc mix material when convert ac to acc

Use this forum to report bugs or ask for help

Moderator: kilo

sd2-accc mix material when convert ac to acc

Postby nonobecane » Sun Feb 08, 2015 4:34 pm

Hi,

Maybe it's a bug of sd2-accc or of stripe.

When i convert a car in ac format with multiple material they are not in the right order on the acc format.

extract of the car.ac
Code: Select all
AC3Db
MATERIAL "DefaultWhite" rgb 1.0000 1.0000 1.0000  amb 0.2000 0.2000 0.2000  emis 0.0000 0.0000 0.0000  spec 0.5000 0.5000 0.5000  shi 10 trans 0.0000
MATERIAL "interieur" rgb 1.0000 1.0000 1.0000  amb 0.2000 0.2000 0.2000  emis 0.1000 0.1000 0.1000  spec 0.0000 0.0000 0.0000  shi 1 trans 0.0000
MATERIAL "chrome" rgb 1.0000 1.0000 1.0000  amb 1.0000 1.0000 1.0000  emis 0.0000 0.0000 0.0000  spec 1.0000 1.0000 1.0000  shi 128 trans 0.0000
MATERIAL "body" rgb 1.0000 1.0000 1.0000  amb 0.2000 0.2000 0.2000  emis 0.0000 0.0000 0.0000  spec 0.5000 0.5000 0.5000  shi 32 trans 1.0000
OBJECT world
......

after
Code: Select all
/usr/local/games/sd2-accc +es 20 ./car.ac ./car.acc

extract of the car.acc
Code: Select all
AC3Db
MATERIAL "body" rgb 1.00 1.00 1.00 amb 0.20 0.20 0.20 emis 0.00 0.00 0.00 spec 0.50 0.50 0.50 shi 32 trans 0
MATERIAL "chrome" rgb 1.00 1.00 1.00 amb 1.00 1.00 1.00 emis 0.00 0.00 0.00 spec 1.00 1.00 1.00 shi 128 trans 0
MATERIAL "interieur" rgb 1.00 1.00 1.00 amb 0.20 0.20 0.20 emis 0.10 0.10 0.10 spec 0.00 0.00 0.00 shi 1 trans 0
MATERIAL "DefaultWhite" rgb 1.00 1.00 1.00 amb 0.20 0.20 0.20 emis 0.00 0.00 0.00 spec 0.50 0.50 0.50 shi 10 trans 0
OBJECT world
...

Material are mix

I must reorganize manually the material
Image SD2 svn / Debian Sid 64 / 1920x1080 on GTX580 / Logitech G25
nonobecane
 
Posts: 29
Joined: Sat Jan 04, 2014 10:20 am
Location: France

Return to Problems, Fixes & Help

Who is online

Users browsing this forum: No registered users and 3 guests

cron